Class ServiceImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryEntry, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.Service, javax.xml.registry.infomodel.Versionable

    public class ServiceImpl
    extends RegistryEntryImpl
    implements javax.xml.registry.infomodel.Service, Serializable
    Implementation of Service interface.
    Author:
    kwalsh, Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceImpl

        public ServiceImpl()
        Default constructor
      • ServiceImpl

        public ServiceImpl​(String name)
        Creates new ServiceImpl with the given name
    • Method Detail

      • getProvidingOrganization

        public javax.xml.registry.infomodel.Organization getProvidingOrganization()
                                                                           throws javax.xml.registry.JAXRException
        Get the organization that provides this service
        Specified by:
        getProvidingOrganization in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • setProvidingOrganization

        public void setProvidingOrganization​(javax.xml.registry.infomodel.Organization org)
                                      throws javax.xml.registry.JAXRException
        Set the organization that provides this service
        Specified by:
        setProvidingOrganization in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • addServiceBinding

        public void addServiceBinding​(javax.xml.registry.infomodel.ServiceBinding serviceBinding)
                               throws javax.xml.registry.JAXRException
        Add a child ServiceBinding. Sets service on the binding.
        Specified by:
        addServiceBinding in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • addServiceBindings

        public void addServiceBindings​(Collection serviceBindings)
                                throws javax.xml.registry.JAXRException
        Add a Collection of ServiceBinding children. Treats null param as an empty collection.
        Specified by:
        addServiceBindings in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • removeServiceBinding

        public void removeServiceBinding​(javax.xml.registry.infomodel.ServiceBinding serviceBinding)
                                  throws javax.xml.registry.JAXRException
        Remove a child ServiceBinding.
        Specified by:
        removeServiceBinding in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • removeServiceBindings

        public void removeServiceBindings​(Collection serviceBindings)
                                   throws javax.xml.registry.JAXRException
        Remove a Collection of children ServiceBindings. Treats null param as an empty collection.
        Specified by:
        removeServiceBindings in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException
      • getServiceBindings

        public Collection getServiceBindings()
                                      throws javax.xml.registry.JAXRException
        Get the service bindings
        Specified by:
        getServiceBindings in interface javax.xml.registry.infomodel.Service
        Throws:
        javax.xml.registry.JAXRException