Class ConstraintParamIndex
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintNode
-
- com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintValue
-
- com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintParamIndex
-
public class ConstraintParamIndex extends ConstraintValue
Constraint which represent an index of a query parameter. This index is put to the stack and used to bind the real value of the parameter to the query.
-
-
Field Summary
-
Fields inherited from class com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintNode
PROP_FALSE, PROP_TRUE, PROP_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description ConstraintParamIndex(int index, int enumType, LocalFieldDesc localField)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getIndex()
int
getType()
Get type of this parameter.-
Methods inherited from class com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintValue
getLocalField, getValue
-
Methods inherited from class com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.ConstraintNode
hasProperty
-
-
-
-
Constructor Detail
-
ConstraintParamIndex
public ConstraintParamIndex(int index, int enumType, LocalFieldDesc localField)
Constructor.- Parameters:
index
- parameter indexenumType
- type of this parameterlocalField
- the localField to which this parameter is bound.
-
-
Method Detail
-
getType
public int getType()
Get type of this parameter.
-
getIndex
public Integer getIndex()
-
-