com.triactive.jdo.model
Class FieldMetaData
java.lang.Object
com.triactive.jdo.model.MetaData
com.triactive.jdo.model.FieldMetaData
- All Implemented Interfaces:
- ColumnOptions, java.lang.Comparable
- public class FieldMetaData
- extends MetaData
- implements java.lang.Comparable, ColumnOptions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PERSISTENCE_MODIFIER_NONE
public static final int PERSISTENCE_MODIFIER_NONE
- See Also:
- Constant Field Values
PERSISTENCE_MODIFIER_PERSISTENT
public static final int PERSISTENCE_MODIFIER_PERSISTENT
- See Also:
- Constant Field Values
PERSISTENCE_MODIFIER_TRANSACTIONAL
public static final int PERSISTENCE_MODIFIER_TRANSACTIONAL
- See Also:
- Constant Field Values
NULL_VALUE_NONE
public static final int NULL_VALUE_NONE
- See Also:
- Constant Field Values
NULL_VALUE_DEFAULT
public static final int NULL_VALUE_DEFAULT
- See Also:
- Constant Field Values
NULL_VALUE_EXCEPTION
public static final int NULL_VALUE_EXCEPTION
- See Also:
- Constant Field Values
owner
protected final ClassMetaData owner
field
protected final java.lang.reflect.Field field
type
protected final java.lang.Class type
embedded
protected final boolean embedded
persistenceModifier
protected final int persistenceModifier
primaryKey
protected final boolean primaryKey
nullValue
protected final int nullValue
defaultFetchGroup
protected boolean defaultFetchGroup
arrayMetaData
protected final ArrayMetaData arrayMetaData
collectionMetaData
protected final CollectionMetaData collectionMetaData
mapMetaData
protected final MapMetaData mapMetaData
FieldMetaData
public FieldMetaData(ClassMetaData owner,
org.w3c.dom.Element fldElement)
FieldMetaData
public FieldMetaData(ClassMetaData owner,
java.lang.reflect.Field field)
forField
public static FieldMetaData forField(java.lang.Class clazz,
java.lang.String fieldName)
getType
public java.lang.Class getType()
isEmbedded
public boolean isEmbedded()
getJavaName
public java.lang.String getJavaName()
- Specified by:
getJavaName
in class MetaData
getClassMetaData
public ClassMetaData getClassMetaData()
getName
public java.lang.String getName()
getField
public java.lang.reflect.Field getField()
getPersistenceModifier
public int getPersistenceModifier()
isPrimaryKeyPart
public boolean isPrimaryKeyPart()
getNullValueHandling
public int getNullValueHandling()
isInDefaultFetchGroup
public boolean isInDefaultFetchGroup()
setDefaultFetchGroup
public void setDefaultFetchGroup(boolean defaultFetchGroup)
getLength
public java.lang.String getLength()
- Specified by:
getLength
in interface ColumnOptions
getPrecision
public java.lang.String getPrecision()
- Specified by:
getPrecision
in interface ColumnOptions
getScale
public java.lang.String getScale()
- Specified by:
getScale
in interface ColumnOptions
getArrayMetaData
public ArrayMetaData getArrayMetaData()
getCollectionMetaData
public CollectionMetaData getCollectionMetaData()
getMapMetaData
public MapMetaData getMapMetaData()
getOwnedByCollection
public FieldMetaData getOwnedByCollection()
getOwnedByMap
public FieldMetaData getOwnedByMap()
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
Copyright © 2001-2007 The TJDO Project All Rights Reserved.