|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ashridgetech.prevdb.client.AbstractPersistentObject
|
+--com.ashridgetech.prevdb.test.TestClassB
Persistent test class for use in unit tests.
| Field Summary | |
static PersistentField |
DESCRIPTION
|
protected static PersistentField[] |
PERSISTENT_FIELDS
|
| Fields inherited from class com.ashridgetech.prevdb.client.AbstractPersistentObject |
oid, OID |
| Constructor Summary | |
TestClassB(PrevDb prevDb)
|
|
TestClassB(PrevDb prevDb,
String description)
|
|
| Method Summary | |
List |
getAList()
Get The A's referring to this B |
String |
getDescription()
Get the description |
protected Object |
getJavaField(Field javaField)
Get the value of a Java field. |
protected PersistentField[] |
getPersistentFields()
Provide an array of PersistentFields for this object. |
void |
setDescription(String description)
Set the description |
protected void |
setJavaField(Field javaField,
Object value)
Set the value of a Java field. |
String |
toString()
|
| Methods inherited from class com.ashridgetech.prevdb.client.AbstractPersistentObject |
getField, getFields, getManager, getOid, getPersistentField, notifyUpdate, notifyUpdate, notifyUpdate, setField, setFields |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final PersistentField DESCRIPTION
protected static final PersistentField[] PERSISTENT_FIELDS
| Constructor Detail |
public TestClassB(PrevDb prevDb)
public TestClassB(PrevDb prevDb,
String description)
| Method Detail |
protected PersistentField[] getPersistentFields()
AbstractPersistentObjectPersistentFields for this object.
Must include the persistent fields of the superclass, if any
getPersistentFields in class AbstractPersistentObjectPersistentFields
protected Object getJavaField(Field javaField)
throws IllegalAccessException
return javaField.get( this );
getJavaField in class AbstractPersistentObjectjavaField - the Field to get the value of
IllegalAccessException
protected void setJavaField(Field javaField,
Object value)
throws IllegalAccessException
javaField.set( this, value );
setJavaField in class AbstractPersistentObjectjavaField - the Field to set the value ofvalue - the value to set
IllegalAccessExceptionpublic String getDescription()
public void setDescription(String description)
description - public List getAList()
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||