org.equanda.test.dm.client
Class InternalFields

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

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

Proxy object for table InternalFields 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
  InternalFields()
          Creator which is used to build value objects based on the real object.
protected InternalFields(EquandaInternalFieldsState proxy)
           
protected InternalFields(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, boolean internalBool, String extra)
           
 
Method Summary
 InternalFields equandaClone(boolean cloneUoid)
           
static InternalFields equandaCreate()
           
static InternalFields equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 boolean getEquandaInternalBool()
           
 String getEquandaStatus()
           
 String getExtra()
           
 boolean isEquandaInternalBool()
           
 boolean isExtraModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 void removeEntityBean()
           
static List<InternalFields> selectEquandaAll()
           
static List<InternalFields> selectExtra(String extra)
           
static InternalFields selectId(Uoid uoid)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
 void setExtra(String value)
           
protected  void setId(Uoid uoid)
           
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

InternalFields

protected InternalFields(EquandaInternalFieldsState proxy)

InternalFields

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


InternalFields

protected InternalFields(Uoid uoid,
                         ObjectType equandaType,
                         Timestamp equandaCreationDate,
                         Timestamp equandaModificationDate,
                         String equandaStatus,
                         long equandaVersion,
                         boolean internalBool,
                         String extra)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static InternalFields equandaCreate()
                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getExtra

public String getExtra()
                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setExtra

public void setExtra(String value)

isExtraModified

public boolean isExtraModified()

equandaUpdate

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

removeEntityBean

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

getEquandaInternalBool

public boolean getEquandaInternalBool()

isEquandaInternalBool

public boolean isEquandaInternalBool()

selectId

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

selectExtra

public static List<InternalFields> selectExtra(String extra)
                                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.