com.objectwave.persist.xml.test
Class PersonPhone

java.lang.Object
  |
  +--com.objectwave.persist.examples.DomainObject
        |
        +--com.objectwave.persist.xml.test.PersonPhone
All Implemented Interfaces:
Persistence, java.io.Serializable, TransactionalObjectIF

public class PersonPhone
extends DomainObject

Version:
$Id: PersonPhone.java,v 1.1 2001/08/10 20:31:35 dave_hoag Exp $
Author:
cson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.objectwave.persist.examples.DomainObject
DomainObject.Test
 
Field Summary
static java.lang.reflect.Field _oid
           
static java.lang.reflect.Field _person
           
static java.lang.reflect.Field _phone
           
 
Fields inherited from class com.objectwave.persist.examples.DomainObject
adapt, editor, objectIdentifier, tableMap
 
Constructor Summary
PersonPhone()
          Constructor for the PersonPhone object
 
Method Summary
 long getOid()
          Gets the Oid attribute of the PersonPhone object
 Person getPerson()
          Gets the Person attribute of the PersonPhone object
 Phone getPhone()
          Gets the Phone attribute of the PersonPhone object
 void setOid(long aValue)
          Sets the Oid attribute of the PersonPhone object
 void setPerson(Person aValue)
          Sets the Person attribute of the PersonPhone object
 void setPhone(Phone aValue)
          Sets the Phone attribute of the PersonPhone object
 void update(boolean get, java.lang.Object[] data, java.lang.reflect.Field[] fields)
          Method no longer does anything since setAccessible solves our need for this behavior.
 
Methods inherited from class com.objectwave.persist.examples.DomainObject
addDefaultPrimaryAttribute, createAdapter, delete, getAdapter, getBrokerName, getClassDescriptor, getEntry, getObjectEditor, getObjectIdentifier, getPrimaryKeyField, getPrimaryKeyFields, getSuperDescriptor, getTableName, getXmlDefinition, initDescription, initDescriptor, initializeObjectEditor, initializeObjectEditor, insert, isDirty, isRetrievedFromDatabase, isTransient, locateXmlMap, lock, markForDelete, save, setAsTransient, setBrokerName, setClassDescriptor, setEntry, setObjectEditor, setObjectIdentifier, setPrimaryKeyField, setPrintString, setRetrievedFromDatabase, setTableName, toString, unlock, usesAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_oid

public static java.lang.reflect.Field _oid

_person

public static java.lang.reflect.Field _person

_phone

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

PersonPhone

public PersonPhone()
            throws java.lang.Exception
Constructor for the PersonPhone object

Throws:
java.lang.Exception
Method Detail

setOid

public void setOid(long aValue)
Sets the Oid attribute of the PersonPhone object

Parameters:
aValue - The new Oid value

setPerson

public void setPerson(Person aValue)
Sets the Person attribute of the PersonPhone object

Parameters:
aValue - The new Person value

setPhone

public void setPhone(Phone aValue)
Sets the Phone attribute of the PersonPhone object

Parameters:
aValue - The new Phone value

getOid

public long getOid()
Gets the Oid attribute of the PersonPhone object

Returns:
The Oid value

getPerson

public Person getPerson()
Gets the Person attribute of the PersonPhone object

Returns:
The Person value

getPhone

public Phone getPhone()
Gets the Phone attribute of the PersonPhone object

Returns:
The Phone value

update

public void update(boolean get,
                   java.lang.Object[] data,
                   java.lang.reflect.Field[] fields)
Description copied from class: DomainObject
Method no longer does anything since setAccessible solves our need for this behavior.

Specified by:
update in interface TransactionalObjectIF
Overrides:
update in class DomainObject
Parameters:
get -
data -
fields -