Class 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 Detail

      • SpecificationLinkImpl

        public SpecificationLinkImpl()
        Default constructor
    • Method Detail

      • getSpecificationObject

        public javax.xml.registry.infomodel.RegistryObject getSpecificationObject()
        Get specification object
        Specified by:
        getSpecificationObject in interface javax.xml.registry.infomodel.SpecificationLink
      • setSpecificationObject

        public void setSpecificationObject​(javax.xml.registry.infomodel.RegistryObject obj)
                                    throws javax.xml.registry.JAXRException
        Set specification object. For UDDI, this must be a Concept.
        Specified by:
        setSpecificationObject in interface javax.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:
        getUsageDescription in interface javax.xml.registry.infomodel.SpecificationLink
      • setUsageDescription

        public void setUsageDescription​(javax.xml.registry.infomodel.InternationalString usageDescription)
        Sets the description of usage paramaters.
        Specified by:
        setUsageDescription in interface javax.xml.registry.infomodel.SpecificationLink
      • getUsageParameters

        public Collection getUsageParameters()
        Gets any optional usage parameters. Each parameter is a String
        Specified by:
        getUsageParameters in interface javax.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:
        setUsageParameters in interface javax.xml.registry.infomodel.SpecificationLink
        Throws:
        javax.xml.registry.JAXRException
      • getServiceBinding

        public javax.xml.registry.infomodel.ServiceBinding getServiceBinding()
        Get the parent ServiceBinding
        Specified by:
        getServiceBinding in interface javax.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.JAXRException
        Overrides 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:
        addExternalLink in interface javax.xml.registry.infomodel.RegistryObject
        Overrides:
        addExternalLink in class RegistryObjectImpl
        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:
        addExternalLinks in interface javax.xml.registry.infomodel.RegistryObject
        Overrides:
        addExternalLinks in class RegistryObjectImpl
        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:
        setExternalLinks in interface javax.xml.registry.infomodel.RegistryObject
        Overrides:
        setExternalLinks in class RegistryObjectImpl
        Throws:
        javax.xml.registry.JAXRException
      • getKey

        public javax.xml.registry.infomodel.Key getKey()
                                                throws javax.xml.registry.JAXRException
        Override the behavior in RegistryObject to return a provider generated id.
        Specified by:
        getKey in interface javax.xml.registry.infomodel.RegistryObject
        Overrides:
        getKey in class RegistryObjectImpl
        Throws:
        javax.xml.registry.JAXRException