org.equanda.test.dm.client
Class Car
java.lang.Object
org.equanda.persistence.EquandaProxy<Uoid,Car>
org.equanda.test.dm.client.Car
- All Implemented Interfaces:
- Serializable, HasId<Uoid>
public class Car
- extends EquandaProxy<Uoid,Car>
- implements Serializable
Proxy object for table Car
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 |
_obtainedOwners
protected boolean _obtainedOwners
_obtainedFans
protected boolean _obtainedFans
Car
protected Car(EquandaCarState proxy)
Car
public Car()
- 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()
Car
protected Car(String brand)
Car
protected Car(Uoid uoid,
ObjectType equandaType,
Timestamp equandaCreationDate,
Timestamp equandaModificationDate,
String equandaStatus,
long equandaVersion,
String brand,
String extraUnique,
String extra)
equandaClone
public Car equandaClone(boolean cloneUoid)
- Specified by:
equandaClone
in class EquandaProxy<Uoid,Car>
setId
protected void setId(Uoid uoid)
updateInternalState
protected void updateInternalState()
equandaCreate
public static Car equandaCreate()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
equandaCreate
public static Car 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,Car>
- 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,Car>
getEquandaStatus
public String getEquandaStatus()
- Specified by:
getEquandaStatus
in class EquandaProxy<Uoid,Car>
setEquandaStatus
public void setEquandaStatus(String status)
- Specified by:
setEquandaStatus
in class EquandaProxy<Uoid,Car>
getEquandaCreationDate
public Timestamp getEquandaCreationDate()
getOwners
public Collection<Owner> getOwners()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setOwners
public void setOwners(Collection<Owner> value)
isOwnersModified
public boolean isOwnersModified()
getFans
public Collection<Owner> getFans()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setFans
public void setFans(Collection<Owner> value)
isFansModified
public boolean isFansModified()
getBrand
public String getBrand()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setBrand
public void setBrand(String value)
isBrandModified
public boolean isBrandModified()
getExtraUnique
public String getExtraUnique()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setExtraUnique
public void setExtraUnique(String value)
isExtraUniqueModified
public boolean isExtraUniqueModified()
getExtra
public String getExtra()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
setExtra
public void setExtra(String value)
isExtraModified
public boolean isExtraModified()
equandaUpdate
public void equandaUpdate(boolean updateTypeFieldsOnly)
throws EquandaPersistenceException
- Specified by:
equandaUpdate
in class EquandaProxy<Uoid,Car>
- 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,Car>
- Throws:
EquandaPersistenceException
- oops
removeEntityBean
public void removeEntityBean()
throws EquandaPersistenceException
- Overrides:
removeEntityBean
in class EquandaProxy<Uoid,Car>
- Throws:
EquandaPersistenceException
selectId
public static Car selectId(Uoid uoid)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectBrand
public static Car selectBrand(String brand)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectExtra
public static List<Car> selectExtra(String extra)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectCarBothExtra
public static List<Car> selectCarBothExtra(String extraUnique,
String extra)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaAll
public static List<Car> selectEquandaAll()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaBrandStart
public static List<Car> selectEquandaBrandStart(String reference)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaExtraUniqueStart
public static List<Car> selectEquandaExtraUniqueStart(String descr)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
selectEquandaExtraUniquePart
public static List<Car> selectEquandaExtraUniquePart(String descr)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
Copyright © 2007-2008. All Rights Reserved.