|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Party
Organization and people have common characteristics that describe them, such as addresses, phone numbers and email addresses; they can also play similar roles as parties to contracts, such as buyers/sellers, client/provider, etc; this interface is the super type for the Person and Organization interfaces and provides a mean to refer to their implementing classes as a whole
Field Summary |
---|
Fields inherited from interface org.janux.bus.persistence.Persistent |
---|
UNSAVED_ID |
Method Summary | |
---|---|
Object |
clone()
|
String |
getCode()
optional string identifier for this Party |
Map<String,ContactMethod> |
getContactMethods()
map of ContactMethods keyed by a string code representing a user-defined kind of ContactMethod, such as PHYSICAL_ADDRESS, CUST_SERVICE_PHONE, EMAIL_INFO, etc... |
biz.janux.commerce.FormOfPayment |
getFormOfPayment(Class aFormOfPaymentClass)
returns the matching type of form of payment |
List<biz.janux.commerce.FormOfPayment> |
getFormsOfPayment()
Forms of payment associated with this party |
PartyName |
getPartyName()
The name(s) by which this Party is known; sub-classes may implement this in different ways; for Persons, for example, it may the concatenation of the first and last name, while for an Organization it may be a short name or legal name |
void |
setCode(String code)
|
void |
setContactMethods(Map<String,ContactMethod> aContactMethods)
|
void |
setFormsOfPayment(List<biz.janux.commerce.FormOfPayment> fopList)
|
Methods inherited from interface org.janux.bus.persistence.Persistent |
---|
getId, setId |
Methods inherited from interface biz.janux.people.Contacteable |
---|
getContactMethod, getEmailAddress, getEmailAddresses, getPhoneNumber, getPhoneNumbers, getPostalAddress, getPostalAddresses, getUrl, getUrls, setContactMethod |
Method Detail |
---|
String getCode()
void setCode(String code)
PartyName getPartyName()
biz.janux.commerce.FormOfPayment getFormOfPayment(Class aFormOfPaymentClass)
List<biz.janux.commerce.FormOfPayment> getFormsOfPayment()
void setFormsOfPayment(List<biz.janux.commerce.FormOfPayment> fopList)
fopList
- The fopList to set.Map<String,ContactMethod> getContactMethods()
Contacteable
getContactMethods
in interface Contacteable
void setContactMethods(Map<String,ContactMethod> aContactMethods)
setContactMethods
in interface Contacteable
Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |