|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.metadata.SpeedoElement
org.objectweb.speedo.metadata.SpeedoField
This class corresponds to the description of persistent capable fields.
Field Summary | |
---|---|
int |
access
modifier of the field (public | protected | private) |
boolean |
defaultFetchGroup
This boolean indicates if the field is in the default fetch group. |
int |
depth
Recursive fetchgroups are controlled by the depth attribute. |
java.lang.String |
desc
Type of the persistent field |
boolean |
embedded
Attribute embedded of the XML file. |
java.lang.String |
fetchGroup
|
SpeedoClass |
jdoClass
Description of the class containing the field. |
SpeedoTuple |
jdoTuple
Type of the tuple represented by this SpeedoField if it is a tuple |
static byte |
MANY_MANY_RELATION
|
static byte |
MANY_ONE_RELATION
|
java.lang.String |
name
name of the persistent field |
static byte |
NO_RELATION
|
byte |
nullValue
Attribute null-value in the XML file. |
int |
number
is the index of the persistent field. |
static byte |
ONE_MANY_RELATION
|
static byte |
ONE_ONE_RELATION
|
byte |
persistenceModifier
Attribute persistence-modifier in the XML file. |
boolean |
primaryKey
Boolean indicating if the field is a primary key. |
byte |
relationType
Type of the relation containinig the persistent field |
java.lang.String |
sequence
Attribute sequence |
java.lang.String |
valueStrategy
Attribute value-strategy |
Fields inherited from class org.objectweb.speedo.metadata.SpeedoElement |
---|
jdoExtension |
Constructor Summary | |
---|---|
SpeedoField()
|
Method Summary | |
---|---|
java.lang.String |
modifier()
Returns the field's modifier |
java.lang.String |
privateSignature()
Returns the field's signature with a private modifier. |
java.lang.String |
publicSignature()
Returns the field's signature with a public modifier. |
java.lang.String |
toString()
Transforms a SpeedoField into a String. |
java.lang.String |
type()
Returns the type of the field. |
Methods inherited from class org.objectweb.speedo.metadata.SpeedoElement |
---|
addExtension, getExtension, getExtensionByKey, getExtensionValueByKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final byte NO_RELATION
public static final byte ONE_ONE_RELATION
public static final byte ONE_MANY_RELATION
public static final byte MANY_ONE_RELATION
public static final byte MANY_MANY_RELATION
public java.lang.String name
public int access
public java.lang.String desc
public int number
public byte persistenceModifier
public boolean primaryKey
public byte nullValue
public boolean defaultFetchGroup
public int depth
public java.lang.String fetchGroup
public boolean embedded
public java.lang.String valueStrategy
public java.lang.String sequence
public byte relationType
NO_RELATION
,
ONE_ONE_RELATION
,
ONE_MANY_RELATION
,
MANY_ONE_RELATION
,
MANY_MANY_RELATION
public SpeedoTuple jdoTuple
public SpeedoClass jdoClass
Constructor Detail |
public SpeedoField()
Method Detail |
public java.lang.String toString()
public java.lang.String publicSignature()
public java.lang.String privateSignature()
public java.lang.String modifier()
public
,
private
, protected
)public java.lang.String type()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |