FileDocCategorySizeDatePackage
Field.javaAPI DocGlassfish v2 API3261Fri May 04 22:35:08 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope

Field

public class Field extends Definition
An object of class Field is used if an identifier denotes a field.
author
Michael Bouschen
version
0.1

Fields Summary
protected com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.FieldInfo
fieldInfo
The corresponding field info.
Constructors Summary
public Field(com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.FieldInfo fieldInfo)

        super(fieldInfo.getType());
        this.fieldInfo = fieldInfo;
    
Methods Summary
public com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.FieldInfogetFieldInfo()
Returns the corresponding field info.

        return fieldInfo;
    
public java.lang.StringgetName()

		return I18NHelper.getMessage(messages, "scope.field.getname.name"); //NOI18N
	
public java.lang.StringtoString()

        StringBuffer buf = new StringBuffer();
        buf.append("Field("); //NOI18N
        buf.append(scope);
        buf.append(", "); //NOI18N
        buf.append(type);
        buf.append(")"); //NOI18N
        return buf.toString();