|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.meta.prop.JDOField
A class to hold the properties of a field.
Field Summary | |
private java.lang.String |
annotationType
The annotation type. |
private java.lang.String |
jdoModifier
The JDO modifier of the field. |
private int |
modifiers
The access modifier of the field. |
private java.lang.String |
name
The name of the field. |
private java.lang.String |
type
The type of the field. |
Constructor Summary | |
(package private) |
JDOField(java.lang.String name)
Creates a new object with the given name. |
Method Summary | |
int |
getModifiers()
Returns the modifiers of the field. |
java.lang.String |
getName()
Returns the name of the field. |
java.lang.String |
getType()
Returns the type of the field. |
boolean |
isAnnotated()
Returns whether the field is annotated. |
boolean |
isInDefaultFetchGroup()
Is the field in the default fetch group? |
boolean |
isKey()
Returns whether the field is a key primary. |
boolean |
isKnownTransient()
Returns whether the field is declared transient. |
boolean |
isManaged()
Returns whether the field is managed. |
boolean |
isPersistent()
Returns whether the field is persistent. |
boolean |
isTransactional()
Returns whether the field is transactional. |
void |
setAnnotationType(java.lang.String annotationType)
Sets the annotation type of the field. |
void |
setJdoModifier(java.lang.String jdoModifier)
Sets the modifiers of the field. |
void |
setModifiers(int modifiers)
Returns the modifiers of the field. |
void |
setType(java.lang.String type)
Sets the type of the field. |
java.lang.String |
toString()
Creates a string-representation of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.String name
private java.lang.String type
private int modifiers
private java.lang.String jdoModifier
private java.lang.String annotationType
Constructor Detail |
JDOField(java.lang.String name)
name
- The name of the field.Method Detail |
public java.lang.String getName()
public void setType(java.lang.String type)
type
- The natural classname.public java.lang.String getType()
public void setModifiers(int modifiers)
modifiers
- The modifiers of the field.public int getModifiers()
public void setAnnotationType(java.lang.String annotationType)
annotationType
- annotation typepublic boolean isAnnotated()
public boolean isKey()
public boolean isInDefaultFetchGroup()
public void setJdoModifier(java.lang.String jdoModifier)
jdoModifier
- the persistence modifier of the fieldpublic boolean isKnownTransient()
setJdoModifier(java.lang.String)
public boolean isPersistent()
setJdoModifier(java.lang.String)
public boolean isTransactional()
setJdoModifier(java.lang.String)
public boolean isManaged()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |