|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ashridgetech.prevdb.client.PersistentField
A definition of a persistent field of a Persistent class. Can be used with
the Persistent interface to get or set fields.
| Constructor Summary | |
PersistentField(Class persistentClass,
String name,
int number)
Creates new PersistentField. |
|
| Method Summary | |
String |
getName()
Get the name of the field |
int |
getNumber()
Get the number of the field - unique within the class |
Class |
getPersistentClass()
Get the class to which this PersistentField belongs |
String |
toFullString()
Get a full description including the class name. |
String |
toString()
Get a short description of field name and number only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PersistentField(Class persistentClass,
String name,
int number)
PersistentField.
persistentClass - the class of object to which this PersistentField belongsname - the name of the field - unique within the classnumber - the number of the field - unique within the class. Numbers should start from zero,
but do not have to be consecutive.| Method Detail |
public Class getPersistentClass()
PersistentField belongs
PersistentField belongspublic String getName()
public int getNumber()
public String toString()
toString in class Objectpublic String toFullString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||