|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.imca.model.AssociationBO
public class AssociationBO
Business Object representing the properties, persistence and functionality of the IMCA domain object.
Field Summary | |
---|---|
static java.lang.String |
IMCA_AT_COUNTRY_CODE
The country code to use for the Austrian Association |
static java.lang.String |
IMCA_AU_COUNTRY_CODE
The country code to use for the Australian Association |
static java.lang.String |
IMCA_CH_COUNTRY_CODE
The country code to use for the Swiss Association |
static java.lang.String |
IMCA_DE_COUNTRY_CODE
The country code to use for the German Association |
static java.lang.String |
IMCA_DK_COUNTRY_CODE
The country code to use for the Denmark Association |
static java.lang.String |
IMCA_FI_COUNTRY_CODE
The country code to use for the Finish Association |
static java.lang.String |
IMCA_FR_COUNTRY_CODE
The country code to use for the French Association |
static java.lang.String |
IMCA_IT_COUNTRY_CODE
The country code to use for the Italian Association |
static java.lang.String |
IMCA_JP_COUNTRY_CODE
The country code to use for the Japanese Association |
static java.lang.String |
IMCA_NL_COUNTRY_CODE
The country code to use for the Dutch Association |
static java.lang.String |
IMCA_NZ_COUNTRY_CODE
The country code to use for the New Zealand Association |
static java.lang.String |
IMCA_SE_COUNTRY_CODE
The country code to use for the Swedish Association |
static java.lang.String |
IMCA_UK_COUNTRY_CODE
The country code to use for the British Association |
static java.lang.String |
IMCA_US_COUNTRY_CODE
The country code to use for the United States Association |
static java.lang.String |
IMCA_WORLD_COUNTRY_CODE
The country code to use for the IMCA World Association |
static java.lang.String |
IMCA_ZA_COUNTRY_CODE
The country code to use for the South African Association |
Constructor Summary | |
---|---|
AssociationBO()
Default Constructor. |
|
AssociationBO(AssociationEntity entity)
Constructor with state entity. |
|
AssociationBO(javax.persistence.EntityManager em,
org.w3c.dom.NodeList nodeList)
Constructor with Persistence Entity Manager and XML node list of data. |
|
AssociationBO(javax.persistence.EntityManager em,
java.lang.String countryCode)
Constucter for a country specific association. |
|
AssociationBO(javax.persistence.EntityManager em,
java.lang.String countryCode,
java.lang.String area)
Constructor for a country and area specific association. |
Method Summary | |
---|---|
javax.mail.internet.InternetAddress[] |
getCommitteeEmails()
|
java.lang.String |
getCountryName()
|
AssociationEntity |
getEntity()
Get the persistence entity. |
java.util.List<MembershipTypeEntity> |
getJoinableMembershipTypes(javax.persistence.EntityManager em)
|
java.lang.String |
getName()
Return the human friendly name of the Association. |
java.lang.String |
getShortName()
|
void |
setEntity(AssociationEntity entity)
Set the persistence entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IMCA_WORLD_COUNTRY_CODE
public static final java.lang.String IMCA_AU_COUNTRY_CODE
public static final java.lang.String IMCA_AT_COUNTRY_CODE
public static final java.lang.String IMCA_FR_COUNTRY_CODE
public static final java.lang.String IMCA_IT_COUNTRY_CODE
public static final java.lang.String IMCA_UK_COUNTRY_CODE
public static final java.lang.String IMCA_SE_COUNTRY_CODE
public static final java.lang.String IMCA_CH_COUNTRY_CODE
public static final java.lang.String IMCA_DE_COUNTRY_CODE
public static final java.lang.String IMCA_JP_COUNTRY_CODE
public static final java.lang.String IMCA_DK_COUNTRY_CODE
public static final java.lang.String IMCA_NL_COUNTRY_CODE
public static final java.lang.String IMCA_ZA_COUNTRY_CODE
public static final java.lang.String IMCA_NZ_COUNTRY_CODE
public static final java.lang.String IMCA_US_COUNTRY_CODE
public static final java.lang.String IMCA_FI_COUNTRY_CODE
Constructor Detail |
---|
public AssociationBO(javax.persistence.EntityManager em, java.lang.String countryCode)
em
- EntityManager for database interation.countryCode
- 2 digit iso country codepublic AssociationBO(javax.persistence.EntityManager em, java.lang.String countryCode, java.lang.String area)
em
- EntityManager for database iteration.countryCode
- 2 digit ISO country codearea
- Name of the area within the country for associationpublic AssociationBO(AssociationEntity entity)
entity
- public AssociationBO(javax.persistence.EntityManager em, org.w3c.dom.NodeList nodeList)
em
- Persistence Entity Manager.nodeList
- XML node list with data.public AssociationBO()
Method Detail |
---|
public java.lang.String getName()
public AssociationEntity getEntity()
public void setEntity(AssociationEntity entity)
entity
- The new persistence entity for this Business Object.public java.util.List<MembershipTypeEntity> getJoinableMembershipTypes(javax.persistence.EntityManager em)
public javax.mail.internet.InternetAddress[] getCommitteeEmails() throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public java.lang.String getCountryName()
public java.lang.String getShortName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |