|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectOperatorImpl
FunctionNameImpl
public class FunctionNameImpl
Implementation of the FunctionName interface.
Constructor Summary | |
---|---|
FunctionNameImpl(FunctionName copy)
|
|
FunctionNameImpl(Name name,
Class returnType,
Parameter<?>... arguments)
|
|
FunctionNameImpl(Name name,
int argumentCount)
|
|
FunctionNameImpl(Name name,
int argumentCount,
List<String> argumentsNames)
|
|
FunctionNameImpl(Name name,
int argumentCount,
String... argumentsNames)
|
|
FunctionNameImpl(Name name,
List<String> argumentsNames)
|
|
FunctionNameImpl(Name name,
Parameter<?> retern,
List<Parameter<?>> arguments)
|
|
FunctionNameImpl(Name name,
Parameter<?> retern,
Parameter<?>... arguments)
|
|
FunctionNameImpl(Name name,
String... argumentsNames)
|
|
FunctionNameImpl(String name,
Class returnType,
Parameter<?>... arguments)
|
|
FunctionNameImpl(String name,
int argumentCount)
|
|
FunctionNameImpl(String name,
int argumentCount,
List<String> argumentsNames)
|
|
FunctionNameImpl(String name,
int argumentCount,
String... argumentsNames)
|
|
FunctionNameImpl(String name,
List<String> argumentsNames)
|
|
FunctionNameImpl(String name,
Parameter<?> retern,
List<Parameter<?>> arguments)
|
|
FunctionNameImpl(String name,
Parameter<?> retern,
Parameter<?>... arguments)
|
|
FunctionNameImpl(String name,
String... argumentsNames)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Equals should be implemented simply in terms of getName() |
int |
getArgumentCount()
Number of arguments the function accepts. |
List<String> |
getArgumentNames()
Optional ArgumentNames. |
List<Parameter<?>> |
getArguments()
Arguments for the function accepts. |
Name |
getFunctionName()
The qualified name of the function. |
String |
getName()
Name of supported Operator. |
Parameter<?> |
getReturn()
Return type of the function. |
int |
hashCode()
HashCode should be implemented simply in terms of getName(). |
static Parameter<?> |
parameter(String name,
Class type)
|
static Parameter<?> |
parameter(String name,
Class type,
int min,
int max)
|
Methods inherited from class OperatorImpl |
---|
setName, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionNameImpl(String name, int argumentCount)
public FunctionNameImpl(Name name, int argumentCount)
public FunctionNameImpl(String name, String... argumentsNames)
public FunctionNameImpl(Name name, String... argumentsNames)
public FunctionNameImpl(String name, List<String> argumentsNames)
public FunctionNameImpl(Name name, List<String> argumentsNames)
public FunctionNameImpl(String name, int argumentCount, List<String> argumentsNames)
public FunctionNameImpl(Name name, int argumentCount, List<String> argumentsNames)
public FunctionNameImpl(String name, int argumentCount, String... argumentsNames)
public FunctionNameImpl(Name name, int argumentCount, String... argumentsNames)
public FunctionNameImpl(FunctionName copy)
public FunctionNameImpl(String name, Class returnType, Parameter<?>... arguments)
public FunctionNameImpl(Name name, Class returnType, Parameter<?>... arguments)
public FunctionNameImpl(String name, Parameter<?> retern, Parameter<?>... arguments)
public FunctionNameImpl(Name name, Parameter<?> retern, Parameter<?>... arguments)
public FunctionNameImpl(String name, Parameter<?> retern, List<Parameter<?>> arguments)
public FunctionNameImpl(Name name, Parameter<?> retern, List<Parameter<?>> arguments)
Method Detail |
---|
public Name getFunctionName()
FunctionName
Client code should this method over Operator.getName()
to handle qualified names.
getFunctionName
in interface FunctionName
public String getName()
Operator
Each filter subclass has an associated name (such as BBOX or EqualsTo), you can use this name to determine if a matching Operator is defined as part of FilterCapabilities.
getName
in interface Operator
getName
in class OperatorImpl
public int getArgumentCount()
FunctionName
<xsd:attribute name="nArgs" type="xsd:string" use="required"/>
This value is derived from FunctionName.getArguments()
getArgumentCount
in interface FunctionName
public List<Parameter<?>> getArguments()
FunctionName
getArguments
in interface FunctionName
public Parameter<?> getReturn()
FunctionName
getReturn
in interface FunctionName
public int hashCode()
Operator
hashCode
in interface Operator
hashCode
in class OperatorImpl
public boolean equals(Object obj)
Operator
equals
in interface Operator
equals
in class OperatorImpl
public List<String> getArgumentNames()
This is a fixed length list the same size as getArgumentCount().
getArgumentNames
in interface FunctionName
public static Parameter<?> parameter(String name, Class type)
public static Parameter<?> parameter(String name, Class type, int min, int max)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |