com.sun.xml.registry.uddi.infomodel
Class ExternalIdentifierImpl

java.lang.Object
  extended by com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
      extended by com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
          extended by com.sun.xml.registry.uddi.infomodel.ExternalIdentifierImpl
All Implemented Interfaces:
Serializable, ExtensibleObject, ExternalIdentifier, RegistryObject

public class ExternalIdentifierImpl
extends RegistryObjectImpl
implements ExternalIdentifier, Serializable

Implementation of ExternalIdentifier interface

Author:
Farrukh S. Najmi
See Also:
Serialized Form

Constructor Summary
ExternalIdentifierImpl()
           
ExternalIdentifierImpl(ClassificationScheme identificationScheme, String name, String value)
           
ExternalIdentifierImpl(Key key, String name, String value)
           
 
Method Summary
 ClassificationScheme getIdentificationScheme()
          Gets the ClassificationScheme that is used as the identification scheme for identifying this object.
 RegistryObject getRegistryObject()
          Gets the parent registry object
 String getValue()
          Gets the value of an ExternalIdentifier
 void setIdentificationScheme(ClassificationScheme classificationScheme)
          Sets the ClassificationScheme that is used as the identification scheme for identifying this object.
 void setRegistryObject(RegistryObject registryObject)
          Internal method to set the registry object
 void setValue(String value)
          Sets the value of an ExternalIdentifier
 
Methods inherited from class com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXML
 
Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
getSlot, getSlots
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

ExternalIdentifierImpl

public ExternalIdentifierImpl()

ExternalIdentifierImpl

public ExternalIdentifierImpl(Key key,
                              String name,
                              String value)

ExternalIdentifierImpl

public ExternalIdentifierImpl(ClassificationScheme identificationScheme,
                              String name,
                              String value)
Method Detail

getRegistryObject

public RegistryObject getRegistryObject()
                                 throws JAXRException
Gets the parent registry object

Specified by:
getRegistryObject in interface ExternalIdentifier
Returns:
the RegistryObject that this object identifies
Throws:
JAXRException - If the JAXR provider encounters an internal error
See Also:
RegistryObject.addExternalIdentifier(ExternalIdentifier ei)

setRegistryObject

public void setRegistryObject(RegistryObject registryObject)
                       throws JAXRException
Internal method to set the registry object

Throws:
JAXRException

getValue

public String getValue()
                throws JAXRException
Gets the value of an ExternalIdentifier

Specified by:
getValue in interface ExternalIdentifier
Returns:
the identification value defined by this object (e.g. a company's DUNS number)
Throws:
JAXRException - If the JAXR provider encounters an internal error

setValue

public void setValue(String value)
              throws JAXRException
Sets the value of an ExternalIdentifier

Specified by:
setValue in interface ExternalIdentifier
Parameters:
value - the identification value defined by this object (e.g. a company's DUNS number)
Throws:
JAXRException - If the JAXR provider encounters an internal error

getIdentificationScheme

public ClassificationScheme getIdentificationScheme()
                                             throws JAXRException
Gets the ClassificationScheme that is used as the identification scheme for identifying this object.

Specified by:
getIdentificationScheme in interface ExternalIdentifier
Returns:
the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")
Throws:
JAXRException - If the JAXR provider encounters an internal error

setIdentificationScheme

public void setIdentificationScheme(ClassificationScheme classificationScheme)
                             throws JAXRException
Sets the ClassificationScheme that is used as the identification scheme for identifying this object.

Specified by:
setIdentificationScheme in interface ExternalIdentifier
Parameters:
classificationScheme - the ClassificationScheme that is used as the identification scheme (e.g. "DUNS")
Throws:
JAXRException - If the JAXR provider encounters an internal error


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.