Class ServiceImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.RegistryEntryImpl
-
- com.sun.xml.registry.uddi.infomodel.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 Summary
Constructors Constructor Description ServiceImpl()Default constructorServiceImpl(String name)Creates new ServiceImpl with the given name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServiceBinding(javax.xml.registry.infomodel.ServiceBinding serviceBinding)Add a child ServiceBinding.voidaddServiceBindings(Collection serviceBindings)Add a Collection of ServiceBinding children.javax.xml.registry.infomodel.OrganizationgetProvidingOrganization()Get the organization that provides this serviceCollectiongetServiceBindings()Get the service bindingsvoidremoveServiceBinding(javax.xml.registry.infomodel.ServiceBinding serviceBinding)Remove a child ServiceBinding.voidremoveServiceBindings(Collection serviceBindings)Remove a Collection of children ServiceBindings.voidsetProvidingOrganization(javax.xml.registry.infomodel.Organization org)Set the organization that provides this service-
Methods inherited from class com.sun.xml.registry.uddi.infomodel.RegistryEntryImpl
getExpiration, getMajorVersion, getMinorVersion, getStability, getStatus, getUserVersion, setExpiration, setMajorVersion, setMinorVersion, setStability, setUserVersion
-
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.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
-
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
-
-
-
-
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.JAXRExceptionGet the organization that provides this service- Specified by:
getProvidingOrganizationin interfacejavax.xml.registry.infomodel.Service- Throws:
javax.xml.registry.JAXRException
-
setProvidingOrganization
public void setProvidingOrganization(javax.xml.registry.infomodel.Organization org) throws javax.xml.registry.JAXRExceptionSet the organization that provides this service- Specified by:
setProvidingOrganizationin interfacejavax.xml.registry.infomodel.Service- Throws:
javax.xml.registry.JAXRException
-
addServiceBinding
public void addServiceBinding(javax.xml.registry.infomodel.ServiceBinding serviceBinding) throws javax.xml.registry.JAXRExceptionAdd a child ServiceBinding. Sets service on the binding.- Specified by:
addServiceBindingin interfacejavax.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:
addServiceBindingsin interfacejavax.xml.registry.infomodel.Service- Throws:
javax.xml.registry.JAXRException
-
removeServiceBinding
public void removeServiceBinding(javax.xml.registry.infomodel.ServiceBinding serviceBinding) throws javax.xml.registry.JAXRExceptionRemove a child ServiceBinding.- Specified by:
removeServiceBindingin interfacejavax.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:
removeServiceBindingsin interfacejavax.xml.registry.infomodel.Service- Throws:
javax.xml.registry.JAXRException
-
getServiceBindings
public Collection getServiceBindings() throws javax.xml.registry.JAXRException
Get the service bindings- Specified by:
getServiceBindingsin interfacejavax.xml.registry.infomodel.Service- Throws:
javax.xml.registry.JAXRException
-
-