FileDocCategorySizeDatePackage
ParameterInfo.javaAPI DocGlassfish v2 API3556Fri May 04 22:35:20 BST 2007com.sun.jdo.spi.persistence.utility

ParameterInfo

public class ParameterInfo extends Object

Fields Summary
private final int
index
Parameter index. The index corresponds to JDO QL parameters.
private final int
type
Parameter type. See FieldTypeEnumeration for possible values.
private final String
associatedField
Associated field to a parameter for runtime processing. This is defined if and only if the corresponding subfilter is of the form: field [relational op] _jdoParam or _jdoParam [relational op] field Otherwise, this is null.
Constructors Summary
public ParameterInfo(int index, int type)
Constructor

        this(index, type, null);
    
public ParameterInfo(int index, int type, String associatedField)
Constructs a new ParameterInfo with the specified index, type and associatedField.

param
index
param
type
param
associatedField

        this.index = index;
        this.type = type;
        this.associatedField = associatedField;
    
Methods Summary
public java.lang.StringgetAssociatedField()

returns
the associated field.

        return associatedField;
    
public intgetIndex()
Returns the parameter index.

        return index;
    
public intgetType()
Returns the parameter type. See FieldTypeEnumeration for possible values.

        return type;