org.equanda.test.dm.client
Class Passport

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedOwner
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  Passport()
          Creator which is used to build value objects based on the real object.
protected Passport(EquandaPassportState proxy)
           
protected Passport(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String identifier)
           
 
Method Summary
 Passport equandaClone(boolean cloneUoid)
           
static Passport equandaCreate()
           
static Passport equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 String getIdentifier()
           
 Owner getOwner()
           
 boolean isIdentifierModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isOwnerModified()
           
 void removeEntityBean()
           
static List<Passport> selectEquandaAll()
           
static List<Passport> selectEverything()
           
static Passport selectId(Uoid uoid)
           
static Passport selectIdentifier(String identifier)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setIdentifier(String value)
           
 void setOwner(Owner 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

_obtainedOwner

protected boolean _obtainedOwner
Constructor Detail

Passport

protected Passport(EquandaPassportState proxy)

Passport

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


Passport

protected Passport(Uoid uoid,
                   ObjectType equandaType,
                   Timestamp equandaCreationDate,
                   Timestamp equandaModificationDate,
                   String equandaStatus,
                   long equandaVersion,
                   String identifier)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Passport equandaCreate()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getOwner

public Owner getOwner()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setOwner

public void setOwner(Owner value)

isOwnerModified

public boolean isOwnerModified()

getIdentifier

public String getIdentifier()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setIdentifier

public void setIdentifier(String value)

isIdentifierModified

public boolean isIdentifierModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectEverything

public static List<Passport> selectEverything()
                                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectIdentifier

public static Passport selectIdentifier(String identifier)
                                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.