|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.util.entity.AbstractNamedEntity
org.torweg.pulse.util.entity.AbstractNamableEntity
org.torweg.pulse.component.util.model.AbstractExtendedAddress
org.torweg.pulse.component.util.model.Representative
@Entity public class Representative
Represents a Representative as used by the utility-component
"representative".
| Constructor Summary | |
|---|---|
Representative()
The default Constructor. |
|
| Method Summary | |
|---|---|
org.jdom.Element |
deserializeToJDOM()
De-serialises the state of the Representative as a JDOM
Element. |
java.lang.String |
getAddressAffix()
Returns the address affix of the Representative or
null. |
java.lang.String |
getNameAffix()
Returns the name affix of the Representative or
null. |
java.lang.String |
getRepresentsCountry()
Returns the country represented by the Representative. |
java.lang.String |
getRepresentsRegion()
Returns the region where the country represented by the Representative is located. |
java.lang.String |
getRepresentsState()
Returns the state represented by the Representative. |
void |
setAddressAffix(java.lang.String aa)
Sets the address affix of the Representative. |
void |
setNameAffix(java.lang.String na)
Sets the name affix of the Representative. |
void |
setRepresentsCountry(java.lang.String c)
Sets the country represented by the Representative. |
void |
setRepresentsRegion(java.lang.String r)
Sets the region where the country represented by the Representative is located. |
void |
setRepresentsState(java.lang.String s)
Sets the state represented by the Representative. |
net.sf.json.JSONObject |
toJSON()
Returns a JSON-representation of the Representative. |
| Methods inherited from class org.torweg.pulse.component.util.model.AbstractExtendedAddress |
|---|
getCity, getContactPerson, getCountry, getEmail, getFaxNumber, getMobilePhoneNumber, getPhoneNumber, getPostalCode, getState, getStreet, getUrl, setCity, setContactPerson, setCountry, setEmail, setFaxNumber, setMobilePhoneNumber, setPhoneNumber, setPostalCode, setState, setStreet, setUrl |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamableEntity |
|---|
setName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamedEntity |
|---|
getName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.util.INameable |
|---|
setName |
| Methods inherited from interface org.torweg.pulse.util.INamed |
|---|
getName |
| Constructor Detail |
|---|
public Representative()
Constructor.
| Method Detail |
|---|
public final java.lang.String getRepresentsRegion()
Representative is located.
Representative is located.public final void setRepresentsRegion(java.lang.String r)
Representative is located.
r - the represented country's region to be set.public final java.lang.String getRepresentsCountry()
Representative.
Representative.public final void setRepresentsCountry(java.lang.String c)
Representative.
c - the represented country to be set.public final java.lang.String getRepresentsState()
Representative.
Representative.public final void setRepresentsState(java.lang.String s)
Representative.
s - the represented state to be set.public final java.lang.String getNameAffix()
Representative or
null.
Representative or
null.public final void setNameAffix(java.lang.String na)
Representative.
na - the name affix to be set.public final java.lang.String getAddressAffix()
Representative or
null.
Representative or
null.public final void setAddressAffix(java.lang.String aa)
Representative.
aa - the address affix to be set.public final org.jdom.Element deserializeToJDOM()
Representative as a JDOM
Element.
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractExtendedAddressRepresentative as a JDOM
Element.public final net.sf.json.JSONObject toJSON()
Representative.
toJSON in class AbstractExtendedAddressJSONObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||