Package javax.xml.registry.infomodel
Interface ExternalIdentifier
- All Superinterfaces:
ExtensibleObject,RegistryObject
ExternalIdentifier instances provide the additional identifier information
to RegistryObjects such as DUNS number, Social Security Number, or an alias
name of the organization. The attribute name inherited from RegistryObject is
used to contain the identification scheme ("DUNS" "Social Security Number", etc.),
and the attribute value contains the actual information (e.g. the actual DUNS number).
Each RegistryObject may have 0 or more ExternalIdentifiers.
- Author:
- Farrukh S. Najmi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the ClassificationScheme that is used as the identification scheme for identifying this object.Gets the parent RegistryObject for this ExternalIdentifier.getValue()Gets the value of an ExternalIdentifier.voidsetIdentificationScheme(ClassificationScheme identificationScheme) Sets the ClassificationScheme that is used as the identification scheme for identifying this object.voidSets the value of an ExternalIdentifier.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
-
Method Details
-
getRegistryObject
Gets the parent RegistryObject for this ExternalIdentifier. To set the registryObject call addExternalIdentifier on a RegistryObject.- Capability Level: 0
- Returns:
- the RegistryObject that this object identifies
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
getValue
Gets the value of an ExternalIdentifier.- Capability Level: 0
- Returns:
- the identification value defined by this object (e.g. a company's DUNS number)
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setValue
Sets the value of an ExternalIdentifier.- Capability Level: 0
- Parameters:
value- the identification value defined by this object (e.g. a company's DUNS number)- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getIdentificationScheme
Gets the ClassificationScheme that is used as the identification scheme for identifying this object.- Capability Level: 0
- Returns:
- the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
setIdentificationScheme
Sets the ClassificationScheme that is used as the identification scheme for identifying this object.- Capability Level: 0
- Parameters:
identificationScheme- the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-