org.equanda.test.dm.client
Class CaseConversion

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

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

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  CaseConversion()
          Creator which is used to build value objects based on the real object.
protected CaseConversion(EquandaCaseConversionState proxy)
           
protected CaseConversion(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String key, String value, String lowerKey, String variableKey)
           
 
Method Summary
 CaseConversion equandaClone(boolean cloneUoid)
           
static CaseConversion equandaCreate()
           
static CaseConversion equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 String getKey()
           
 String getLowerKey()
           
 String getValue()
           
 String getVariableKey()
           
 boolean isKeyModified()
           
 boolean isLowerKeyModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isValueModified()
           
 boolean isVariableKeyModified()
           
 void removeEntityBean()
           
static List<CaseConversion> selectEquandaAll()
           
static CaseConversion selectId(Uoid uoid)
           
static CaseConversion selectKey(String key)
           
static List<CaseConversion> selectVariableKey(String variableKey)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setKey(String value)
           
 void setLowerKey(String value)
           
 void setValue(String value)
           
 void setVariableKey(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
 

Constructor Detail

CaseConversion

protected CaseConversion(EquandaCaseConversionState proxy)

CaseConversion

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


CaseConversion

protected CaseConversion(Uoid uoid,
                         ObjectType equandaType,
                         Timestamp equandaCreationDate,
                         Timestamp equandaModificationDate,
                         String equandaStatus,
                         long equandaVersion,
                         String key,
                         String value,
                         String lowerKey,
                         String variableKey)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static CaseConversion equandaCreate()
                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getKey

public String getKey()
              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setKey

public void setKey(String value)

isKeyModified

public boolean isKeyModified()

getValue

public String getValue()
                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setValue

public void setValue(String value)

isValueModified

public boolean isValueModified()

getLowerKey

public String getLowerKey()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setLowerKey

public void setLowerKey(String value)

isLowerKeyModified

public boolean isLowerKeyModified()

getVariableKey

public String getVariableKey()
                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setVariableKey

public void setVariableKey(String value)

isVariableKeyModified

public boolean isVariableKeyModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectKey

public static CaseConversion selectKey(String key)
                                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectVariableKey

public static List<CaseConversion> selectVariableKey(String variableKey)
                                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.