org.equanda.test.dm.client
Class CocoonMan

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedCar
           
protected  boolean _obtainedDatesToRemember
           
protected  boolean _obtainedHiddenCar
           
protected  boolean _obtainedLazyInst
           
protected  boolean _obtainedManyCars
           
protected  boolean _obtainedPassport
           
protected  boolean _obtainedPreviousJobs
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  CocoonMan()
          Creator which is used to build value objects based on the real object.
protected CocoonMan(EquandaCocoonManState proxy)
           
protected CocoonMan(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String firstName, String lastName, Date dateOfBirth, Timestamp sometime, boolean employed, double height, int noOfChildren, int hiddenInt, byte[] blob, String clob, String wikiString, String wikiClob, String proxy)
           
 
Method Summary
 CocoonMan equandaClone(boolean cloneUoid)
           
static CocoonMan equandaCreate()
           
static CocoonMan equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 byte[] getBlob()
           
 Car getCar()
          an ajax select link
 String getClob()
           
 Date getDateOfBirth()
           
 Collection<Date> getDatesToRemember()
           
 boolean getEmployed()
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 String getFirstName()
           
 double getHeight()
           
 Car getHiddenCar()
           
 int getHiddenInt()
           
 String getLastName()
           
 LazyInst getLazyInst()
          a combobox link
 Collection<Car> getManyCars()
           
 int getNoOfChildren()
           
 Passport getPassport()
          a button select link
 Collection<String> getPreviousJobs()
           
 String getProxy()
          Field added to assure possible name clashes don't cause troubles.
 Timestamp getSometime()
           
 String getWikiClob()
           
 String getWikiString()
           
 boolean isBlobModified()
           
 boolean isCarModified()
          an ajax select link
 boolean isClobModified()
           
 boolean isDateOfBirthModified()
           
 boolean isDatesToRememberModified()
           
 boolean isEmployed()
           
 boolean isEmployedModified()
           
 boolean isFirstNameModified()
           
 boolean isHeightModified()
           
 boolean isHiddenCarModified()
           
 boolean isHiddenIntModified()
           
 boolean isLastNameModified()
           
 boolean isLazyInstModified()
          a combobox link
 boolean isManyCarsModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isNoOfChildrenModified()
           
 boolean isPassportModified()
          a button select link
 boolean isPreviousJobsModified()
           
 boolean isProxyModified()
          Field added to assure possible name clashes don't cause troubles.
 boolean isSometimeModified()
           
 boolean isWikiClobModified()
           
 boolean isWikiStringModified()
           
 void removeEntityBean()
           
static List<CocoonMan> selectAll()
           
static List<CocoonMan> selectEquandaAll()
           
static CocoonMan selectId(Uoid uoid)
           
static List<CocoonMan> selectPersonByBirthdate(Date dateOfBirth)
           
static List<CocoonMan> selectPersonByHeight(double height)
           
static List<CocoonMan> selectPersonByLastName(String lastName)
           
static List<CocoonMan> selectPersonByName(String firstName, String lastName)
           
static List<CocoonMan> selectPersonByStatus(boolean employed)
           
static List<CocoonMan> selectPersonByTimestamp(Timestamp sometime)
           
static List<CocoonMan> selectSelectionsWithSuggests(String firstName, String lastName, boolean employed, Date dateOfBirth, double height, Timestamp sometime, int noOfChildren)
           
static List<CocoonMan> selectSelectionsWithValueListSuggests(String firstName, String lastName, boolean employed, Date dateOfBirth, double height, Timestamp sometime, int noOfChildren)
           
static List<CocoonMan> selectSelectWithLimit(boolean employed, int equandaLimit)
           
 void setBlob(byte[] value)
           
 void setCar(Car value)
          an ajax select link
 void setClob(String value)
           
 void setDateOfBirth(Date value)
           
 void setDatesToRemember(Collection<Date> value)
           
 void setEmployed(boolean value)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
 void setFirstName(String value)
           
 void setHeight(double value)
           
 void setHiddenCar(Car value)
           
 void setHiddenInt(int value)
           
protected  void setId(Uoid uoid)
           
 void setLastName(String value)
           
 void setLazyInst(LazyInst value)
          a combobox link
 void setManyCars(Collection<Car> value)
           
 void setNoOfChildren(int value)
           
 void setPassport(Passport value)
          a button select link
 void setPreviousJobs(Collection<String> value)
           
 void setProxy(String value)
          Field added to assure possible name clashes don't cause troubles.
 void setSometime(Timestamp value)
           
 void setWikiClob(String value)
           
 void setWikiString(String value)
           
 void TestAction()
           
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

_obtainedPreviousJobs

protected boolean _obtainedPreviousJobs

_obtainedDatesToRemember

protected boolean _obtainedDatesToRemember

_obtainedCar

protected boolean _obtainedCar

_obtainedHiddenCar

protected boolean _obtainedHiddenCar

_obtainedManyCars

protected boolean _obtainedManyCars

_obtainedPassport

protected boolean _obtainedPassport

_obtainedLazyInst

protected boolean _obtainedLazyInst
Constructor Detail

CocoonMan

protected CocoonMan(EquandaCocoonManState proxy)

CocoonMan

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


CocoonMan

