|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object PersistenceMap AttributeMap
AttributeMap encapsulates the metadata for an attribute (or field) within a class and includes methods to get and set the value of an attribute in an instance of the class. The metadata consists of the attribute name, data type, position within the attribute list, and the name of the ColumnMap to which this attribute is mapped. All metadata except the attribute and column name are determined at initialization time using reflection.
Method Summary | |
ClassMap |
classMap()
Returns the ClassMap for the class to which this attribute belongs. |
ColumnMap |
column()
Returns the ColumnMap to which this attribute is mapped. |
void |
outputXML(PrintWriter out)
Output an XML representation of this attribute on the specified print writer. |
void |
show()
Output a description of this attribute on stdout. |
int |
type()
Returns the Java data type of this attribute. |
Methods inherited from class PersistenceMap |
hashCode, manager, name, toString |
Methods inherited from class Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public void show()
public void outputXML(PrintWriter out)
out
- the print writer to use for all output.public ClassMap classMap()
public ColumnMap column()
public int type()
JTypes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |