org.equanda.test.dm.client
Class Owner
java.lang.Object
org.equanda.persistence.EquandaProxy<Uoid,Owner>
org.equanda.test.dm.client.Owner
- All Implemented Interfaces:
- Serializable, HasId<Uoid>
public class Owner
- extends EquandaProxy<Uoid,Owner>
- implements Serializable
Proxy object for table Owner
No constraints are being checked when modifying this object, this only happens when setting the value!
- See Also:
- Serialized Form
Methods inherited from class org.equanda.persistence.EquandaProxy |
equals, equandaClone, equandaUpdate, getEquandaModificationDate, getEquandaName, getEquandaType, getEquandaVersion, getId, hashCode, isEquandaModificationDateModified, isEquandaType, isModified, objectEquals, setEquandaUpdate, toString |
_obtainedGarageCars
protected boolean _obtainedGarageCars
_obtainedCars
protected boolean _obtainedCars
_obtainedPreferedCar
protected boolean _obtainedPreferedCar
_obtainedCarsWichHeLikes
protected boolean _obtainedCarsWichHeLikes
_obtainedPassport
protected boolean _obtainedPassport
_obtainedLazyInstEmbeddedBi
protected boolean _obtainedLazyInstEmbeddedBi
_obtainedLazyInstEmbedded
protected boolean _obtainedLazyInstEmbedded
_obtainedLazyInstEmbeddedMulBi
protected boolean _obtainedLazyInstEmbeddedMulBi
_obtainedLazyInstEmbeddedMul
protected boolean _obtainedLazyInstEmbeddedMul
_obtainedLicencePlate
protected boolean _obtainedLicencePlate
Owner
protected Owner(EquandaOwnerState proxy)
Owner
public Owner()
- 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()
Owner
protected Owner(Uoid uoid,
ObjectType equandaType,
Timestamp equandaCreationDate,
Timestamp equandaModificationDate,
String equandaStatus,
long equandaVersion,
String dreamCar,
String name,
int garageCount,
double garageM2)
equandaClone
public Owner equandaClone(boolean cloneUoid)
- Specified by:
equandaClone
in class EquandaProxy<Uoid,Owner>
setId
protected void setId(Uoid uoid)
updateInternalState
protected void updateInternalState()
equandaCreate
public static Owner equandaCreate()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
equandaCreate
public static Owner 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,Owner>
- 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,Owner>
getEquandaStatus
public String getEquandaStatus()
- Specified by:
getEquandaStatus
in class EquandaProxy<Uoid,Owner>
setEquandaStatus
public void setEquandaStatus(String status)
- Specified by:
setEquandaStatus
in class EquandaProxy<Uoid,Owner>
getEquandaCreationDate
public Timestamp getEquandaCreationDate()
getDreamCar
public String getDreamCar()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setDreamCar
public void setDreamCar(String value)
isDreamCarModified
public boolean isDreamCarModified()
getGarageCars
public Collection<String> getGarageCars()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setGarageCars
public void setGarageCars(Collection<String> value)
isGarageCarsModified
public boolean isGarageCarsModified()
getCars
public Collection<Car> getCars()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setCars
public void setCars(Collection<Car> value)
isCarsModified
public boolean isCarsModified()
getPreferedCar
public Car getPreferedCar()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setPreferedCar
public void setPreferedCar(Car value)
isPreferedCarModified
public boolean isPreferedCarModified()
getCarsWichHeLikes
public Collection<Car> getCarsWichHeLikes()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setCarsWichHeLikes
public void setCarsWichHeLikes(Collection<Car> value)
isCarsWichHeLikesModified
public boolean isCarsWichHeLikesModified()
getName
public String getName()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setName
public void setName(String value)
isNameModified
public boolean isNameModified()
getPassport
public Passport getPassport()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setPassport
public void setPassport(Passport value)
isPassportModified
public boolean isPassportModified()
getLazyInstEmbeddedBi
public LazyInst getLazyInstEmbeddedBi()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setLazyInstEmbeddedBi
public void setLazyInstEmbeddedBi(LazyInst value)
isLazyInstEmbeddedBiModified
public boolean isLazyInstEmbeddedBiModified()
getLazyInstEmbedded
public LazyInst getLazyInstEmbedded()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setLazyInstEmbedded
public void setLazyInstEmbedded(LazyInst value)
isLazyInstEmbeddedModified
public boolean isLazyInstEmbeddedModified()
getLazyInstEmbeddedMulBi
public Collection<LazyInst> getLazyInstEmbeddedMulBi()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setLazyInstEmbeddedMulBi
public void setLazyInstEmbeddedMulBi(Collection<LazyInst> value)
isLazyInstEmbeddedMulBiModified
public boolean isLazyInstEmbeddedMulBiModified()
getLazyInstEmbeddedMul
public Collection<LazyInst> getLazyInstEmbeddedMul()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setLazyInstEmbeddedMul
public void setLazyInstEmbeddedMul(Collection<LazyInst> value)
isLazyInstEmbeddedMulModified
public boolean isLazyInstEmbeddedMulModified()
getGarageCount
public int getGarageCount()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setGarageCount
public void setGarageCount(int value)
isGarageCountModified
public boolean isGarageCountModified()
getGarageM2
public double getGarageM2()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setGarageM2
public void setGarageM2(double value)
isGarageM2Modified
public boolean isGarageM2Modified()
getLicencePlate
public Collection<String> getLicencePlate()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setLicencePlate
public void setLicencePlate(Collection<String> value)
isLicencePlateModified
public boolean isLicencePlateModified()
equandaUpdate
public void equandaUpdate(boolean updateTypeFieldsOnly)
throws EquandaPersistenceException
- Specified by:
equandaUpdate
in class EquandaProxy<Uoid,Owner>
- 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,Owner>
- Throws:
EquandaPersistenceException
- oops
removeEntityBean
public void removeEntityBean()
throws EquandaPersistenceException
- Overrides:
removeEntityBean
in class EquandaProxy<Uoid,Owner>
- Throws:
EquandaPersistenceException
selectId
public static Owner selectId(Uoid uoid)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectName
public static Owner selectName(String name)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectSinglePreferedCar
public static Owner selectSinglePreferedCar(String brand)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectMorePreferedCar
public static List<Owner> selectMorePreferedCar(String brand,
String name)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaAll
public static List<Owner> selectEquandaAll()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
Copyright © 2007-2008. All Rights Reserved.