org.equanda.test.dm.client
Class Compare

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

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

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

See Also:
Serialized Form

Field Summary
protected  boolean _obtainedWheeledVehicle
           
protected  boolean _obtainedWheeledVehicles
           
 
Fields inherited from class org.equanda.persistence.EquandaProxy
equandaModificationDate, equandaStatusModified, equandaType, equandaVersion, id, update
 
Constructor Summary
  Compare()
          Creator which is used to build value objects based on the real object.
protected Compare(EquandaCompareState proxy)
           
protected Compare(int testImmutableInt, double testImmutableDouble)
           
protected Compare(Uoid uoid, ObjectType equandaType, Timestamp equandaCreationDate, Timestamp equandaModificationDate, String equandaStatus, long equandaVersion, boolean bool1, int int1, double double1, String str1, Date dat1, Timestamp time1, boolean bool2, int int2, double double2, String str2, Date dat2, Timestamp time2, Date dateFuture, Timestamp timePast, int testImmutableInt, double testImmutableDouble)
           
 
Method Summary
 Compare equandaClone(boolean cloneUoid)
           
static Compare equandaCreate()
           
static Compare equandaCreate(String type)
           
 void equandaReset()
          Reset the proxy state.
 void equandaUpdate(boolean updateTypeFieldsOnly)
           
 boolean getBool1()
           
 boolean getBool2()
           
 Date getDat1()
           
 Date getDat2()
           
 Date getDateFuture()
           
 double getDouble1()
           
 double getDouble2()
           
 Timestamp getEquandaCreationDate()
           
 String getEquandaStatus()
           
 int getInt1()
           
 int getInt2()
           
 String getStr1()
           
 String getStr2()
           
 double getTestImmutableDouble()
           
 int getTestImmutableInt()
           
 Timestamp getTime1()
           
 Timestamp getTime2()
           
 Timestamp getTimePast()
           
 Vehicle getWheeledVehicle()
           
 Collection<Vehicle> getWheeledVehicles()
           
 boolean isBool1()
           
 boolean isBool1Modified()
           
 boolean isBool2()
           
 boolean isBool2Modified()
           
 boolean isDat1Modified()
           
 boolean isDat2Modified()
           
 boolean isDateFutureModified()
           
 boolean isDouble1Modified()
           
 boolean isDouble2Modified()
           
 boolean isInt1Modified()
           
 boolean isInt2Modified()
           
 boolean isModified(boolean typeFieldsOnly)
           
 boolean isStr1Modified()
           
 boolean isStr2Modified()
           
 boolean isTestImmutableDoubleModified()
           
 boolean isTestImmutableIntModified()
           
 boolean isTime1Modified()
           
 boolean isTime2Modified()
           
 boolean isTimePastModified()
           
 boolean isWheeledVehicleModified()
           
 boolean isWheeledVehiclesModified()
           
 void removeEntityBean()
           
static List<Compare> selectEquandaAll()
           
static Compare selectId(Uoid uoid)
           
 void setBool1(boolean value)
           
 void setBool2(boolean value)
           
 void setDat1(Date value)
           
 void setDat2(Date value)
           
 void setDateFuture(Date value)
           
 void setDouble1(double value)
           
 void setDouble2(double value)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
          Set the type of object which should be used.
