|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.equanda.test.dm.server.ChoicesBean
public class ChoicesBean
Choices
Field Summary |
---|
Constructor Summary | |
---|---|
ChoicesBean()
|
Method Summary | |
---|---|
void |
addCountry(String el)
|
void |
ejbActivate()
|
void |
ejbPassivate()
|
Collection<String> |
getCountries()
|
String |
getCountry2Letter()
Simple field with 2 letter ISO country code. |
String |
getCountry3Letter()
Simple field with 3 letter ISO country code. |
String |
getCountry3LetterShortField()
Simple field with 3 letter ISO country code, but for which the string field is too short which should make it impossible to store a valid value. |
String |
getCountryCodeString()
Simple field with a numeric ISO country code, stored as string. |
int |
getCountryCodeValue()
Simple field with a numeric ISO country code, stored as an integer. |
Choices |
getEquanda()
|
Timestamp |
getEquandaModificationDate()
|
String |
getEquandaName()
|
String |
getEquandaStatus()
|
String |
getEquandaType()
|
long |
getEquandaVersion()
|
Uoid |
getId()
|
String |
getImmutableName()
|
int |
getImmutableWeight()
|
int |
getMonitorSize()
|
String |
getSeason()
|
boolean |
hasCountry(String el)
|
void |
init(int immutableWeight,
String immutableName)
|
void |
init(String type,
int immutableWeight,
String immutableName)
|
void |
init(Uoid id)
|
void |
initEntity(EquandaEntity entity)
|
boolean |
isEquandaType(String type)
|
protected boolean |
objectEquals(Object obj1,
Object obj2)
utility routine to test equality of objects without relying on one of them being not null. |
void |
remove()
|
void |
removeCountry(String el)
|
void |
removeEntityBean()
|
void |
setCountry2Letter(String country2Letter)
|
void |
setCountry3Letter(String country3Letter)
|
void |
setCountry3LetterShortField(String country3LetterShortField)
|
void |
setCountryCodeString(String countryCodeString)
|
void |
setCountryCodeValue(int countryCodeValue)
|
void |
setEquandaStatus(String status)
|
void |
setMonitorSize(int monitorSize)
|
void |
setSeason(String season)
|
void |
updateEquanda(Choices proxy)
Internal routine to update based on a proxy object, update indicates whether all fields need setting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChoicesBean()
Method Detail |
---|
public void init(Uoid id) throws EquandaPersistenceException
init
in interface EquandaEJB<Uoid>
EquandaPersistenceException
public void initEntity(EquandaEntity entity) throws EquandaPersistenceException
initEntity
in interface EquandaEJB<Uoid>
EquandaPersistenceException
public void init(String type, int immutableWeight, String immutableName) throws EquandaPersistenceException
init
in interface ChoicesBase
EquandaPersistenceException
public void init(int immutableWeight, String immutableName) throws EquandaPersistenceException
init
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public Uoid getId()
getId
in interface HasId<Uoid>
@PermitAll public Timestamp getEquandaModificationDate()
getEquandaModificationDate
in interface EquandaEJB<Uoid>
@PermitAll public long getEquandaVersion()
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaStatus()
getEquandaStatus
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void setEquandaStatus(String status)
setEquandaStatus
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaType()
getEquandaType
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public boolean isEquandaType(String type)
isEquandaType
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getEquandaName()
getEquandaName
in interface EquandaEJB<Uoid>
@PermitAll public Choices getEquanda()
getEquanda
in interface ChoicesBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void updateEquanda(Choices proxy) throws EquandaPersistenceException
updateEquanda
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getSeason()
getSeason
in interface ChoicesBase
public void setSeason(String season) throws EquandaPersistenceException
setSeason
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public int getMonitorSize()
getMonitorSize
in interface ChoicesBase
public void setMonitorSize(int monitorSize) throws EquandaPersistenceException
setMonitorSize
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public int getImmutableWeight()
getImmutableWeight
in interface ChoicesBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getImmutableName()
getImmutableName
in interface ChoicesBase
public Collection<String> getCountries()
getCountries
in interface ChoicesBase
public void addCountry(String el) throws EquandaPersistenceException
addCountry
in interface ChoicesBase
EquandaPersistenceException
public void removeCountry(String el) throws EquandaPersistenceException
removeCountry
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public boolean hasCountry(String el)
hasCountry
in interface ChoicesBase
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getCountry2Letter()
getCountry2Letter
in interface ChoicesBase
public void setCountry2Letter(String country2Letter) throws EquandaPersistenceException
setCountry2Letter
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getCountry3Letter()
getCountry3Letter
in interface ChoicesBase
public void setCountry3Letter(String country3Letter) throws EquandaPersistenceException
setCountry3Letter
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getCountry3LetterShortField()
getCountry3LetterShortField
in interface ChoicesBase
public void setCountry3LetterShortField(String country3LetterShortField) throws EquandaPersistenceException
setCountry3LetterShortField
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public String getCountryCodeString()
getCountryCodeString
in interface ChoicesBase
public void setCountryCodeString(String countryCodeString) throws EquandaPersistenceException
setCountryCodeString
in interface ChoicesBase
EquandaPersistenceException
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public int getCountryCodeValue()
getCountryCodeValue
in interface ChoicesBase
public void setCountryCodeValue(int countryCodeValue) throws EquandaPersistenceException
setCountryCodeValue
in interface ChoicesBase
EquandaPersistenceException
public void ejbActivate()
public void ejbPassivate()
@PermitAll public void remove()
remove
in interface EquandaEJB<Uoid>
@RolesAllowed(value={"LocalUser","LocalAdmin"}) public void removeEntityBean() throws EquandaPersistenceException
removeEntityBean
in interface ChoicesBase
EquandaPersistenceException
protected boolean objectEquals(Object obj1, Object obj2)
obj1
- one of the objects to compareobj2
- other object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |