rNews: The Party Class
Figure: Attributes of the Party class.
The Party class is a subclass of the Tag class and a superclass of both the Person and the Organization classes. This purpose of the Party class is to model contact information, a feature common to both the Person and the Organization classes. Implementors should never directly use the Party class, but rather one of its subclasses. The attribute names for this class are adapted from vCard, a standard for storing electronic contact information.
Party Attribute Summary
The table below enumerates all attributes of the Party class and provides the expected data type, category (core/power) and a definition of each attribute.
| Attribute | Type | Category | Definition |
|---|---|---|---|
| countryName | xsd:string | power | A country, part of the address. Implementors are encouraged but not required to use ISO-3166-1-alpha-2 country codes |
| xsd:string | power | An email address. | |
| fax | xsd:string | power | An international fax number. |
| locality | xsd:string | power | A city/town/village etc. part of the address. |
| postalCode | xsd:string | power | A postal code, part of the address |
| region | xsd:string | power | A subdivision of a country, part of the address |
| streetAddress | xsd:string | power | A line of address information, in the format expected by a recipient postal service. City, country area, country and postal code are expressed separately |
| tel | xsd:string | power | An international phone number. |
| url | xsd:string | power | A reference to a target Item or Web resource. |
Want to comment on rNews: we invite you to post your comment to the rNews Forum.