Class SpecificationLinkImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.SpecificationLinkImpl
-
- All Implemented Interfaces:
Serializable,javax.xml.registry.infomodel.ExtensibleObject,javax.xml.registry.infomodel.RegistryObject,javax.xml.registry.infomodel.SpecificationLink
public class SpecificationLinkImpl extends RegistryObjectImpl implements javax.xml.registry.infomodel.SpecificationLink, Serializable
Implementation of SpecificationLink interface- Author:
- Farrukh S. Najmi, Bobby Bissett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpecificationLinkImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExternalLink(javax.xml.registry.infomodel.ExternalLink link)Overrides behavior in RegistryObjectImpl to allow adding external links.voidaddExternalLinks(Collection links)Overrides behavior in RegistryObjectImpl to allow adding external links.javax.xml.registry.infomodel.KeygetKey()Override the behavior in RegistryObject to return a provider generated id.javax.xml.registry.infomodel.ServiceBindinggetServiceBinding()Get the parent ServiceBindingjavax.xml.registry.infomodel.RegistryObjectgetSpecificationObject()Get specification objectjavax.xml.registry.infomodel.InternationalStringgetUsageDescription()Gets the description of usage paramaters.CollectiongetUsageParameters()Gets any optional usage parameters.voidsetExternalLinks(Collection links)Overrides behavior in RegistryObjectImpl to allow adding external links.voidsetServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)Internal method for setting the service bindingvoidsetSpecificationObject(javax.xml.registry.infomodel.RegistryObject obj)Set specification object.voidsetUsageDescription(javax.xml.registry.infomodel.InternationalString usageDescription)Sets the description of usage paramaters.voidsetUsageParameters(Collection usageParameters)Sets any optional usage parameters.-
Methods inherited from class com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, 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, 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.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setKey, setName, toXML
-
-
-
-
Method Detail
-
getSpecificationObject
public javax.xml.registry.infomodel.RegistryObject getSpecificationObject()
Get specification object- Specified by:
getSpecificationObjectin interfacejavax.xml.registry.infomodel.SpecificationLink
-
setSpecificationObject
public void setSpecificationObject(javax.xml.registry.infomodel.RegistryObject obj) throws javax.xml.registry.JAXRExceptionSet specification object. For UDDI, this must be a Concept.- Specified by:
setSpecificationObjectin interfacejavax.xml.registry.infomodel.SpecificationLink- Throws:
javax.xml.registry.JAXRException
-
getUsageDescription
public javax.xml.registry.infomodel.InternationalString getUsageDescription()
Gets the description of usage paramaters.- Specified by:
getUsageDescriptionin interfacejavax.xml.registry.infomodel.SpecificationLink
-
setUsageDescription
public void setUsageDescription(javax.xml.registry.infomodel.InternationalString usageDescription)
Sets the description of usage paramaters.- Specified by:
setUsageDescriptionin interfacejavax.xml.registry.infomodel.SpecificationLink
-
getUsageParameters
public Collection getUsageParameters()
Gets any optional usage parameters. Each parameter is a String- Specified by:
getUsageParametersin interfacejavax.xml.registry.infomodel.SpecificationLink
-
setUsageParameters
public void setUsageParameters(Collection usageParameters) throws javax.xml.registry.JAXRException
Sets any optional usage parameters. This method checks to make sure that all parameters in the collection are strings. A null collection is treated as an empty collection.- Specified by:
setUsageParametersin interfacejavax.xml.registry.infomodel.SpecificationLink- Throws:
javax.xml.registry.JAXRException
-
getServiceBinding
public javax.xml.registry.infomodel.ServiceBinding getServiceBinding()
Get the parent ServiceBinding- Specified by:
getServiceBindingin interfacejavax.xml.registry.infomodel.SpecificationLink
-
setServiceBinding
public void setServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)
Internal method for setting the service binding
-
addExternalLink
public void addExternalLink(javax.xml.registry.infomodel.ExternalLink link) throws javax.xml.registry.JAXRExceptionOverrides behavior in RegistryObjectImpl to allow adding external links. If an external link already exists, this method throws UnsupportedCapabilityException. See appendix D of specification.- Specified by:
addExternalLinkin interfacejavax.xml.registry.infomodel.RegistryObject- Overrides:
addExternalLinkin classRegistryObjectImpl- Throws:
javax.xml.registry.JAXRException
-
addExternalLinks
public void addExternalLinks(Collection links) throws javax.xml.registry.JAXRException
Overrides behavior in RegistryObjectImpl to allow adding external links. If an external link already exists or if the collection contains more than one external link, this method throws UnsupportedCapabilityException. See appendix D of specification.- Specified by:
addExternalLinksin interfacejavax.xml.registry.infomodel.RegistryObject- Overrides:
addExternalLinksin classRegistryObjectImpl- Throws:
javax.xml.registry.JAXRException
-
setExternalLinks
public void setExternalLinks(Collection links) throws javax.xml.registry.JAXRException
Overrides behavior in RegistryObjectImpl to allow adding external links. If an external link already exists or if the collection contains more than one external link, this method throws UnsupportedCapabilityException. See appendix D of specification.- Specified by:
setExternalLinksin interfacejavax.xml.registry.infomodel.RegistryObject- Overrides:
setExternalLinksin classRegistryObjectImpl- Throws:
javax.xml.registry.JAXRException
-
getKey
public javax.xml.registry.infomodel.Key getKey() throws javax.xml.registry.JAXRExceptionOverride the behavior in RegistryObject to return a provider generated id.- Specified by:
getKeyin interfacejavax.xml.registry.infomodel.RegistryObject- Overrides:
getKeyin classRegistryObjectImpl- Throws:
javax.xml.registry.JAXRException
-
-