com.objectwave.persist.examples
Class JoinObject

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

public class JoinObject
extends DomainObject

Version:
$Id: JoinObject.java,v 2.1 2001/11/02 16:07:56 dave_hoag Exp $
Author:
dhoag
See Also:
Serialized Form

Nested Class Summary
static class JoinObject.Test
           
 
Nested classes inherited from class com.objectwave.persist.examples.DomainObject
DomainObject.Test
 
Field Summary
static java.lang.reflect.Field _dummyField
           
static java.lang.reflect.Field _linkToOne
           
static java.lang.reflect.Field _linkToTwo
           
static java.util.Vector classDescriptor
           
protected  java.lang.Integer dummyField
           
 ManySideOne linkToOne
           
 ManySideTwo linkToTwo
           
 
Fields inherited from class com.objectwave.persist.examples.DomainObject
adapt, editor, objectIdentifier, tableMap
 
Constructor Summary
JoinObject()
          Constructor for the JoinObject object
 
Method Summary
 ManySideOne getLinkToOne()
          Generated accessors that route get and set methods through our ObjectEditor.
 ManySideTwo getLinkToTwo()
          Gets the LinkToTwo attribute of the JoinObject object
 void initDescriptor()
          Describe how each attribute relates to the database.
 ObjectEditingView initializeObjectEditor()
          Needed to define table name and the description of this class.
 
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

classDescriptor

public static java.util.Vector classDescriptor

_linkToOne

public static java.lang.reflect.Field _linkToOne

_linkToTwo

public static java.lang.reflect.Field _linkToTwo

_dummyField

public static java.lang.reflect.Field _dummyField

linkToOne

public ManySideOne linkToOne

linkToTwo

public ManySideTwo linkToTwo

dummyField

protected java.lang.Integer dummyField
Constructor Detail

JoinObject

public JoinObject()
Constructor for the JoinObject object

Method Detail

getLinkToOne

public ManySideOne getLinkToOne()
Generated accessors that route get and set methods through our ObjectEditor.

Returns:
The LinkToOne value

getLinkToTwo

public ManySideTwo getLinkToTwo()
Gets the LinkToTwo attribute of the JoinObject object

Returns:
The LinkToTwo value

initDescriptor

public void initDescriptor()
Describe how each attribute relates to the database.


initializeObjectEditor

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

Overrides:
initializeObjectEditor in class DomainObject
Returns: