Package javax.xml.registry.infomodel
Interface ExternalIdentifier
-
- All Superinterfaces:
ExtensibleObject,RegistryObject
public interface ExternalIdentifier extends 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:
RegistryObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassificationSchemegetIdentificationScheme()Gets the ClassificationScheme that is used as the identification scheme for identifying this object.RegistryObjectgetRegistryObject()Gets the parent RegistryObject for this ExternalIdentifier.StringgetValue()Gets the value of an ExternalIdentifier.voidsetIdentificationScheme(ClassificationScheme identificationScheme)Sets the ClassificationScheme that is used as the identification scheme for identifying this object.voidsetValue(String value)Sets the value of an ExternalIdentifier.-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods 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 Detail
-
getRegistryObject
RegistryObject getRegistryObject() throws JAXRException
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:
RegistryObject.addExternalIdentifier(ExternalIdentifier ei)
-
getValue
String getValue() throws JAXRException
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
void setValue(String value) throws JAXRException
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
ClassificationScheme getIdentificationScheme() throws JAXRException
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:
Classification
-
setIdentificationScheme
void setIdentificationScheme(ClassificationScheme identificationScheme) throws JAXRException
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
-
-