com.objectwave.persist.examples
Class ExampleCompany

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

public class ExampleCompany
extends DomainObject

Version:
$Id: ExampleCompany.java,v 2.1 2001/07/05 13:23:40 dave_hoag Exp $
Author:
Dave Hoag
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.objectwave.persist.examples.DomainObject
DomainObject.Test
 
Field Summary
 
Fields inherited from class com.objectwave.persist.examples.DomainObject
adapt, editor, objectIdentifier, tableMap
 
Constructor Summary
ExampleCompany()
          ExampleCompany constructor comment.
 
Method Summary
 ExampleEmployee getCeo()
          Gets the Ceo attribute of the ExampleCompany object
 ExampleEmployee[] getEmployees()
           
 void initDescriptor()
          Describe how this class relates to the relational database.
 ObjectEditingView initializeObjectEditor()
          Needed to define table name and the description of this class.
 void setCeo(ExampleEmployee emp)
          Sets the Ceo attribute of the ExampleCompany object
 void setEmployees(java.util.Vector aValue)
           
 
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
 

Constructor Detail

ExampleCompany

public ExampleCompany()
ExampleCompany constructor comment.

Method Detail

setCeo

public void setCeo(ExampleEmployee emp)
Sets the Ceo attribute of the ExampleCompany object

Parameters:
emp - The new Ceo value

setEmployees

public void setEmployees(java.util.Vector aValue)
Parameters:
aValue - The new Employees value

getEmployees

public ExampleEmployee[] getEmployees()
Returns:
The Employees value

getCeo

public ExampleEmployee getCeo()
Gets the Ceo attribute of the ExampleCompany object

Returns:
The Ceo value

initDescriptor

public void initDescriptor()
Describe how this class relates to the relational database.


initializeObjectEditor

public ObjectEditingView initializeObjectEditor()
Needed to define table name and the description of this class.

Overrides:
initializeObjectEditor in class DomainObject
Returns: