public interface Service extends RegistryEntry
ServiceBinding
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
Modifier and Type | Method and Description |
---|---|
void |
addServiceBinding(ServiceBinding serviceBinding)
Adds a child ServiceBinding.
|
void |
addServiceBindings(java.util.Collection serviceBindings)
Adds a Collection of ServiceBinding children.
|
Organization |
getProvidingOrganization()
Gets the Organization that provides this service.
|
java.util.Collection |
getServiceBindings()
Gets all children ServiceBindings.
|
void |
removeServiceBinding(ServiceBinding serviceBinding)
Removes a child ServiceBinding.
|
void |
removeServiceBindings(java.util.Collection serviceBindings)
Removes a Collection of children ServiceBindings.
|
void |
setProvidingOrganization(Organization providingOrganization)
Sets the Organization that provides this service.
|
getExpiration, getStability, getStatus, setExpiration, setStability
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
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
Organization getProvidingOrganization() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorRegistryObject.getSubmittingOrganization()
void setProvidingOrganization(Organization providingOrganization) throws JAXRException
providingOrganization
- the Organization that provides this serviceJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being addedJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addServiceBindings(java.util.Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being addedJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeServiceBinding(ServiceBinding serviceBinding) throws JAXRException
serviceBinding
- the ServiceBinding being removedJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeServiceBindings(java.util.Collection serviceBindings) throws JAXRException
serviceBindings
- the Collection of ServiceBindings being removedJAXRException
- If the Jakarta XML Registries provider encounters an internal errorjava.util.Collection getServiceBindings() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorServiceBinding