Class SpecificationLinkImpl

    • Constructor Detail

      • SpecificationLinkImpl

        public SpecificationLinkImpl()
        Default constructor
    • Method Detail

      • getSpecificationObject

        public RegistryObject getSpecificationObject()
        Get specification object
        Specified by:
        getSpecificationObject in interface SpecificationLink
        Returns:
        the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
      • setSpecificationObject

        public void setSpecificationObject​(RegistryObject obj)
                                    throws JAXRException
        Set specification object. For UDDI, this must be a Concept.
        Specified by:
        setSpecificationObject in interface SpecificationLink
        Parameters:
        obj - the RegistryObject that is the specification object. For a UDDI provider the specification object must be a Concept with no parent. For an ebXML provider it is likely to be an ExtrinsicObject.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setUsageDescription

        public void setUsageDescription​(InternationalString usageDescription)
        Sets the description of usage paramaters.
        Specified by:
        setUsageDescription in interface SpecificationLink
        Parameters:
        usageDescription - the description of usage parameters for this object
      • getUsageParameters

        public Collection getUsageParameters()
        Gets any optional usage parameters. Each parameter is a String
        Specified by:
        getUsageParameters in interface SpecificationLink
        Returns:
        the Collection of String instances. The Collection may be empty but not null.
      • setUsageParameters

        public void setUsageParameters​(Collection usageParameters)
                                throws 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 SpecificationLink
        Parameters:
        usageParameters - the Collection of usage parameter Strings
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setServiceBinding

        public void setServiceBinding​(ServiceBinding binding)
        Internal method for setting the service binding
      • addExternalLinks

        public void addExternalLinks​(Collection links)
                              throws 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 RegistryObject
        Overrides:
        addExternalLinks in class RegistryObjectImpl
        Parameters:
        links - the Collection of ExternalLinks being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setExternalLinks

        public void setExternalLinks​(Collection links)
                              throws 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 RegistryObject
        Overrides:
        setExternalLinks in class RegistryObjectImpl
        Throws:
        JAXRException - If the JAXR provider encounters an internal error