org.equanda.test.dm.server.pm
Class DMVehicleBean

java.lang.Object
  extended by org.equanda.test.dm.server.pm.DMVehicleBean
All Implemented Interfaces:
Serializable, EquandaEntity

public class DMVehicleBean
extends Object
implements EquandaEntity, Serializable

Entity representation for Vehicle

See Also:
Serialized Form

Field Summary
protected  Timestamp equandaCreation
           
protected  Timestamp equandaModified
           
protected  String equandaStatus
           
protected  boolean equandaStatusModified
           
protected  String equandaType
           
protected  long equandaVersion
           
protected  Uoid uoid
           
 
Constructor Summary
protected DMVehicleBean()
           
  DMVehicleBean(String type)
           
 
Method Summary
protected  void equandaPostLoad()
           
 void equandaPreUpdate()
           
 int getColourCode()
           
 Collection<DMCompareBean> getEquandaCompareWheeledVehicle()
           
 Collection<DMCompareBean> getEquandaCompareWheeledVehicles()
           
 Timestamp getEquandaCreationDate()
           
 Timestamp getEquandaModificationDate()
           
 String getEquandaStatus()
           
 String getEquandaType()
           
 long getEquandaVersion()
           
 Uoid getId()
           
 String getName()
           
 int getRadius()
           
 double getSpanWidth()
           
 int getSpeed()
           
 int getWheelCount()
           
 void modified()
          Indicate that the modification timestamp needs to be updated.
 void setColourCode(int colourCode)
           
 void setEquandaCompareWheeledVehicle(Collection<DMCompareBean> set)
           
 void setEquandaCompareWheeledVehicles(Collection<DMCompareBean> set)
           
 void setEquandaCreationDate(Timestamp created)
           
 void setEquandaModificationDate(Timestamp modified)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
           
protected  void setEquandaVersion(long version)
           
protected  void setId(Uoid uoid)
           
 void setName(String name)
           
 void setRadius(int radius)
           
 void setSpanWidth(double spanWidth)
           
 void setSpeed(int speed)
           
 void setWheelCount(int wheelCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uoid

protected Uoid uoid

equandaType

protected String equandaType

equandaStatus

protected String equandaStatus

equandaStatusModified

protected transient boolean equandaStatusModified

equandaCreation

protected Timestamp equandaCreation

equandaModified

protected Timestamp equandaModified

equandaVersion

protected long equandaVersion
Constructor Detail

DMVehicleBean

public DMVehicleBean(String type)
              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

DMVehicleBean

protected DMVehicleBean()
                 throws EquandaPersistenceException
Throws:
EquandaPersistenceException
Method Detail

getId

public Uoid getId()
Specified by:
getId in interface EquandaEntity

setId

protected void setId(Uoid uoid)

getEquandaCreationDate

public Timestamp getEquandaCreationDate()
Specified by:
getEquandaCreationDate in interface EquandaEntity

setEquandaCreationDate

public void setEquandaCreationDate(Timestamp created)

getEquandaModificationDate

public Timestamp getEquandaModificationDate()
Specified by:
getEquandaModificationDate in interface EquandaEntity

setEquandaModificationDate

public void setEquandaModificationDate(Timestamp modified)
Specified by:
setEquandaModificationDate in interface EquandaEntity

equandaPostLoad

protected void equandaPostLoad()

equandaPreUpdate

public void equandaPreUpdate()

modified

public void modified()
Indicate that the modification timestamp needs to be updated. Should be called when changing something in one of the collections.


getEquandaType

public String getEquandaType()
Specified by:
getEquandaType in interface EquandaEntity

setEquandaType

public void setEquandaType(String type)

getEquandaVersion

public long getEquandaVersion()
Specified by:
getEquandaVersion in interface EquandaEntity

setEquandaVersion

protected void setEquandaVersion(long version)

getEquandaStatus

public String getEquandaStatus()
Specified by:
getEquandaStatus in interface EquandaEntity

setEquandaStatus

public void setEquandaStatus(String status)
Specified by:
setEquandaStatus in interface EquandaEntity

getEquandaCompareWheeledVehicle

public Collection<DMCompareBean> getEquandaCompareWheeledVehicle()

setEquandaCompareWheeledVehicle

public void setEquandaCompareWheeledVehicle(Collection<DMCompareBean> set)

getEquandaCompareWheeledVehicles

public Collection<DMCompareBean> getEquandaCompareWheeledVehicles()

setEquandaCompareWheeledVehicles

public void setEquandaCompareWheeledVehicles(Collection<DMCompareBean> set)

getName

public String getName()

setName

public void setName(String name)

getColourCode

public int getColourCode()

setColourCode

public void setColourCode(int colourCode)

getSpeed

public int getSpeed()

setSpeed

public void setSpeed(int speed)

getSpanWidth

public double getSpanWidth()

setSpanWidth

public void setSpanWidth(double spanWidth)

getRadius

public int getRadius()

setRadius

public void setRadius(int radius)

getWheelCount

public int getWheelCount()

setWheelCount

public void setWheelCount(int wheelCount)


Copyright © 2007-2008. All Rights Reserved.