protected CocoonMan(Uoid uoid,
                    ObjectType equandaType,
                    Timestamp equandaCreationDate,
                    Timestamp equandaModificationDate,
                    String equandaStatus,
                    long equandaVersion,
                    String firstName,
                    String lastName,
                    Date dateOfBirth,
                    Timestamp sometime,
                    boolean employed,
                    double height,
                    int noOfChildren,
                    int hiddenInt,
                    byte[] blob,
                    String clob,
                    String wikiString,
                    String wikiClob,
                    String proxy)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static CocoonMan equandaCreate()
                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getFirstName

public String getFirstName()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setFirstName

public void setFirstName(String value)

isFirstNameModified

public boolean isFirstNameModified()

getLastName

public String getLastName()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setLastName

public void setLastName(String value)

isLastNameModified

public boolean isLastNameModified()

getDateOfBirth

public Date getDateOfBirth()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDateOfBirth

public void setDateOfBirth(Date value)

isDateOfBirthModified

public boolean isDateOfBirthModified()

getSometime

public Timestamp getSometime()
                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setSometime

public void setSometime(Timestamp value)

isSometimeModified

public boolean isSometimeModified()

getEmployed

public boolean getEmployed()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isEmployed

public boolean isEmployed()

setEmployed

public void setEmployed(boolean value)

isEmployedModified

public boolean isEmployedModified()

getHeight

public double getHeight()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setHeight

public void setHeight(double value)

isHeightModified

public boolean isHeightModified()

getNoOfChildren

public int getNoOfChildren()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setNoOfChildren

public void setNoOfChildren(int value)

isNoOfChildrenModified

public boolean isNoOfChildrenModified()

getPreviousJobs

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

setPreviousJobs

public void setPreviousJobs(Collection<String> value)

isPreviousJobsModified

public boolean isPreviousJobsModified()

getDatesToRemember

public Collection<Date> getDatesToRemember()
                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDatesToRemember

public void setDatesToRemember(Collection<Date> value)

isDatesToRememberModified

public boolean isDatesToRememberModified()

getCar

public Car getCar()
           throws EquandaPersistenceException
an ajax select link

Throws:
EquandaPersistenceException

setCar

public void setCar(Car value)
an ajax select link


isCarModified

public boolean isCarModified()
an ajax select link


getHiddenInt

public int getHiddenInt()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setHiddenInt

public void setHiddenInt(int value)

isHiddenIntModified

public boolean isHiddenIntModified()

getHiddenCar

public Car getHiddenCar()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setHiddenCar

public void setHiddenCar(Car value)

isHiddenCarModified

public boolean isHiddenCarModified()

getManyCars

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

setManyCars

public void setManyCars(Collection<Car> value)

isManyCarsModified

public boolean isManyCarsModified()

getBlob

public byte[] getBlob()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setBlob

public void setBlob(byte[] value)

isBlobModified

public boolean isBlobModified()

getClob

public String getClob()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setClob

public void setClob(String value)

isClobModified

public boolean isClobModified()

getWikiString

public String getWikiString()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setWikiString

public void setWikiString(String value)

isWikiStringModified

public boolean isWikiStringModified()

getWikiClob

public String getWikiClob()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setWikiClob

public void setWikiClob(String value)

isWikiClobModified

public boolean isWikiClobModified()

getPassport

public Passport getPassport()
                     throws EquandaPersistenceException
a button select link

Throws:
EquandaPersistenceException

setPassport

public void setPassport(Passport value)
a button select link


isPassportModified

public boolean isPassportModified()
a button select link


getProxy

public String getProxy()
                throws EquandaPersistenceException
Field added to assure possible name clashes don't cause troubles.

Throws:
EquandaPersistenceException

setProxy

public void setProxy(String value)
Field added to assure possible name clashes don't cause troubles.


isProxyModified

public boolean isProxyModified()
Field added to assure possible name clashes don't cause troubles.


getLazyInst

public LazyInst getLazyInst()
                     throws EquandaPersistenceException
a combobox link

Throws:
EquandaPersistenceException

setLazyInst

public void setLazyInst(LazyInst value)
a combobox link


isLazyInstModified

public boolean isLazyInstModified()
a combobox link


TestAction

public void TestAction()
                throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaUpdate

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

removeEntityBean

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

selectId

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

selectPersonByName

public static List<CocoonMan> selectPersonByName(String firstName,
                                                 String lastName)
                                          throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectPersonByLastName

public static List<CocoonMan> selectPersonByLastName(String lastName)
                                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectPersonByBirthdate

public static List<CocoonMan> selectPersonByBirthdate(Date dateOfBirth)
                                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectPersonByStatus

public static List<CocoonMan> selectPersonByStatus(boolean employed)
                                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectPersonByHeight

public static List<CocoonMan> selectPersonByHeight(double height)
                                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectPersonByTimestamp

public static List<CocoonMan> selectPersonByTimestamp(Timestamp sometime)
                                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectWithLimit

public static List<CocoonMan> selectSelectWithLimit(boolean employed,
                                                    int equandaLimit)
                                             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectionsWithSuggests

public static List<CocoonMan> selectSelectionsWithSuggests(String firstName,
                                                           String lastName,
                                                           boolean employed,
                                                           Date dateOfBirth,
                                                           double height,
                                                           Timestamp sometime,
                                                           int noOfChildren)
                                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectionsWithValueListSuggests

public static List<CocoonMan> selectSelectionsWithValueListSuggests(String firstName,
                                                                    String lastName,
                                                                    boolean employed,
                                                                    Date dateOfBirth,
                                                                    double height,
                                                                    Timestamp sometime,
                                                                    int noOfChildren)
                                                             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectAll

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.