org.equanda.test.dm.client
Class Delegate

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedLink1
           
protected  boolean _obtainedLink2
           
protected  boolean _obtainedPassport
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  Delegate()
          Creator which is used to build value objects based on the real object.
protected Delegate(EquandaDelegateState proxy)
           
protected Delegate(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String testStr, String testStrDelegate, Date testDate, Date testDateDelegate, Timestamp testTimestamp, Timestamp testTimestampDelegate, String name)
           
 
Method Summary
 Delegate equandaClone(boolean cloneUoid)
           
static Delegate equandaCreate()
           
static Delegate equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Linkable getLink1()
           
 Linkable getLink2()
           
 String getName()
           
 Passport getPassport()
           
 Date getTestDate()
           
 Date getTestDateDelegate()
           
 String getTestStr()
           
 String getTestStrDelegate()
           
 Timestamp getTestTimestamp()
           
 Timestamp getTestTimestampDelegate()
           
 boolean isLink1Modified()
           
 boolean isLink2Modified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isNameModified()
           
 boolean isPassportModified()
           
 boolean isTestDateDelegateModified()
           
 boolean isTestDateModified()
           
 boolean isTestStrDelegateModified()
           
 boolean isTestStrModified()
           
 boolean isTestTimestampDelegateModified()
           
 boolean isTestTimestampModified()
           
 void removeEntityBean()
           
static List<Delegate> selectEquandaAll()
           
static Delegate 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 setLink1(Linkable value)
           
 void setLink2(Linkable value)
           
 void setName(String value)
           
 void setPassport(Passport value)
           
 void setTestDate(Date value)
           
 void setTestDateDelegate(Date value)
           
 void setTestStr(String value)
           
 void setTestStrDelegate(String value)
           
 void setTestTimestamp(Timestamp value)
           
 void setTestTimestampDelegate(Timestamp 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
 

Field Detail

_obtainedLink1

protected boolean _obtainedLink1

_obtainedLink2

protected boolean _obtainedLink2

_obtainedPassport

protected boolean _obtainedPassport
Constructor Detail

Delegate

protected Delegate(EquandaDelegateState proxy)

Delegate

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


Delegate

protected Delegate(Uoid uoid,
                   ObjectType equandaType,
                   Timestamp equandaCreationDate,
                   Timestamp equandaModificationDate,
                   String equandaStatus,
                   long equandaVersion,
                   String testStr,
                   String testStrDelegate,
                   Date testDate,
                   Date testDateDelegate,
                   Timestamp testTimestamp,
                   Timestamp testTimestampDelegate,
                   String name)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Delegate equandaCreate()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getTestStr

public String getTestStr()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStr

public void setTestStr(String value)

isTestStrModified

public boolean isTestStrModified()

getTestStrDelegate

public String getTestStrDelegate()
                          throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStrDelegate

public void setTestStrDelegate(String value)

isTestStrDelegateModified

public boolean isTestStrDelegateModified()

getTestDate

public Date getTestDate()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestDate

public void setTestDate(Date value)

isTestDateModified

public boolean isTestDateModified()

getTestDateDelegate

public Date getTestDateDelegate()
                         throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestDateDelegate

public void setTestDateDelegate(Date value)

isTestDateDelegateModified

public boolean isTestDateDelegateModified()

getTestTimestamp

public Timestamp getTestTimestamp()
                           throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestTimestamp

public void setTestTimestamp(Timestamp value)

isTestTimestampModified

public boolean isTestTimestampModified()

getTestTimestampDelegate

public Timestamp getTestTimestampDelegate()
                                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestTimestampDelegate

public void setTestTimestampDelegate(Timestamp value)

isTestTimestampDelegateModified

public boolean isTestTimestampDelegateModified()

getLink1

public Linkable getLink1()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setLink1

public void setLink1(Linkable value)

isLink1Modified

public boolean isLink1Modified()

getLink2

public Linkable getLink2()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setLink2

public void setLink2(Linkable value)

isLink2Modified

public boolean isLink2Modified()

getName

public String getName()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setName

public void setName(String value)

isNameModified

public boolean isNameModified()

getPassport

public Passport getPassport()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setPassport

public void setPassport(Passport value)

isPassportModified

public boolean isPassportModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.