com.objectwave.persist.examples
Class InvertPersonPersistence

java.lang.Object
  |
  +--com.objectwave.persist.examples.InvertPerson
        |
        +--com.objectwave.persist.examples.InvertPersonPersistenceBase
              |
              +--com.objectwave.persist.examples.InvertPersonPersistence
All Implemented Interfaces:
Persistence, java.io.Serializable, TransactionalObjectIF

public class InvertPersonPersistence
extends InvertPersonPersistenceBase

See Also:
Serialized Form

Field Summary
static java.lang.reflect.Field _age
           
static java.lang.reflect.Field _name
           
 
Fields inherited from class com.objectwave.persist.examples.InvertPersonPersistenceBase
adapt, editor, objectIdentifier
 
Fields inherited from class com.objectwave.persist.examples.InvertPerson
age, name
 
Constructor Summary
InvertPersonPersistence()
           
 
Method Summary
 short getAge()
           
 java.lang.String getName()
           
 InvertPerson newInstance()
           
 void setAge(short anId)
           
 void setName(java.lang.String aName)
           
protected  void setup()
          Override this method if you wish to setup your object differently.
 
Methods inherited from class com.objectwave.persist.examples.InvertPersonPersistenceBase
addDefaultPrimaryAttribute, createAdapter, delete, getAdapter, getBrokerName, getClassDescriptor, getObjectEditor, getObjectIdentifier, getPrimaryKeyField, getPrimaryKeyFields, getTableName, getXmlDefinition, initDescriptor, initializeObjectEditor, insert, isDirty, isRetrievedFromDatabase, isTransient, locateXmlMap, lock, markForDelete, save, setAsTransient, setBrokerName, setClassDescriptor, setObjectEditor, setObjectIdentifier, setPrimaryKeyField, setPrintString, setRetrievedFromDatabase, setTableName, toString, unlock, update, usesAdapter
 
Methods inherited from class com.objectwave.persist.examples.InvertPerson
generateAge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

public static java.lang.reflect.Field _name

_age

public static java.lang.reflect.Field _age
Constructor Detail

InvertPersonPersistence

public InvertPersonPersistence()
Method Detail

getAge

public short getAge()
Overrides:
getAge in class InvertPerson

setAge

public void setAge(short anId)
Overrides:
setAge in class InvertPerson

getName

public java.lang.String getName()
Overrides:
getName in class InvertPerson

setName

public void setName(java.lang.String aName)
Overrides:
setName in class InvertPerson

setup

protected void setup()
              throws java.lang.Exception
Description copied from class: InvertPersonPersistenceBase
Override this method if you wish to setup your object differently. This should work if your Xml is found in the directory of the Persistent class and it has the same name as the persistent class.

Overrides:
setup in class InvertPersonPersistenceBase
java.lang.Exception

newInstance

public InvertPerson newInstance()