org.equanda.test.dm.client
Class SubSelect

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

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

Proxy object for table SubSelect 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
  SubSelect()
          Creator which is used to build value objects based on the real object.
protected SubSelect(EquandaSubSelectState proxy)
           
protected SubSelect(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String reference, String animalType, String articleGroup, String article, String data)
           
 
Method Summary
 SubSelect equandaClone(boolean cloneUoid)
           
static SubSelect equandaCreate()
           
static SubSelect equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 String getAnimalType()
           
 String getArticle()
           
 String getArticleGroup()
           
 String getData()
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 String getReference()
           
 boolean isAnimalTypeModified()
           
 boolean isArticleGroupModified()
           
 boolean isArticleModified()
           
 boolean isDataModified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isReferenceModified()
           
 void removeEntityBean()
           
static List<SubSelect> selectEquandaAll()
           
static List<SubSelect> selectEquandaReferenceStart(String reference)
           
static SubSelect selectId(Uoid uoid)
           
static List<SubSelect> selectMultipleSelectAdd(String reference, String animalType, String articleGroup, String article)
           
static List<SubSelect> selectMultipleSelectTry(String reference, String animalType, String articleGroup, String article)
           
static List<SubSelect> selectSelectAddWithLimitAndOrder(String reference, String data, int equandaLimit)
           
static SubSelect selectSelectTestNotNullAnd(String animalType)
           
static SubSelect selectSelectTestNotNullTry()
           
static SubSelect selectSelectTestNullAnd(String animalType, String article)
           
static SubSelect selectSelectTestNullTry(String reference, String article)
           
static SubSelect selectSingleSelectTry(String reference, String animalType, String articleGroup, String article)
           
 void setAnimalType(String value)
           
 void setArticle(String value)
           
 void setArticleGroup(String value)
           
 void setData(String value)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setReference(String 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

SubSelect

protected SubSelect(EquandaSubSelectState proxy)

SubSelect

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


SubSelect

protected SubSelect(Uoid uoid,
                    ObjectType equandaType,
                    Timestamp equandaCreationDate,
                    Timestamp equandaModificationDate,
                    String equandaStatus,
                    long equandaVersion,
                    String reference,
                    String animalType,
                    String articleGroup,
                    String article,
                    String data)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static SubSelect equandaCreate()
                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getReference

public String getReference()
                    throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setReference

public void setReference(String value)

isReferenceModified

public boolean isReferenceModified()

getAnimalType

public String getAnimalType()
                     throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setAnimalType

public void setAnimalType(String value)

isAnimalTypeModified

public boolean isAnimalTypeModified()

getArticleGroup

public String getArticleGroup()
                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setArticleGroup

public void setArticleGroup(String value)

isArticleGroupModified

public boolean isArticleGroupModified()

getArticle

public String getArticle()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setArticle

public void setArticle(String value)

isArticleModified

public boolean isArticleModified()

getData

public String getData()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setData

public void setData(String value)

isDataModified

public boolean isDataModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectSelectTestNullTry

public static SubSelect selectSelectTestNullTry(String reference,
                                                String article)
                                         throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectTestNotNullTry

public static SubSelect selectSelectTestNotNullTry()
                                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectTestNullAnd

public static SubSelect selectSelectTestNullAnd(String animalType,
                                                String article)
                                         throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectTestNotNullAnd

public static SubSelect selectSelectTestNotNullAnd(String animalType)
                                            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSingleSelectTry

public static SubSelect selectSingleSelectTry(String reference,
                                              String animalType,
                                              String articleGroup,
                                              String article)
                                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectMultipleSelectTry

public static List<SubSelect> selectMultipleSelectTry(String reference,
                                                      String animalType,
                                                      String articleGroup,
                                                      String article)
                                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectMultipleSelectAdd

public static List<SubSelect> selectMultipleSelectAdd(String reference,
                                                      String animalType,
                                                      String articleGroup,
                                                      String article)
                                               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectSelectAddWithLimitAndOrder

public static List<SubSelect> selectSelectAddWithLimitAndOrder(String reference,
                                                               String data,
                                                               int equandaLimit)
                                                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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

selectEquandaReferenceStart

public static List<SubSelect> selectEquandaReferenceStart(String reference)
                                                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException


Copyright © 2007-2008. All Rights Reserved.