org.equanda.test.dm.client
Class SelectorUpdate

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedMultipleLinks
           
protected  boolean _obtainedMultipleStr
           
protected  boolean _obtainedSingleLink
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  SelectorUpdate()
          Creator which is used to build value objects based on the real object.
protected SelectorUpdate(EquandaSelectorUpdateState proxy)
           
protected SelectorUpdate(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String singleStr)
           
 
Method Summary
 SelectorUpdate equandaClone(boolean cloneUoid)
           
static SelectorUpdate equandaCreate()
           
static SelectorUpdate equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Collection<Linkable> getMultipleLinks()
           
 Collection<String> getMultipleStr()
           
 Linkable getSingleLink()
           
 String getSingleStr()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isMultipleLinksModified()
           
 boolean isMultipleStrModified()
           
 boolean isSingleLinkModified()
           
 boolean isSingleStrModified()
           
 void removeEntityBean()
           
static List<SelectorUpdate> selectEquandaAll()
           
static SelectorUpdate 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 setMultipleLinks(Collection<Linkable> value)
           
 void setMultipleStr(Collection<String> value)
           
 void setSingleLink(Linkable value)
           
 void setSingleStr(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
 

Field Detail

_obtainedMultipleStr

protected boolean _obtainedMultipleStr

_obtainedSingleLink

protected boolean _obtainedSingleLink

_obtainedMultipleLinks

protected boolean _obtainedMultipleLinks
Constructor Detail

SelectorUpdate

protected SelectorUpdate(EquandaSelectorUpdateState proxy)

SelectorUpdate

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


SelectorUpdate

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

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static SelectorUpdate equandaCreate()
                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getSingleStr

public String getSingleStr()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setSingleStr

public void setSingleStr(String value)

isSingleStrModified

public boolean isSingleStrModified()

getMultipleStr

public Collection<String> getMultipleStr()
                                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setMultipleStr

public void setMultipleStr(Collection<String> value)

isMultipleStrModified

public boolean isMultipleStrModified()

getSingleLink

public Linkable getSingleLink()
                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setSingleLink

public void setSingleLink(Linkable value)

isSingleLinkModified

public boolean isSingleLinkModified()

getMultipleLinks

public Collection<Linkable> getMultipleLinks()
                                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setMultipleLinks

public void setMultipleLinks(Collection<Linkable> value)

isMultipleLinksModified

public boolean isMultipleLinksModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.