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

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

public class DMOwnerBean
extends Object
implements EquandaEntity, Serializable

Entity representation for Owner

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 DMOwnerBean()
           
  DMOwnerBean(String type)
           
 
Method Summary
protected  void equandaPostLoad()
           
 void equandaPreUpdate()
           
 Collection<DMCarBean> getCars()
           
 Collection<DMCarBean> getCarsWichHeLikes()
           
 String getDreamCar()
           
 Timestamp getEquandaCreationDate()
           
 Timestamp getEquandaModificationDate()
           
 String getEquandaStatus()
           
 String getEquandaType()
           
 long getEquandaVersion()
           
 Collection<DMOwner_GarageCarsBean> getGarageCars()
           
 int getGarageCount()
           
 double getGarageM2()
           
 Uoid getId()
           
 DMLazyInstBean getLazyInstEmbedded()
           
 DMLazyInstBean getLazyInstEmbeddedBi()
           
 Collection<DMLazyInstBean> getLazyInstEmbeddedMul()
           
 Collection<DMLazyInstBean> getLazyInstEmbeddedMulBi()
           
 Collection<DMOwner_LicencePlateBean> getLicencePlate()
           
 String getName()
           
 DMPassportBean getPassport()
           
 DMCarBean getPreferedCar()
           
 void modified()
          Indicate that the modification timestamp needs to be updated.
 void setCars(Collection<DMCarBean> cars)
           
 void setCarsWichHeLikes(Collection<DMCarBean> carsWichHeLikes)
           
 void setDreamCar(String dreamCar)
           
 void setEquandaCreationDate(Timestamp created)
           
 void setEquandaModificationDate(Timestamp modified)
           
 void setEquandaStatus(String status)
           
 void setEquandaType(String type)
           
protected  void setEquandaVersion(long version)
           
 void setGarageCars(Collection<DMOwner_GarageCarsBean> garageCars)
           
 void setGarageCount(int garageCount)
           
 void setGarageM2(double garageM2)
           
protected  void setId(Uoid uoid)
           
 void setLazyInstEmbedded(DMLazyInstBean lazyInstEmbedded)
           
 void setLazyInstEmbeddedBi(DMLazyInstBean lazyInstEmbeddedBi)
           
 void setLazyInstEmbeddedMul(Collection<DMLazyInstBean> lazyInstEmbeddedMul)
           
 void setLazyInstEmbeddedMulBi(Collection<DMLazyInstBean> lazyInstEmbeddedMulBi)
           
 void setLicencePlate(Collection<DMOwner_LicencePlateBean> licencePlate)
           
 void setName(String name)
           
 void setPassport(DMPassportBean passport)
           
 void setPreferedCar(DMCarBean preferedCar)
           
 
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

DMOwnerBean

public DMOwnerBean(String type)
            throws EquandaPersistenceException
Throws:
EquandaPersistenceException

DMOwnerBean

protected DMOwnerBean()
               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

getDreamCar

public String getDreamCar()

setDreamCar

public void setDreamCar(String dreamCar)

getGarageCars

public Collection<DMOwner_GarageCarsBean> getGarageCars()

setGarageCars

public void setGarageCars(Collection<DMOwner_GarageCarsBean> garageCars)

getCars

public Collection<DMCarBean> getCars()

setCars

public void setCars(Collection<DMCarBean> cars)

getPreferedCar

public DMCarBean getPreferedCar()

setPreferedCar

public void setPreferedCar(DMCarBean preferedCar)

getCarsWichHeLikes

public Collection<DMCarBean> getCarsWichHeLikes()

setCarsWichHeLikes

public void setCarsWichHeLikes(Collection<DMCarBean> carsWichHeLikes)

getName

public String getName()

setName

public void setName(String name)

getPassport

public DMPassportBean getPassport()

setPassport

public void setPassport(DMPassportBean passport)

getLazyInstEmbeddedBi

public DMLazyInstBean getLazyInstEmbeddedBi()

setLazyInstEmbeddedBi

public void setLazyInstEmbeddedBi(DMLazyInstBean lazyInstEmbeddedBi)

getLazyInstEmbedded

public DMLazyInstBean getLazyInstEmbedded()

setLazyInstEmbedded

public void setLazyInstEmbedded(DMLazyInstBean lazyInstEmbedded)

getLazyInstEmbeddedMulBi

public Collection<DMLazyInstBean> getLazyInstEmbeddedMulBi()

setLazyInstEmbeddedMulBi

public void setLazyInstEmbeddedMulBi(Collection<DMLazyInstBean> lazyInstEmbeddedMulBi)

getLazyInstEmbeddedMul

public Collection<DMLazyInstBean> getLazyInstEmbeddedMul()

setLazyInstEmbeddedMul

public void setLazyInstEmbeddedMul(Collection<DMLazyInstBean> lazyInstEmbeddedMul)

getGarageCount

public int getGarageCount()

setGarageCount

public void setGarageCount(int garageCount)

getGarageM2

public double getGarageM2()

setGarageM2

public void setGarageM2(double garageM2)

getLicencePlate

public Collection<DMOwner_LicencePlateBean> getLicencePlate()

setLicencePlate

public void setLicencePlate(Collection<DMOwner_LicencePlateBean> licencePlate)


Copyright © 2007-2008. All Rights Reserved.