org.equanda.test.dm.client
Class Cloneable

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedTestCarLink
           
protected  boolean _obtainedTestCarLinkValueInclude
           
protected  boolean _obtainedTestCarMultipleLink
           
protected  boolean _obtainedTestMultipleString
           
protected  boolean _obtainedTestValueIncludeCarMultipleLink
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  Cloneable()
          Creator which is used to build value objects based on the real object.
protected Cloneable(EquandaCloneableState proxy)
           
protected Cloneable(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String testStringCloneable, String testStringNotCloneable)
           
 
Method Summary
 Cloneable equandaClone(boolean cloneUoid)
           
static Cloneable equandaCreate()
           
static Cloneable equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Car getTestCarLink()
           
 Car getTestCarLinkValueInclude()
           
 Collection<Car> getTestCarMultipleLink()
           
 Collection<String> getTestMultipleString()
           
 String getTestStringCloneable()
           
 String getTestStringNotCloneable()
           
 Collection<Car> getTestValueIncludeCarMultipleLink()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isTestCarLinkModified()
           
 boolean isTestCarLinkValueIncludeModified()
           
 boolean isTestCarMultipleLinkModified()
           
 boolean isTestMultipleStringModified()
           
 boolean isTestStringCloneableModified()
           
 boolean isTestStringNotCloneableModified()
           
 boolean isTestValueIncludeCarMultipleLinkModified()
           
 void removeEntityBean()
           
static List<Cloneable> selectEquandaAll()
           
static List<Cloneable> selectEverything()
           
static Cloneable 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 setTestCarLink(Car value)
           
 void setTestCarLinkValueInclude(Car value)
           
 void setTestCarMultipleLink(Collection<Car> value)
           
 void setTestMultipleString(Collection<String> value)
           
 void setTestStringCloneable(String value)
           
 void setTestStringNotCloneable(String value)
           
 void setTestValueIncludeCarMultipleLink(Collection<Car> 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

_obtainedTestMultipleString

protected boolean _obtainedTestMultipleString

_obtainedTestCarLink

protected boolean _obtainedTestCarLink

_obtainedTestCarLinkValueInclude

protected boolean _obtainedTestCarLinkValueInclude

_obtainedTestCarMultipleLink

protected boolean _obtainedTestCarMultipleLink

_obtainedTestValueIncludeCarMultipleLink

protected boolean _obtainedTestValueIncludeCarMultipleLink
Constructor Detail

Cloneable

protected Cloneable(EquandaCloneableState proxy)

Cloneable

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


Cloneable

protected Cloneable(Uoid uoid,
                    ObjectType equandaType,
                    Timestamp equandaCreationDate,
                    Timestamp equandaModificationDate,
                    String equandaStatus,
                    long equandaVersion,
                    String testStringCloneable,
                    String testStringNotCloneable)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Cloneable equandaCreate()
                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getTestStringCloneable

public String getTestStringCloneable()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStringCloneable

public void setTestStringCloneable(String value)

isTestStringCloneableModified

public boolean isTestStringCloneableModified()

getTestStringNotCloneable

public String getTestStringNotCloneable()
                                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestStringNotCloneable

public void setTestStringNotCloneable(String value)

isTestStringNotCloneableModified

public boolean isTestStringNotCloneableModified()

getTestMultipleString

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

setTestMultipleString

public void setTestMultipleString(Collection<String> value)

isTestMultipleStringModified

public boolean isTestMultipleStringModified()

getTestCarLink

public Car getTestCarLink()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestCarLink

public void setTestCarLink(Car value)

isTestCarLinkModified

public boolean isTestCarLinkModified()

getTestCarLinkValueInclude

public Car getTestCarLinkValueInclude()
                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestCarLinkValueInclude

public void setTestCarLinkValueInclude(Car value)

isTestCarLinkValueIncludeModified

public boolean isTestCarLinkValueIncludeModified()

getTestCarMultipleLink

public Collection<Car> getTestCarMultipleLink()
                                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestCarMultipleLink

public void setTestCarMultipleLink(Collection<Car> value)

isTestCarMultipleLinkModified

public boolean isTestCarMultipleLinkModified()

getTestValueIncludeCarMultipleLink

public Collection<Car> getTestValueIncludeCarMultipleLink()
                                                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestValueIncludeCarMultipleLink

public void setTestValueIncludeCarMultipleLink(Collection<Car> value)

isTestValueIncludeCarMultipleLinkModified

public boolean isTestValueIncludeCarMultipleLinkModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectEverything

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.