com.objectwave.transactionalSupport.test
Class TestEntity

java.lang.Object
  |
  +--com.objectwave.transactionalSupport.test.DomainObject
        |
        +--com.objectwave.transactionalSupport.test.TestEntity
All Implemented Interfaces:
Persistence, java.io.Serializable, TransactionalObjectIF

public class TestEntity
extends DomainObject

Title: Description: Copyright: Copyright (c) 2001 Company:

Version:
1.0
Author:
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.objectwave.transactionalSupport.test.DomainObject
adapt, editor
 
Constructor Summary
TestEntity()
          Constructor for the TestEntity object
 
Method Summary
 int getId()
          Gets the Id attribute of the TestEntity object
 java.lang.String getName()
          Gets the Name attribute of the TestEntity object
 java.lang.String getTableName()
          Gets the TableName attribute of the TestEntity object
 java.util.Vector initDescriptor()
           
static void main(java.lang.String[] args)
          The main program for the TestEntity class
 void setId(int newId)
          Sets the Id attribute of the TestEntity object
 void setName(java.lang.String newName)
          Sets the Name attribute of the TestEntity object
 void setObjectEditor(ObjectEditingView view)
          Sets the ObjectEditor attribute of the TestEntity object
 java.lang.String toString()
           
 
Methods inherited from class com.objectwave.transactionalSupport.test.DomainObject
createAdapter, delete, getAdapter, getBrokerName, getObjectEditor, getPrimaryKeyField, getPrimaryKeyFields, insert, isDirty, isRetrievedFromDatabase, isTransient, lock, markForDelete, save, setAsTransient, setBrokerName, setPrimaryKeyField, setRetrievedFromDatabase, unlock, update, usesAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestEntity

public TestEntity()
Constructor for the TestEntity object

Method Detail

main

public static void main(java.lang.String[] args)
The main program for the TestEntity class

Parameters:
args - The command line arguments

setName

public void setName(java.lang.String newName)
Sets the Name attribute of the TestEntity object

Parameters:
newName - The new Name value

setId

public void setId(int newId)
Sets the Id attribute of the TestEntity object

Parameters:
newId - The new Id value

setObjectEditor

public void setObjectEditor(ObjectEditingView view)
Sets the ObjectEditor attribute of the TestEntity object

Specified by:
setObjectEditor in interface TransactionalObjectIF
Overrides:
setObjectEditor in class DomainObject
Parameters:
view - The new ObjectEditor value

getName

public java.lang.String getName()
Gets the Name attribute of the TestEntity object

Returns:
The Name value

getId

public int getId()
Gets the Id attribute of the TestEntity object

Returns:
The Id value

getTableName

public java.lang.String getTableName()
Gets the TableName attribute of the TestEntity object

Specified by:
getTableName in class DomainObject
Returns:
The TableName value

initDescriptor

public java.util.Vector initDescriptor()
Specified by:
initDescriptor in class DomainObject
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns: