org.equanda.test.dm.client
Class Action

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedMulStr
           
protected  boolean _obtainedPassport
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  Action()
          Creator which is used to build value objects based on the real object.
protected Action(EquandaActionState proxy)
           
protected Action(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String theString, Date theDate, Timestamp theTime, boolean theBool, int theInt, double theDouble)
           
 
Method Summary
 void addAction(int param0)
          Add a value in the TheInt field.
 Action equandaClone(boolean cloneUoid)
           
static Action equandaCreate()
           
static Action equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 void failingAction(String param0, int param1)
          this should fail
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Collection<String> getMulStr()
           
 Passport getPassport()
           
 boolean getTheBool()
           
 Date getTheDate()
           
 double getTheDouble()
           
 int getTheInt()
           
 String getTheString()
           
 Timestamp getTheTime()
           
 int hashCode(String param0)
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isMulStrModified()
           
 boolean isPassportModified()
           
 boolean isTheBool()
           
 boolean isTheBoolModified()
           
 boolean isTheDateModified()
           
 boolean isTheDoubleModified()
           
 boolean isTheIntModified()
           
 boolean isTheStringModified()
           
 boolean isTheTimeModified()
           
 void removeEntityBean()
           
static List<Action> selectByDate(Date theDate)
           
static List<Action> selectEquandaAll()
           
static List<Action> selectEverything()
           
static Action selectId(Uoid uoid)
           
static Action selectSingleInt(int theInt)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setMulStr(Collection<String> value)
           
 void setPassport(Passport value)
           
 void setTheBool(boolean value)
           
 void setTheDate(Date value)
           
 void setTheDouble(double value)
           
 void setTheInt(int value)
           
 void setTheString(String value)
           
 void setTheTime(Timestamp value)
           
 void suggestFieldAction(String param0, int param1, double param2, Date param3, Timestamp param4, boolean param5)
           
 void suggestPathAction(String param0)
           
 void suggestTableAction(String param0)
           
 void suggestValueAction(String param0, int param1, double param2, Date param3, Timestamp param4, boolean param5)
           
 void suggestValueListAction(String param0, int param1, double param2, Date param3, Timestamp param4, boolean param5)
           
protected  void updateInternalState()
           
 void voidAction(String param0, int param1)
           
 
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

_obtainedPassport

protected boolean _obtainedPassport

_obtainedMulStr

protected boolean _obtainedMulStr
Constructor Detail

Action

protected Action(EquandaActionState proxy)

Action

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


Action

protected Action(Uoid uoid,
                 ObjectType equandaType,
                 Timestamp equandaCreationDate,
                 Timestamp equandaModificationDate,
                 String equandaStatus,
                 long equandaVersion,
                 String theString,
                 Date theDate,
                 Timestamp theTime,
                 boolean theBool,
                 int theInt,
                 double theDouble)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Action equandaCreate()
                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getTheString

public String getTheString()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTheString

public void setTheString(String value)

isTheStringModified

public boolean isTheStringModified()

getTheDate

public Date getTheDate()
                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTheDate

public void setTheDate(Date value)

isTheDateModified

public boolean isTheDateModified()

getTheTime

public Timestamp getTheTime()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTheTime

public void setTheTime(Timestamp value)

isTheTimeModified

public boolean isTheTimeModified()

getTheBool

public boolean getTheBool()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isTheBool

public boolean isTheBool()

setTheBool

public void setTheBool(boolean value)

isTheBoolModified

public boolean isTheBoolModified()

getTheInt

public int getTheInt()
              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTheInt

public void setTheInt(int value)

isTheIntModified

public boolean isTheIntModified()

getTheDouble

public double getTheDouble()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTheDouble

public void setTheDouble(double value)

isTheDoubleModified

public boolean isTheDoubleModified()

getPassport

public Passport getPassport()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setPassport

public void setPassport(Passport value)

isPassportModified

public boolean isPassportModified()

getMulStr

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

setMulStr

public void setMulStr(Collection<String> value)

isMulStrModified

public boolean isMulStrModified()

hashCode

public int hashCode(String param0)
             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

voidAction

public void voidAction(String param0,
                       int param1)
                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

failingAction

public void failingAction(String param0,
                          int param1)
                   throws EquandaPersistenceException
this should fail

Throws:
EquandaPersistenceException

addAction

public void addAction(int param0)
               throws EquandaPersistenceException
Add a value in the TheInt field.

Throws:
EquandaPersistenceException

suggestValueAction

public void suggestValueAction(String param0,
                               int param1,
                               double param2,
                               Date param3,
                               Timestamp param4,
                               boolean param5)
                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

suggestValueListAction

public void suggestValueListAction(String param0,
                                   int param1,
                                   double param2,
                                   Date param3,
                                   Timestamp param4,
                                   boolean param5)
                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

suggestFieldAction

public void suggestFieldAction(String param0,
                               int param1,
                               double param2,
                               Date param3,
                               Timestamp param4,
                               boolean param5)
                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

suggestPathAction

public void suggestPathAction(String param0)
                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

suggestTableAction

public void suggestTableAction(String param0)
                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaUpdate

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

removeEntityBean

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

selectId

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

selectByDate

public static List<Action> selectByDate(Date theDate)
                                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSingleInt

public static Action selectSingleInt(int theInt)
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEverything

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.