Class PParameter
java.lang.Object
tools.refinery.interpreter.matchers.psystem.queries.PParameter
A descriptor for declared PQuery parameters. A parameter has a name, a declared type and a direction constraint
-
Constructor Summary
ConstructorsConstructorDescriptionPParameter
(String name) PParameter
(String name, String typeName) PParameter
(String name, String typeName, IInputKey declaredUnaryType) PParameter
(String name, String typeName, IInputKey declaredUnaryType, PParameterDirection direction) -
Method Summary
-
Constructor Details
-
PParameter
-
PParameter
-
PParameter
-
PParameter
public PParameter(String name, String typeName, IInputKey declaredUnaryType, PParameterDirection direction) - Since:
- 1.4
-
-
Method Details
-
getDirection
- Returns:
- the direction
- Since:
- 1.4
-
getName
- Returns:
- the name of the parameter
-
getTypeName
Returns a textual representation of the declared type of the parameter- Returns:
- the type description, or null if not available
-
getDeclaredUnaryType
Yield anIInputKey
representation of the type declared for this parameter.- Returns:
- the unary type that was declared on this parameter in the query header, or null if not available
-
equals
-
hashCode
public int hashCode()
-