org.equanda.test.dm.client
Class VeryDocumented

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

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

Proxy object for table VeryDocumented No constraints are being checked when modifying this object, this only happens when setting the value! This table has descriptions for everything.It's meant to "test" the docs generation.

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedMulLnk
           
protected  boolean _obtainedMulStr
           
protected  boolean _obtainedSingleLink
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  VeryDocumented()
          Creator which is used to build value objects based on the real object.
protected VeryDocumented(EquandaVeryDocumentedState proxy)
           
protected VeryDocumented(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, int group1TestInt, String group1TestStr, Date group1TestDate, Date group2TestDate, Date independentField)
           
 
Method Summary
 VeryDocumented equandaClone(boolean cloneUoid)
           
static VeryDocumented equandaCreate()
           
static VeryDocumented equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 Date getGroup1TestDate()
           
 int getGroup1TestInt()
           
 String getGroup1TestStr()
          a field of type string.
 Date getGroup2TestDate()
          a field of type date
 Date getIndependentField()
          a field of type date.
 Linkable getMulLnk()
          a multiple link
 Collection<String> getMulStr()
          a multiple field of type string
 Linkable getSingleLink()
          a single link
 int hashCode(String param0)
          String hash
 int hashCode2(String param0, String param1)
          another String hash, with 2 params
 boolean isGroup1TestDateModified()
           
 boolean isGroup1TestIntModified()
           
 boolean isGroup1TestStrModified()
          a field of type string.
 boolean isGroup2TestDateModified()
          a field of type date
 boolean isIndependentFieldModified()
          a field of type date.
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isMulLnkModified()
          a multiple link
 boolean isMulStrModified()
          a multiple field of type string
 boolean isSingleLinkModified()
          a single link
 void removeEntityBean()
           
static VeryDocumented selectByGroup1TestInt(int group1TestInt)
           
static List<VeryDocumented> selectByIndependentField(Date independentField)
           
static List<VeryDocumented> selectEquandaAll()
           
static VeryDocumented selectId(Uoid uoid)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
 void setGroup1TestDate(Date value)
           
 void setGroup1TestInt(int value)
           
 void setGroup1TestStr(String value)
          a field of type string.
 void setGroup2TestDate(Date value)
          a field of type date
protected  void setId(Uoid uoid)
           
 void setIndependentField(Date value)
          a field of type date.
 void setMulLnk(Linkable value)
          a multiple link
 void setMulStr(Collection<String> value)
          a multiple field of type string
 void setSingleLink(Linkable value)
          a single link
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

_obtainedMulStr

protected boolean _obtainedMulStr

_obtainedSingleLink

protected boolean _obtainedSingleLink

_obtainedMulLnk

protected boolean _obtainedMulLnk
Constructor Detail

VeryDocumented

protected VeryDocumented(EquandaVeryDocumentedState proxy)

VeryDocumented

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


VeryDocumented

protected VeryDocumented(Uoid uoid,
                         ObjectType equandaType,
                         Timestamp equandaCreationDate,
                         Timestamp equandaModificationDate,
                         String equandaStatus,
                         long equandaVersion,
                         int group1TestInt,
                         String group1TestStr,
                         Date group1TestDate,
                         Date group2TestDate,
                         Date independentField)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static VeryDocumented equandaCreate()
                                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getGroup1TestInt

public int getGroup1TestInt()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setGroup1TestInt

public void setGroup1TestInt(int value)

isGroup1TestIntModified

public boolean isGroup1TestIntModified()

getGroup1TestStr

public String getGroup1TestStr()
                        throws EquandaPersistenceException
a field of type string. length is 10. Part of group 1.

Throws:
EquandaPersistenceException

setGroup1TestStr

public void setGroup1TestStr(String value)
a field of type string. length is 10. Part of group 1.


isGroup1TestStrModified

public boolean isGroup1TestStrModified()
a field of type string. length is 10. Part of group 1.


getGroup1TestDate

public Date getGroup1TestDate()
                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setGroup1TestDate

public void setGroup1TestDate(Date value)

isGroup1TestDateModified

public boolean isGroup1TestDateModified()

getGroup2TestDate

public Date getGroup2TestDate()
                       throws EquandaPersistenceException
a field of type date

Throws:
EquandaPersistenceException

setGroup2TestDate

public void setGroup2TestDate(Date value)
a field of type date


isGroup2TestDateModified

public boolean isGroup2TestDateModified()
a field of type date


getIndependentField

public Date getIndependentField()
                         throws EquandaPersistenceException
a field of type date. not part of a group

Throws:
EquandaPersistenceException

setIndependentField

public void setIndependentField(Date value)
a field of type date. not part of a group


isIndependentFieldModified

public boolean isIndependentFieldModified()
a field of type date. not part of a group


getMulStr

public Collection<String> getMulStr()
                             throws EquandaPersistenceException
a multiple field of type string

Throws:
EquandaPersistenceException

setMulStr

public void setMulStr(Collection<String> value)
a multiple field of type string


isMulStrModified

public boolean isMulStrModified()
a multiple field of type string


getSingleLink

public Linkable getSingleLink()
                       throws EquandaPersistenceException
a single link

Throws:
EquandaPersistenceException

setSingleLink

public void setSingleLink(Linkable value)
a single link


isSingleLinkModified

public boolean isSingleLinkModified()
a single link


getMulLnk

public Linkable getMulLnk()
                   throws EquandaPersistenceException
a multiple link

Throws:
EquandaPersistenceException

setMulLnk

public void setMulLnk(Linkable value)
a multiple link


isMulLnkModified

public boolean isMulLnkModified()
a multiple link


hashCode

public int hashCode(String param0)
             throws EquandaPersistenceException
String hash

Throws:
EquandaPersistenceException

hashCode2

public int hashCode2(String param0,
                     String param1)
              throws EquandaPersistenceException
another String hash, with 2 params

Throws:
EquandaPersistenceException

equandaUpdate

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

removeEntityBean

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

selectId

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

selectByIndependentField

public static List<VeryDocumented> selectByIndependentField(Date independentField)
                                                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectByGroup1TestInt

public static VeryDocumented selectByGroup1TestInt(int group1TestInt)
                                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.