|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.ethz.mxquery.functions.FunctionSignature
public class FunctionSignature
Holds information on the signature (Name, parameters, classification) of an XQuery function
Field Summary | |
---|---|
static int |
EXTERNAL_FUNCTION
|
static int |
SYSTEM_FUNCTION
|
static int |
USER_DEFINED_FUNCTION
|
Constructor Summary | |
---|---|
FunctionSignature(QName qname,
TypeInfo[] parameterType,
int type,
int exprType,
boolean nondeterministic)
|
Method Summary | |
---|---|
FunctionSignature |
copy()
|
boolean |
equals(java.lang.Object obj)
Checks the equality of Function Signatures. |
int |
getArity()
Returns the number of parameters (=arity) of this function |
int |
getExpressionCategory()
What is the expression type of this function (as in XQUF, XQSF): SIMPLE, UPDATING, SCRIPTING, VACUOUS |
QName |
getName()
Returns the name of this function as qualified QName |
TypeInfo[] |
getParameterTypes()
Returns the type information for each of the parameters |
int |
hashCode()
Computes the hash code of a Function Signature Only the name and number of parameters are considered, since the type of parameters is irrelevant |
boolean |
isNonDeterministic()
Is this a deterministic or non-deterministic functions (as defined in XQuery 1.1) |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SYSTEM_FUNCTION
public static final int USER_DEFINED_FUNCTION
public static final int EXTERNAL_FUNCTION
Constructor Detail |
---|
public FunctionSignature(QName qname, TypeInfo[] parameterType, int type, int exprType, boolean nondeterministic)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public QName getName()
public int getArity()
public TypeInfo[] getParameterTypes()
public int getExpressionCategory()
public boolean isNonDeterministic()
public FunctionSignature copy()
|
MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |