|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.examples.DomainObject | +--com.objectwave.persist.examples.ExampleEmployee
An example of a persistent business object that extends from DomainObject.
Nested Class Summary |
Nested classes inherited from class com.objectwave.persist.examples.DomainObject |
DomainObject.Test |
Field Summary | |
static java.lang.reflect.Field |
_boss
|
static java.lang.reflect.Field |
_company
|
static java.lang.reflect.Field |
_emailAddress
|
static java.lang.reflect.Field |
_person
|
static java.lang.reflect.Field |
_title
|
static java.lang.reflect.Field |
_workers
|
ExampleEmployee |
boss
|
static java.util.Vector |
classDescriptor
|
ExampleCompany |
company
|
java.lang.String |
emailAddress
|
ExamplePerson |
person
|
java.lang.String |
title
|
java.util.Vector |
workers
|
Fields inherited from class com.objectwave.persist.examples.DomainObject |
adapt, editor, objectIdentifier, tableMap |
Constructor Summary | |
ExampleEmployee()
|
Method Summary | |
ExampleEmployee |
getBoss()
Gets the Boss attribute of the ExampleEmployee object |
ExampleCompany |
getCompany()
Gets the Company attribute of the ExampleEmployee object |
java.lang.String |
getEmailAddress()
Generated accessors that route get and set methods through our ObjectEditor. |
ExamplePerson |
getPerson()
Gets the Person attribute of the ExampleEmployee object |
java.lang.String |
getTitle()
Generated accessors that route get and set methods through our ObjectEditor. |
java.util.Vector |
getWorkers()
Gets the Workers attribute of the ExampleEmployee object |
void |
initDescriptor()
Describe how each attribute relates to the database. |
ObjectEditingView |
initializeObjectEditor()
Needed to define table name and the description of this class. |
static void |
main(java.lang.String[] args)
|
void |
setBoss(ExampleEmployee aValue)
Sets the Boss attribute of the ExampleEmployee object |
void |
setCompany(ExampleCompany aValue)
Sets the Company attribute of the ExampleEmployee object |
void |
setEmailAddress(java.lang.String aValue)
Generated accessors that route get and set methods through our ObjectEditor. |
void |
setPerson(ExamplePerson aValue)
Sets the Person attribute of the ExampleEmployee object |
void |
setTitle(java.lang.String aValue)
Generated accessors that route get and set methods through our ObjectEditor. |
void |
setWorkers(java.util.Vector aValue)
Sets the Workers attribute of the ExampleEmployee object |
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, insert, isDirty, isRetrievedFromDatabase, isTransient, locateXmlMap, lock, markForDelete, save, setAsTransient, setBrokerName, setClassDescriptor, setEntry, setObjectEditor, setObjectIdentifier, setPrimaryKeyField, setPrintString, setRetrievedFromDatabase, setTableName, toString, unlock, update, usesAdapter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.util.Vector classDescriptor
public static java.lang.reflect.Field _title
public static java.lang.reflect.Field _person
public static java.lang.reflect.Field _emailAddress
public static java.lang.reflect.Field _boss
public static java.lang.reflect.Field _workers
public static java.lang.reflect.Field _company
public java.lang.String title
public java.lang.String emailAddress
public ExamplePerson person
public ExampleEmployee boss
public java.util.Vector workers
public ExampleCompany company
Constructor Detail |
public ExampleEmployee()
Method Detail |
public static void main(java.lang.String[] args)
args
- The command line argumentspublic void setEmailAddress(java.lang.String aValue)
aValue
- The new EmailAddress valuepublic void setPerson(ExamplePerson aValue)
aValue
- The new Person valuepublic void setBoss(ExampleEmployee aValue)
aValue
- The new Boss valuepublic void setCompany(ExampleCompany aValue)
aValue
- The new Company valuepublic void setWorkers(java.util.Vector aValue)
aValue
- The new Workers valuepublic void setTitle(java.lang.String aValue)
aValue
- The new Title valuepublic java.lang.String getEmailAddress()
public ExamplePerson getPerson()
public ExampleEmployee getBoss()
public ExampleCompany getCompany()
public java.util.Vector getWorkers()
public java.lang.String getTitle()
public void initDescriptor()
public ObjectEditingView initializeObjectEditor()
initializeObjectEditor
in class DomainObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |