net.wotonomy.test
Class TestObject

java.lang.Object
  extended by net.wotonomy.test.TestObject
All Implemented Interfaces:
java.io.Serializable

public class TestObject
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.lang.String address
           
protected  short age
           
protected  int childCount
           
protected  java.util.List childList
           
protected  java.lang.String city
           
protected  java.util.Date date
           
 net.wotonomy.control.EOEditingContext editingContext
           
protected  java.lang.String firstName
           
protected  java.lang.String lastName
           
protected  java.lang.StringBuffer middleName
           
protected  TestObject parent
           
protected  boolean special
           
protected  java.lang.String state
           
protected  int zip
           
 
Constructor Summary
TestObject()
           
 
Method Summary
 boolean equals(java.lang.Object anObject)
           
 java.lang.String getAddress()
           
 short getAge()
           
 int getChildCount()
           
 java.util.List getChildList()
           
 java.lang.String getCity()
           
 java.util.Date getCreateDate()
           
 net.wotonomy.control.EOEditingContext getEditingContext()
           
 java.lang.String getFirstName()
           
 java.lang.String getFullName()
           
 java.lang.String getHash()
           
 java.lang.String getLastName()
           
 java.lang.StringBuffer getMiddleName()
           
 TestObject getParent()
           
 java.lang.String getState()
           
 int getZipCode()
           
 java.lang.Object handleQueryWithUnboundKey(java.lang.String aKey)
          Called by valueForKey when the specified key is not found on this object.
 void handleTakeValueForUnboundKey(java.lang.Object aValue, java.lang.String aKey)
          Called by takeValueForKey when the specified key is not found on this object.
 java.lang.Boolean isSpecial()
           
static void main(java.lang.String[] argv)
           
 void setAddress(java.lang.String anAddress)
           
 void setAge(short anAge)
           
 void setChildList(java.util.List aChildList)
           
 void setCity(java.lang.String aCity)
           
 void setCreateDate(java.util.Date aDate)
           
 void setFirstName(java.lang.String aName)
           
 void setLastName(java.lang.String aName)
           
 void setMiddleName(java.lang.StringBuffer aName)
           
 void setParent(TestObject anObject)
           
 void setSpecial(java.lang.Boolean isSpecial)
           
 void setState(java.lang.String aState)
           
 void setZipCode(int aZipCode)
           
 java.lang.Object storedValueForKey(java.lang.String aKey)
          Returns the value for the private field that corresponds to the specified property.
 void takeStoredValueForKey(java.lang.Object aValue, java.lang.String aKey)
          Sets the the private field that corresponds to the specified property to the specified value.
 void takeValueForKey(java.lang.Object aValue, java.lang.String aKey)
          Sets the property to the specified value.
 java.lang.String toString()
           
 void unableToSetNullForKey(java.lang.String aKey)
          Called by takeValueForKey when the type of the specified key is not allowed to be null, as is the case with primitive types.
 java.lang.Object valueForKey(java.lang.String aKey)
          Returns the value for the specified property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

editingContext

public net.wotonomy.control.EOEditingContext editingContext

date

protected java.util.Date date

firstName

protected java.lang.String firstName

lastName

protected java.lang.String lastName

middleName

protected java.lang.StringBuffer middleName

address

protected java.lang.String address

city

protected java.lang.String city

state

protected java.lang.String state

zip

protected int zip

age

protected short age

special

protected boolean special

childCount

protected int childCount

childList

protected java.util.List childList

parent

protected TestObject parent
Constructor Detail

TestObject

public TestObject()
Method Detail

getEditingContext

public net.wotonomy.control.EOEditingContext getEditingContext()

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date aDate)

getFirstName

public java.lang.String getFirstName()

setFirstName

public void setFirstName(java.lang.String aName)

getLastName

public java.lang.String getLastName()

setLastName

public void setLastName(java.lang.String aName)

getMiddleName

public java.lang.StringBuffer getMiddleName()

setMiddleName

public void setMiddleName(java.lang.StringBuffer aName)

getAddress

public java.lang.String getAddress()

setAddress

public void setAddress(java.lang.String anAddress)

getCity

public java.lang.String getCity()

setCity

public void setCity(java.lang.String aCity)

getState

public java.lang.String getState()

setState

public void setState(java.lang.String aState)

getZipCode

public int getZipCode()

setZipCode

public void setZipCode(int aZipCode)

getAge

public short getAge()

setAge

public void setAge(short anAge)

isSpecial

public java.lang.Boolean isSpecial()

setSpecial

public void setSpecial(java.lang.Boolean isSpecial)

getChildCount

public int getChildCount()

getChildList

public java.util.List getChildList()

setChildList

public void setChildList(java.util.List aChildList)

getParent

public TestObject getParent()

setParent

public void setParent(TestObject anObject)

getHash

public java.lang.String getHash()

getFullName

public java.lang.String getFullName()

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object

toString

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

valueForKey

public java.lang.Object valueForKey(java.lang.String aKey)
Returns the value for the specified property. If the property does not exist, this method should call handleQueryWithUnboundKey.


takeValueForKey

public void takeValueForKey(java.lang.Object aValue,
                            java.lang.String aKey)
Sets the property to the specified value. If the property does not exist, this method should call handleTakeValueForUnboundKey. If the property is of a type that cannot allow null (e.g. primitive types) and aValue is null, this method should call unableToSetNullForKey.


storedValueForKey

public java.lang.Object storedValueForKey(java.lang.String aKey)
Returns the value for the private field that corresponds to the specified property.


takeStoredValueForKey

public void takeStoredValueForKey(java.lang.Object aValue,
                                  java.lang.String aKey)
Sets the the private field that corresponds to the specified property to the specified value.


handleQueryWithUnboundKey

public java.lang.Object handleQueryWithUnboundKey(java.lang.String aKey)
Called by valueForKey when the specified key is not found on this object. Implementing classes should handle the specified value or otherwise throw an exception.


handleTakeValueForUnboundKey

public void handleTakeValueForUnboundKey(java.lang.Object aValue,
                                         java.lang.String aKey)
Called by takeValueForKey when the specified key is not found on this object. Implementing classes should handle the specified value or otherwise throw an exception.


unableToSetNullForKey

public void unableToSetNullForKey(java.lang.String aKey)
Called by takeValueForKey when the type of the specified key is not allowed to be null, as is the case with primitive types. Implementing classes should handle this case appropriately or otherwise throw an exception.


main

public static void main(java.lang.String[] argv)


Copyright © 2006 null. All Rights Reserved.