Table 3–1 lists the main interfaces supported by the JAXR information model. All these interfaces extend the RegistryObject interface.
For more details, and for a figure that illustrates the relationships among these interfaces, see the API documentation for the javax.xml.registry.infomodel package at http://java.sun.com/j2ee/1.4/docs/api/javax/xml/registry/infomodel/package-summary.html.
Table 3–1 JAXR RegistryObject Subinterfaces
Interface Name |
Description |
---|---|
Defines a relationship between two objects. Getter and finder methods: RegistryObject.getAssociations, BusinessQueryManager.findAssociations, BusinessQueryManager.findCallerAssociations. |
|
Provides a record of a change to an object. A collection of AuditableEvent objects constitutes an object’s audit trail. Getter method: RegistryObject.getAuditTrail. |
|
Classifies an object by using a ClassificationScheme. Getter method: RegistryObject.getClassifications. |
|
Represents a taxonomy used to classify objects. In an internal ClassificationScheme, all taxonomy elements are defined in the registry as Concept instances. In an external ClassificationScheme, the values are not defined in the registry as Concept instances but instead are referenced by their String representations. Finder methods: BusinessQueryManager.findClassificationSchemes, BusinessQueryManager.findClassificationSchemeByName. |
|
Represents a taxonomy element and its structural relationship with other elements in an internal ClassificationScheme. Called a ClassificationNode in the ebXML specifications. Finder methods: BusinessQueryManager.findConcepts, BusinessQueryManager.findConceptByPath. |
|
Provides additional information about an object by using String values within an identification scheme (an external ClassificationScheme). Examples of identification schemes are DUNS numbers and Social Security numbers. Getter method: RegistryObject.getExternalIdentifiers. |
|
Provides a URI for content that resides outside the registry. Getter method: RegistryObject.getExternalLinks. |
|
Provides metadata that describes submitted content whose type is not intrinsically known to the registry and that therefore must be described by means of additional attributes, such as MIME type. No specific getter or finder methods. |
|
Provides information about an organization. May have a parent, and may have one or more child organizations. Always has a User object as a primary contact, and may offer Service objects. Finder method: BusinessQueryManager.findOrganizations. |
|
Represents a logical grouping of registry objects. A RegistryPackage may have any number of RegistryObjects. Getter and finder methods: RegistryObject.getRegistryPackages, BusinessQueryManager.findRegistryPackages. |
|
Provides information on a service. May have a set of ServiceBinding objects. Finder method: BusinessQueryManager.findServices. |
|
Represents technical information on how to access a Service. Getter and finder methods: Service.getServiceBindings, BusinessQueryManager.findServiceBindings. |
|
Provides a dynamic way to add arbitrary attributes to RegistryObject instances. Getter methods: RegistryObject.getSlot, RegistryObject.getSlots. |
|
Provides the linkage between a ServiceBinding and a technical specification that describes how to use the service by using the ServiceBinding. Getter method: ServiceBinding.getSpecificationLinks. |
|
Provide information about registered users within the registry. User objects are affiliated with Organization objects. Getter methods: Organization.getUsers, Organization.getPrimaryContact. |
Table 3–2 lists the other interfaces supported by the JAXR information model. These interfaces provide attributes for the main registry objects. These interfaces do not extend the RegistryObject interface.
Table 3–2 JAXR Information Model Interfaces Used as Attributes
Interface Name |
Description |
---|---|
Represents an email address. A User can have an EmailAddress. Getter method: User.getEmailAddresses. |
|
Represents a String that can be internationalized into several locales. Contains a Collection of LocalizedString objects. The name and description of a RegistryObject are InternationalString objects. Getter methods: RegistryObject.getName, RegistryObject.getDescription. |
|
An object that identifies a RegistryObject. Contains a unique identifier value that must be a DCE 128 UUID (Universal Unique IDentifier). Getter method: RegistryObject.getKey. |
|
A component of an InternationalString that associates a String with its Locale. Getter method: InternationalString.getLocalizedStrings. |
|
Represents a person’s name. A User has a PersonName. Getter method: User.getPersonName. |
|
Represents a postal address. An Organization or User can have one or more PostalAddress objects. Getter methods: Organization.getPostalAddress, OrganizationImpl.getPostalAddresses (implementation-specific), User.getPostalAddresses. |
|
Represents a telephone number. An Organization or a User can have one or more TelephoneNumber objects. Getter methods: Organization.getTelephoneNumbers, User.getTelephoneNumbers. |