org.equanda.test.dm.client
Class Default

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

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

Proxy object for table Default 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
  Default()
          Creator which is used to build value objects based on the real object.
protected Default(EquandaDefaultState proxy)
           
protected Default(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String testStringDefault10, int testIntDefault100, int testInt, Date testDateDefaultNow, Date testDate, int testIntDefaultAuto, byte[] testBlob, String testClob, int testIntDefaultClass)
           
 
Method Summary
 Default equandaClone(boolean cloneUoid)
           
static Default equandaCreate()
           
static Default equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 byte[] getTestBlob()
           
 String getTestClob()
           
 Date getTestDate()
           
 Date getTestDateDefaultNow()
           
 int getTestInt()
           
 int getTestIntDefault100()
           
 int getTestIntDefaultAuto()
           
 int getTestIntDefaultClass()
           
 String getTestStringDefault10()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isTestBlobModified()
           
 boolean isTestClobModified()
           
 boolean isTestDateDefaultNowModified()
           
 boolean isTestDateModified()
           
 boolean isTestIntDefault100Modified()
           
 boolean isTestIntDefaultAutoModified()
           
 boolean isTestIntDefaultClassModified()
           
 boolean isTestIntModified()
           
 boolean isTestStringDefault10Modified()
           
 void removeEntityBean()
           
static List<Default> selectEquandaAll()
           
static Default 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 setTestBlob(byte[] value)
           
 void setTestClob(String value)
           
 void setTestDate(Date value)
           
 void setTestDateDefaultNow(Date value)
           
 void setTestInt(int value)
           
 void setTestIntDefault100(int value)
           
 void setTestIntDefaultAuto(int value)
           
 void setTestIntDefaultClass(int value)
           
 void setTestStringDefault10(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

Default

protected Default(EquandaDefaultState proxy)

Default

public Default()
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()


Default

protected Default(Uoid uoid,
                  ObjectType equandaType,
                  Timestamp equandaCreationDate,
                  Timestamp equandaModificationDate,
                  String equandaStatus,
                  long equandaVersion,
                  String testStringDefault10,
                  int testIntDefault100,
                  int testInt,
                  Date testDateDefaultNow,
                  Date testDate,
                  int testIntDefaultAuto,
                  byte[] testBlob,
                  String testClob,
                  int testIntDefaultClass)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Default equandaCreate()
                             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

public static Default 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,Default>
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,Default>

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getTestStringDefault10

public String getTestStringDefault10()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStringDefault10

public void setTestStringDefault10(String value)

isTestStringDefault10Modified

public boolean isTestStringDefault10Modified()

getTestIntDefault100

public int getTestIntDefault100()
                         throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestIntDefault100

public void setTestIntDefault100(int value)

isTestIntDefault100Modified

public boolean isTestIntDefault100Modified()

getTestInt

public int getTestInt()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestInt

public void setTestInt(int value)

isTestIntModified

public boolean isTestIntModified()

getTestDateDefaultNow

public Date getTestDateDefaultNow()
                           throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestDateDefaultNow

public void setTestDateDefaultNow(Date value)

isTestDateDefaultNowModified

public boolean isTestDateDefaultNowModified()

getTestDate

public Date getTestDate()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestDate

public void setTestDate(Date value)

isTestDateModified

public boolean isTestDateModified()

getTestIntDefaultAuto

public int getTestIntDefaultAuto()
                          throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestIntDefaultAuto

public void setTestIntDefaultAuto(int value)

isTestIntDefaultAutoModified

public boolean isTestIntDefaultAutoModified()

getTestBlob

public byte[] getTestBlob()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestBlob

public void setTestBlob(byte[] value)

isTestBlobModified

public boolean isTestBlobModified()

getTestClob

public String getTestClob()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestClob

public void setTestClob(String value)

isTestClobModified

public boolean isTestClobModified()

getTestIntDefaultClass

public int getTestIntDefaultClass()
                           throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestIntDefaultClass

public void setTestIntDefaultClass(int value)

isTestIntDefaultClassModified

public boolean isTestIntDefaultClassModified()

equandaUpdate

public void equandaUpdate(boolean updateTypeFieldsOnly)
                   throws EquandaPersistenceException
Specified by:
equandaUpdate in class EquandaProxy<Uoid,Default>
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,Default>
Throws:
EquandaPersistenceException - oops

removeEntityBean

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

selectId

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.