Class ParameterValueFactory
java.lang.Object
cz.cvut.kbss.jopa.query.parameter.ParameterValueFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns new parameter value specification.Returns new String parameter value specification.createUntyped(Object value) Returns new untyped parameter value specification.createVariableValue(Integer position) Returns a new variable parameter specification.createVariableValue(String name) Returns a new variable parameter specification.
- 
Constructor Details- 
ParameterValueFactory
 
- 
- 
Method Details- 
createVariableValueReturns a new variable parameter specification.This is the default implementation, if a parameter is not set, a variable is used in the query to represent an unbound parameter. - Parameters:
- name- Parameter (variable) name
- Returns:
- Parameter value object
 
- 
createVariableValueReturns a new variable parameter specification.This is the default implementation, if a parameter is not set, a variable is used in the query to represent an unbound parameter. - Parameters:
- position- Parameter (variable) position
- Returns:
- Parameter value object
 
- 
createReturns new String parameter value specification.The language tag is optional. - Parameters:
- value- The value
- language- Language tag of the value, e.g. en, cz. Optional
- Returns:
- Parameter value object
 
- 
createReturns new parameter value specification.- Parameters:
- value- The value
- Returns:
- Parameter value object
 
- 
createUntypedReturns new untyped parameter value specification.- Parameters:
- value- The value
- Returns:
- Parameter value object
 
 
-