FileDocCategorySizeDatePackage
ConstraintValue.javaAPI DocGlassfish v2 API2921Fri May 04 22:35:14 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint

ConstraintValue

public class ConstraintValue extends ConstraintNode

Fields Summary
private Object
value
private com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDesc
localField
The local field to which this value constraint is bound. Please note that we have this information only for constraints that corresponds to simple expressions ( like ) in query filter. Do not rely on this information to be always present for any optimizations.
Constructors Summary
public ConstraintValue(Object value, com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDesc localField)

        super();

        this.value = value;
        this.localField = localField;
    
Methods Summary
public com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDescgetLocalField()

        return localField;
    
public java.lang.ObjectgetValue()

        return value;