org.equanda.test.dm.client
Class GetSetUsingValue

java.lang.Object
  extended by org.equanda.persistence.EquandaProxy<Uoid,GetSetUsingValue>
      extended by org.equanda.test.dm.client.GetSetUsingValue
All Implemented Interfaces:
Serializable, HasId<Uoid>

public class GetSetUsingValue
extends EquandaProxy<Uoid,GetSetUsingValue>
implements Serializable

Proxy object for table GetSetUsingValue No constraints are being checked when modifying this object, this only happens when setting the value!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  GetSetUsingValue()
          Creator which is used to build value objects based on the real object.
protected GetSetUsingValue(EquandaGetSetUsingValueState proxy)
           
protected GetSetUsingValue(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, int testInt, String testStr, Date testDate)
           
 
Method Summary
 GetSetUsingValue equandaClone(boolean cloneUoid)
           
static GetSetUsingValue equandaCreate()
           
static GetSetUsingValue equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Date getTestDate()
           
 int getTestInt()
           
 String getTestStr()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isTestDateModified()
           
 boolean isTestIntModified()
           
 boolean isTestStrModified()
           
 void removeEntityBean()
           
static List<GetSetUsingValue> selectEquandaAll()
           
static GetSetUsingValue selectId(Uoid uoid)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setTestDate(Date value)
           
 void setTestInt(int value)
           
 void setTestStr(String value)
           
protected  void updateInternalState()
           
 
Methods inherited from class org.equanda.persistence.EquandaProxy
equals, equandaClone, equandaUpdate, getEquandaModificationDate, getEquandaName, getEquandaType, getEquandaVersion, getId, hashCode, isEquandaModificationDateModified, isEquandaType, isModified, objectEquals, setEquandaUpdate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSetUsingValue

protected GetSetUsingValue(EquandaGetSetUsingValueState proxy)

GetSetUsingValue

public GetSetUsingValue()
Creator which is used to build value objects based on the real object. Should only be used server side, client side proxies should be obtained using equandaCreate()


GetSetUsingValue

protected GetSetUsingValue(Uoid uoid,
                           ObjectType equandaType,
                           Timestamp equandaCreationDate,
                           Timestamp equandaModificationDate,
                           String equandaStatus,
                           long equandaVersion,
                           int testInt,
                           String testStr,
                           Date testDate)
Method Detail

equandaClone

public GetSetUsingValue equandaClone(boolean cloneUoid)
Specified by:
equandaClone in class EquandaProxy<Uoid,GetSetUsingValue>

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static GetSetUsingValue equandaCreate()
                                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

public static GetSetUsingValue equandaCreate(String type)
                                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setEquandaType

public void setEquandaType(String type)
Set the type of object which should be used. This is a helper routine to allow using isEquandaType() for checking of object type. This method is only allowed for object building (not for objects which already exists on the server. When an invalid type identifier is specified, then later calls to read the type will throw IllegalStateException.

Specified by:
setEquandaType in class EquandaProxy<Uoid,GetSetUsingValue>
Parameters:
type - base type which will be used to build the actual object
Throws:
IllegalStateException

isModified

public boolean isModified(boolean typeFieldsOnly)
Specified by:
isModified in class EquandaProxy<Uoid,GetSetUsingValue>

getEquandaStatus

public String getEquandaStatus()
Specified by:
getEquandaStatus in class EquandaProxy<Uoid,GetSetUsingValue>

setEquandaStatus

public void setEquandaStatus(String status)
Specified by:
setEquandaStatus in class EquandaProxy<Uoid,GetSetUsingValue>

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getTestInt

public int getTestInt()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestInt

public void setTestInt(int value)

isTestIntModified

public boolean isTestIntModified()

getTestStr

public String getTestStr()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStr

public void setTestStr(String value)

isTestStrModified

public boolean isTestStrModified()

getTestDate

public Date getTestDate()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestDate

public void setTestDate(Date value)

isTestDateModified

public boolean isTestDateModified()

equandaUpdate

public void equandaUpdate(boolean updateTypeFieldsOnly)
                   throws EquandaPersistenceException
Specified by:
equandaUpdate in class EquandaProxy<Uoid,GetSetUsingValue>
Throws:
EquandaPersistenceException

equandaReset

public void equandaReset()
                  throws EquandaPersistenceException
Reset the proxy state. If the proxy was not modified, nothing happens, otherwise the state is retrieved from the server again.

Specified by:
equandaReset in class EquandaProxy<Uoid,GetSetUsingValue>
Throws:
EquandaPersistenceException - oops

removeEntityBean

public void removeEntityBean()
                      throws EquandaPersistenceException
Overrides:
removeEntityBean in class EquandaProxy<Uoid,GetSetUsingValue>
Throws:
EquandaPersistenceException

selectId

public static GetSetUsingValue selectId(Uoid uoid)
                                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

public static List<GetSetUsingValue> selectEquandaAll()
                                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException


Copyright © 2007-2008. All Rights Reserved.