org.equanda.test.dm.server.pm
Class DMChoicesBean
java.lang.Object
org.equanda.test.dm.server.pm.DMChoicesBean
- All Implemented Interfaces:
- Serializable, EquandaEntity
public class DMChoicesBean
- extends Object
- implements EquandaEntity, Serializable
Entity representation for Choices
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEASON_WINTER
public static final String SEASON_WINTER
- See Also:
- Constant Field Values
SEASON_SPRING
public static final String SEASON_SPRING
- See Also:
- Constant Field Values
SEASON_SUMMER
public static final String SEASON_SUMMER
- See Also:
- Constant Field Values
SEASON_AUTOMN
public static final String SEASON_AUTOMN
- See Also:
- Constant Field Values
MONITOR_SIZE_SMALL
public static final int MONITOR_SIZE_SMALL
- See Also:
- Constant Field Values
MONITOR_SIZE_MEDIUM
public static final int MONITOR_SIZE_MEDIUM
- See Also:
- Constant Field Values
MONITOR_SIZE_BIG
public static final int MONITOR_SIZE_BIG
- See Also:
- Constant Field Values
WEIGHT_SMALL
public static final int WEIGHT_SMALL
- See Also:
- Constant Field Values
WEIGHT_BIG
public static final int WEIGHT_BIG
- See Also:
- Constant Field Values
COUNTRY_USA
public static final String COUNTRY_USA
- See Also:
- Constant Field Values
COUNTRY_NZ
public static final String COUNTRY_NZ
- See Also:
- Constant Field Values
COUNTRY_AUS
public static final String COUNTRY_AUS
- See Also:
- Constant Field Values
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
DMChoicesBean
public DMChoicesBean(String type,
int immutableWeight,
String immutableName)
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
DMChoicesBean
protected DMChoicesBean()
throws EquandaPersistenceException
- Throws:
EquandaPersistenceException
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
getSeason
public String getSeason()
setSeason
public void setSeason(String season)
getMonitorSize
public int getMonitorSize()
setMonitorSize
public void setMonitorSize(int monitorSize)
getImmutableWeight
public int getImmutableWeight()
setImmutableWeight
public void setImmutableWeight(int immutableWeight)
getImmutableName
public String getImmutableName()
setImmutableName
public void setImmutableName(String immutableName)
getCountries
public Collection<DMChoices_CountriesBean> getCountries()
setCountries
public void setCountries(Collection<DMChoices_CountriesBean> countries)
getCountry2Letter
public String getCountry2Letter()
setCountry2Letter
public void setCountry2Letter(String country2Letter)
getCountry3Letter
public String getCountry3Letter()
setCountry3Letter
public void setCountry3Letter(String country3Letter)
getCountry3LetterShortField
public String getCountry3LetterShortField()
setCountry3LetterShortField
public void setCountry3LetterShortField(String country3LetterShortField)
getCountryCodeString
public String getCountryCodeString()
setCountryCodeString
public void setCountryCodeString(String countryCodeString)
getCountryCodeValue
public int getCountryCodeValue()
setCountryCodeValue
public void setCountryCodeValue(int countryCodeValue)
Copyright © 2007-2008. All Rights Reserved.