org.equanda.test.dm.client
Class LazyInst
java.lang.Object
org.equanda.persistence.EquandaProxy<Uoid,LazyInst>
org.equanda.test.dm.client.LazyInst
- All Implemented Interfaces:
- Serializable, HasId<Uoid>
public class LazyInst
- extends EquandaProxy<Uoid,LazyInst>
- implements Serializable
Proxy object for table LazyInst
No constraints are being checked when modifying this object, this only happens when setting the value!
- See Also:
- Serialized Form
Methods inherited from class org.equanda.persistence.EquandaProxy |
equals, equandaClone, equandaUpdate, getEquandaModificationDate, getEquandaName, getEquandaType, getEquandaVersion, getId, hashCode, isEquandaModificationDateModified, isEquandaType, isModified, objectEquals, setEquandaUpdate, toString |
_obtainedOwner
protected boolean _obtainedOwner
_obtainedAnotherOwner
protected boolean _obtainedAnotherOwner
LazyInst
protected LazyInst(EquandaLazyInstState proxy)
LazyInst
public LazyInst()
- 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()
LazyInst
protected LazyInst(Uoid uoid,
ObjectType equandaType,
Timestamp equandaCreationDate,
Timestamp equandaModificationDate,
String equandaStatus,
long equandaVersion,
int testInt)
equandaClone
public LazyInst equandaClone(boolean cloneUoid)
- Specified by:
equandaClone
in class EquandaProxy<Uoid,LazyInst>
setId
protected void setId(Uoid uoid)
updateInternalState
protected void updateInternalState()
equandaCreate
public static LazyInst equandaCreate()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
equandaCreate
public static LazyInst 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,LazyInst>
- 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,LazyInst>
getEquandaStatus
public String getEquandaStatus()
- Specified by:
getEquandaStatus
in class EquandaProxy<Uoid,LazyInst>
setEquandaStatus
public void setEquandaStatus(String status)
- Specified by:
setEquandaStatus
in class EquandaProxy<Uoid,LazyInst>
getEquandaCreationDate
public Timestamp getEquandaCreationDate()
getTestInt
public int getTestInt()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setTestInt
public void setTestInt(int value)
isTestIntModified
public boolean isTestIntModified()
getOwner
public Owner getOwner()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setOwner
public void setOwner(Owner value)
isOwnerModified
public boolean isOwnerModified()
getAnotherOwner
public Owner getAnotherOwner()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setAnotherOwner
public void setAnotherOwner(Owner value)
isAnotherOwnerModified
public boolean isAnotherOwnerModified()
equandaUpdate
public void equandaUpdate(boolean updateTypeFieldsOnly)
throws EquandaPersistenceException
- Specified by:
equandaUpdate
in class EquandaProxy<Uoid,LazyInst>
- 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,LazyInst>
- Throws:
EquandaPersistenceException
- oops
removeEntityBean
public void removeEntityBean()
throws EquandaPersistenceException
- Overrides:
removeEntityBean
in class EquandaProxy<Uoid,LazyInst>
- Throws:
EquandaPersistenceException
selectId
public static LazyInst selectId(Uoid uoid)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectTestInt
public static List<LazyInst> selectTestInt(int testInt)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectAllOrdered
public static List<LazyInst> selectAllOrdered()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaAll
public static List<LazyInst> selectEquandaAll()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
Copyright © 2007-2008. All Rights Reserved.