org.equanda.test.dm.client
Class StringMaxLen

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedStrMax10CharsMultiple
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  StringMaxLen()
          Creator which is used to build value objects based on the real object.
protected StringMaxLen(EquandaStringMaxLenState proxy)
           
protected StringMaxLen(String strMax10CharsImmutable)
           
protected StringMaxLen(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, String strMax10Chars, String strMax10CharsImmutable)
           
 
Method Summary
 StringMaxLen equandaClone(boolean cloneUoid)
           
static StringMaxLen equandaCreate()
           
static StringMaxLen equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 String getStrMax10Chars()
           
 String getStrMax10CharsImmutable()
           
 Collection<String> getStrMax10CharsMultiple()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isStrMax10CharsImmutableModified()
           
 boolean isStrMax10CharsModified()
           
 boolean isStrMax10CharsMultipleModified()
           
 void removeEntityBean()
           
static List<StringMaxLen> selectEquandaAll()
           
static StringMaxLen selectId(Uoid uoid)
           
static List<StringMaxLen> selectStrMax10CharsImmutable(String strMax10CharsImmutable)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setStrMax10Chars(String value)
           
 void setStrMax10CharsImmutable(String value)
           
 void setStrMax10CharsMultiple(Collection<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
 

Field Detail

_obtainedStrMax10CharsMultiple

protected boolean _obtainedStrMax10CharsMultiple
Constructor Detail

StringMaxLen

protected StringMaxLen(EquandaStringMaxLenState proxy)

StringMaxLen

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


StringMaxLen

protected StringMaxLen(String strMax10CharsImmutable)

StringMaxLen

protected StringMaxLen(Uoid uoid,
                       ObjectType equandaType,
                       Timestamp equandaCreationDate,
                       Timestamp equandaModificationDate,
                       String equandaStatus,
                       long equandaVersion,
                       String strMax10Chars,
                       String strMax10CharsImmutable)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static StringMaxLen equandaCreate()
                                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getStrMax10Chars

public String getStrMax10Chars()
                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setStrMax10Chars

public void setStrMax10Chars(String value)

isStrMax10CharsModified

public boolean isStrMax10CharsModified()

getStrMax10CharsImmutable

public String getStrMax10CharsImmutable()
                                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setStrMax10CharsImmutable

public void setStrMax10CharsImmutable(String value)

isStrMax10CharsImmutableModified

public boolean isStrMax10CharsImmutableModified()

getStrMax10CharsMultiple

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

setStrMax10CharsMultiple

public void setStrMax10CharsMultiple(Collection<String> value)

isStrMax10CharsMultipleModified

public boolean isStrMax10CharsMultipleModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectStrMax10CharsImmutable

public static List<StringMaxLen> selectStrMax10CharsImmutable(String strMax10CharsImmutable)
                                                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.