com.objectwave.persist.xml.test
Class Phone

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

public class Phone
extends DomainObject

Version:
$Id: Phone.java,v 1.2 2002/03/09 17:13:47 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 _extension
           
static java.lang.reflect.Field _phoneNumber
           
static java.lang.reflect.Field _prefix
           
 
Fields inherited from class com.objectwave.persist.examples.DomainObject
adapt, editor, objectIdentifier, tableMap
 
Constructor Summary
Phone()
          Constructor for the Phone object
 
Method Summary
 java.lang.String getExtension()
          Gets the Extension attribute of the Phone object
 java.lang.String getPhoneNumber()
          Gets the PhoneNumber attribute of the Phone object
 java.lang.String getPrefix()
          Gets the Prefix attribute of the Phone object
 void setExtension(java.lang.String aValue)
          Sets the Extension attribute of the Phone object
 void setPhoneNumber(java.lang.String aValue)
          Sets the PhoneNumber attribute of the Phone object
 void setPrefix(java.lang.String aValue)
          Sets the Prefix attribute of the Phone 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

_prefix

public static java.lang.reflect.Field _prefix

_phoneNumber

public static java.lang.reflect.Field _phoneNumber

_extension

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

Phone

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

Throws:
java.lang.Exception
Method Detail

setPrefix

public void setPrefix(java.lang.String aValue)
Sets the Prefix attribute of the Phone object

Parameters:
aValue - The new Prefix value

setPhoneNumber

public void setPhoneNumber(java.lang.String aValue)
Sets the PhoneNumber attribute of the Phone object

Parameters:
aValue - The new PhoneNumber value

setExtension

public void setExtension(java.lang.String aValue)
Sets the Extension attribute of the Phone object

Parameters:
aValue - The new Extension value

getPrefix

public java.lang.String getPrefix()
Gets the Prefix attribute of the Phone object

Returns:
The Prefix value

getPhoneNumber

public java.lang.String getPhoneNumber()
Gets the PhoneNumber attribute of the Phone object

Returns:
The PhoneNumber value

getExtension

public java.lang.String getExtension()
Gets the Extension attribute of the Phone object

Returns:
The Extension 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 -