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,ExtensibleObject,RegistryEntry,RegistryObject,Service,Versionable
public class ServiceImpl extends RegistryEntryImpl implements Service, Serializable
Implementation of Service interface.- Author:
- kwalsh, Bobby Bissett
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
-
-
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(ServiceBinding serviceBinding)Add a child ServiceBinding.voidaddServiceBindings(Collection serviceBindings)Add a Collection of ServiceBinding children.OrganizationgetProvidingOrganization()Get the organization that provides this serviceCollectiongetServiceBindings()Get the service bindingsvoidremoveServiceBinding(ServiceBinding serviceBinding)Remove a child ServiceBinding.voidremoveServiceBindings(Collection serviceBindings)Remove a Collection of children ServiceBindings.voidsetProvidingOrganization(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
-
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
-
-
-
Constructor Detail
-
ServiceImpl
public ServiceImpl()
Default constructor
-
ServiceImpl
public ServiceImpl(String name)
Creates new ServiceImpl with the given name
-
-
Method Detail
-
getProvidingOrganization
public Organization getProvidingOrganization() throws JAXRException
Get the organization that provides this service- Specified by:
getProvidingOrganizationin interfaceService- Returns:
- the Organization that provides this service
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
RegistryObject.getSubmittingOrganization()
-
setProvidingOrganization
public void setProvidingOrganization(Organization org) throws JAXRException
Set the organization that provides this service- Specified by:
setProvidingOrganizationin interfaceService- Parameters:
org- the Organization that provides this service- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
addServiceBinding
public void addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
Add a child ServiceBinding. Sets service on the binding.- Specified by:
addServiceBindingin interfaceService- Parameters:
serviceBinding- the ServiceBinding being added- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
addServiceBindings
public void addServiceBindings(Collection serviceBindings) throws JAXRException
Add a Collection of ServiceBinding children. Treats null param as an empty collection.- Specified by:
addServiceBindingsin interfaceService- Parameters:
serviceBindings- the Collection of ServiceBindings being added- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
removeServiceBinding
public void removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
Remove a child ServiceBinding.- Specified by:
removeServiceBindingin interfaceService- Parameters:
serviceBinding- the ServiceBinding being removed- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
removeServiceBindings
public void removeServiceBindings(Collection serviceBindings) throws JAXRException
Remove a Collection of children ServiceBindings. Treats null param as an empty collection.- Specified by:
removeServiceBindingsin interfaceService- Parameters:
serviceBindings- the Collection of ServiceBindings being removed- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getServiceBindings
public Collection getServiceBindings() throws JAXRException
Get the service bindings- Specified by:
getServiceBindingsin interfaceService- Returns:
- Collection of ServiceBinding instances. The Collection may be empty but not null.
- Throws:
JAXRException- If the JAXR provider encounters an internal error- See Also:
ServiceBinding
-
-