protected  void setId(Uoid uoid)
           
 void setInt1(int value)
           
 void setInt2(int value)
           
 void setStr1(String value)
           
 void setStr2(String value)
           
 void setTestImmutableDouble(double value)
           
 void setTestImmutableInt(int value)
           
 void setTime1(Timestamp value)
           
 void setTime2(Timestamp value)
           
 void setTimePast(Timestamp value)
           
 void setWheeledVehicle(Vehicle value)
           
 void setWheeledVehicles(Collection<Vehicle> 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

_obtainedWheeledVehicle

protected boolean _obtainedWheeledVehicle

_obtainedWheeledVehicles

protected boolean _obtainedWheeledVehicles
Constructor Detail

Compare

protected Compare(EquandaCompareState proxy)

Compare

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


Compare

protected Compare(int testImmutableInt,
                  double testImmutableDouble)

Compare

protected Compare(Uoid uoid,
                  ObjectType equandaType,
                  Timestamp equandaCreationDate,
                  Timestamp equandaModificationDate,
                  String equandaStatus,
                  long equandaVersion,
                  boolean bool1,
                  int int1,
                  double double1,
                  String str1,
                  Date dat1,
                  Timestamp time1,
                  boolean bool2,
                  int int2,
                  double double2,
                  String str2,
                  Date dat2,
                  Timestamp time2,
                  Date dateFuture,
                  Timestamp timePast,
                  int testImmutableInt,
                  double testImmutableDouble)
Method Detail

equandaClone

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

setId

protected void setId(Uoid uoid)

updateInternalState

protected void updateInternalState()

equandaCreate

public static Compare equandaCreate()
                             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

equandaCreate

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

getEquandaStatus

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

setEquandaStatus

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

getEquandaCreationDate

public Timestamp getEquandaCreationDate()

getBool1

public boolean getBool1()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isBool1

public boolean isBool1()

setBool1

public void setBool1(boolean value)

isBool1Modified

public boolean isBool1Modified()

getInt1

public int getInt1()
            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setInt1

public void setInt1(int value)

isInt1Modified

public boolean isInt1Modified()

getDouble1

public double getDouble1()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDouble1

public void setDouble1(double value)

isDouble1Modified

public boolean isDouble1Modified()

getStr1

public String getStr1()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setStr1

public void setStr1(String value)

isStr1Modified

public boolean isStr1Modified()

getDat1

public Date getDat1()
             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDat1

public void setDat1(Date value)

isDat1Modified

public boolean isDat1Modified()

getTime1

public Timestamp getTime1()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTime1

public void setTime1(Timestamp value)

isTime1Modified

public boolean isTime1Modified()

getBool2

public boolean getBool2()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException

isBool2

public boolean isBool2()

setBool2

public void setBool2(boolean value)

isBool2Modified

public boolean isBool2Modified()

getInt2

public int getInt2()
            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setInt2

public void setInt2(int value)

isInt2Modified

public boolean isInt2Modified()

getDouble2

public double getDouble2()
                  throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDouble2

public void setDouble2(double value)

isDouble2Modified

public boolean isDouble2Modified()

getStr2

public String getStr2()
               throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setStr2

public void setStr2(String value)

isStr2Modified

public boolean isStr2Modified()

getDat2

public Date getDat2()
             throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDat2

public void setDat2(Date value)

isDat2Modified

public boolean isDat2Modified()

getTime2

public Timestamp getTime2()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTime2

public void setTime2(Timestamp value)

isTime2Modified

public boolean isTime2Modified()

getDateFuture

public Date getDateFuture()
                   throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setDateFuture

public void setDateFuture(Date value)

isDateFutureModified

public boolean isDateFutureModified()

getTimePast

public Timestamp getTimePast()
                      throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTimePast

public void setTimePast(Timestamp value)

isTimePastModified

public boolean isTimePastModified()

getTestImmutableInt

public int getTestImmutableInt()
                        throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestImmutableInt

public void setTestImmutableInt(int value)

isTestImmutableIntModified

public boolean isTestImmutableIntModified()

getTestImmutableDouble

public double getTestImmutableDouble()
                              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setTestImmutableDouble

public void setTestImmutableDouble(double value)

isTestImmutableDoubleModified

public boolean isTestImmutableDoubleModified()

getWheeledVehicle

public Vehicle getWheeledVehicle()
                          throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setWheeledVehicle

public void setWheeledVehicle(Vehicle value)

isWheeledVehicleModified

public boolean isWheeledVehicleModified()

getWheeledVehicles

public Collection<Vehicle> getWheeledVehicles()
                                       throws EquandaPersistenceException
Throws:
EquandaPersistenceException

setWheeledVehicles

public void setWheeledVehicles(Collection<Vehicle> value)

isWheeledVehiclesModified

public boolean isWheeledVehiclesModified()

equandaUpdate

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

removeEntityBean

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

selectId

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

selectEquandaAll

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


Copyright © 2007-2008. All Rights Reserved.