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

java.lang.Object
  extended by 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

Field Summary
static String COUNTRY_AUS
           
static String COUNTRY_NZ
           
static String COUNTRY_USA
           
protected  Timestamp equandaCreation
           
protected  Timestamp equandaModified
           
protected  String equandaStatus
           
protected  boolean equandaStatusModified
           
protected  String equandaType
           
protected  long equandaVersion
           
static int MONITOR_SIZE_BIG
           
static int MONITOR_SIZE_MEDIUM
           
static int MONITOR_SIZE_SMALL
           
static String SEASON_AUTOMN
           
static String SEASON_SPRING
           
static String SEASON_SUMMER
           
static String SEASON_WINTER
           
protected  Uoid uoid
           
static int WEIGHT_BIG
           
static int WEIGHT_SMALL
           
 
Constructor Summary
protected DMChoicesBean()
           
  DMChoicesBean(String type, int immutableWeight, String immutableName)
           
 
Method Summary
protected  void equandaPostLoad()
           
 void equandaPreUpdate()
           
 Collection<DMChoices_CountriesBean> getCountries()
           
 String getCountry2Letter()
           
 String getCountry3Letter()
           
 String getCountry3LetterShortField()
           
 String getCountryCodeString()
           
 int getCountryCodeValue()
           
 Timestamp getEquandaCreationDate()
           
 Timestamp getEquandaModificationDate()
           
 String getEquandaStatus()
           
 String getEquandaType()
           
 long getEquandaVersion()
           
 Uoid getId()
           
 String getImmutableName()
           
 int getImmutableWeight()
           
 int getMonitorSize()
           
 String getSeason()
           
 void modified()
          Indicate that the modification timestamp needs to be updated.
 void setCountries(Collection<DMChoices_CountriesBean> countries)
           
 void setCountry2Letter(String country2Letter)
           
 void setCountry3Letter(String country3Letter)
           
 void setCountry3LetterShortField(String country3LetterShortField)
           
 void setCountryCodeString(String countryCodeString)
           
 void setCountryCodeValue(int countryCodeValue)
           
 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 setImmutableName(String immutableName)
           
 void setImmutableWeight(int immutableWeight)
           
 void setMonitorSize(int monitorSize)
           
 void setSeason(String season)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DMChoicesBean

public DMChoicesBean(String type,
                     int immutableWeight,
                     String immutableName)
              throws EquandaPersistenceException
Throws:
EquandaPersistenceException

DMChoicesBean

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

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.