org.equanda.test.dm.client
Class Priority

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

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

Proxy object for table Priority 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
  Priority()
          Creator which is used to build value objects based on the real object.
protected Priority(EquandaPriorityState proxy)
           
protected Priority(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, int identifier, boolean field1, boolean field2, boolean field3, boolean field4)
           
 
Method Summary
 Priority equandaClone(boolean cloneUoid)
           
static Priority equandaCreate()
           
static Priority equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 boolean getField1()
           
 boolean getField2()
           
 boolean getField3()
           
 boolean getField4()
           
 int getIdentifier()
           
 boolean isField1()
           
 boolean isField1Modified()
           
 boolean isField2()
           
 boolean isField2Modified()
           
 boolean isField3()
           
 boolean isField3Modified()
           
 boolean isField4()
           
 boolean isField4Modified()
           
 boolean isIdentifierModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 void removeEntityBean()
           
static List<Priority> selectAll()
           
static List<Priority> selectEquandaAll()
           
static Priority selectId(Uoid uoid)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
 void setField1(boolean value)
           
 void setField2(boolean value)
           
 void setField3(boolean value)
           
 void setField4(boolean value)
           
protected  void setId(Uoid uoid)
           
 void setIdentifier(int 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

Priority

protected Priority(EquandaPriorityState proxy)

Priority

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


Priority

protected Priority(Uoid uoid,
                   ObjectType equandaType,
                   Timestamp equandaCreationDate,
                   Timestamp equandaModificationDate,
                   String equandaStatus,
                   long equandaVersion,
                   int identifier,
                   boolean field1,
                   boolean field2,
                   boolean field3,
                   boolean field4)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Priority equandaCreate()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getIdentifier

public int getIdentifier()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setIdentifier

public void setIdentifier(int value)

isIdentifierModified

public boolean isIdentifierModified()

getField1

public boolean getField1()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isField1

public boolean isField1()

setField1

public void setField1(boolean value)

isField1Modified

public boolean isField1Modified()

getField2

public boolean getField2()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isField2

public boolean isField2()

setField2

public void setField2(boolean value)

isField2Modified

public boolean isField2Modified()

getField3

public boolean getField3()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isField3

public boolean isField3()

setField3

public void setField3(boolean value)

isField3Modified

public boolean isField3Modified()

getField4

public boolean getField4()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isField4

public boolean isField4()

setField4

public void setField4(boolean value)

isField4Modified

public boolean isField4Modified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectAll

public static List<Priority> selectAll()
                                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.