org.apache.ws.scout.registry.infomodel
Class ServiceImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
      extended by org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
          extended by org.apache.ws.scout.registry.infomodel.RegistryEntryImpl
              extended by org.apache.ws.scout.registry.infomodel.ServiceImpl
All Implemented Interfaces:
ExtensibleObject, RegistryEntry, RegistryObject, Service, Versionable

public class ServiceImpl
extends RegistryEntryImpl
implements Service

Implements JAXR Interface. For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana

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
ServiceImpl(LifeCycleManager lifeCycleManager)
          Creates a new instance of ServiceImpl
 
Method Summary
 void addServiceBinding(ServiceBinding sb)
           
 void addServiceBindings(Collection col)
           
 Organization getProvidingOrganization()
           
 Collection getServiceBindings()
           
 String getSubmittingOrganizationKey()
           
 void removeServiceBinding(ServiceBinding serviceBinding)
           
 void removeServiceBindings(Collection collection)
           
 void setProvidingOrganization(Organization organization)
           
 void setSubmittingOrganizationKey(String key)
           
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.RegistryEntryImpl
getExpiration, getMajorVersion, getMinorVersion, getStability, getStatus, getUserVersion, setExpiration, setMajorVersion, setMinorVersion, setStability, setUserVersion
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, equals, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, hashCode, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from class org.apache.ws.scout.registry.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
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.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
 

Constructor Detail

ServiceImpl

public ServiceImpl(LifeCycleManager lifeCycleManager)
Creates a new instance of ServiceImpl

Method Detail

addServiceBinding

public void addServiceBinding(ServiceBinding sb)
                       throws JAXRException
Specified by:
addServiceBinding in interface Service
Throws:
JAXRException

addServiceBindings

public void addServiceBindings(Collection col)
                        throws JAXRException
Specified by:
addServiceBindings in interface Service
Throws:
JAXRException

getProvidingOrganization

public Organization getProvidingOrganization()
                                      throws JAXRException
Specified by:
getProvidingOrganization in interface Service
Throws:
JAXRException

getServiceBindings

public Collection getServiceBindings()
                              throws JAXRException
Specified by:
getServiceBindings in interface Service
Throws:
JAXRException

removeServiceBinding

public void removeServiceBinding(ServiceBinding serviceBinding)
                          throws JAXRException
Specified by:
removeServiceBinding in interface Service
Throws:
JAXRException

removeServiceBindings

public void removeServiceBindings(Collection collection)
                           throws JAXRException
Specified by:
removeServiceBindings in interface Service
Throws:
JAXRException

setProvidingOrganization

public void setProvidingOrganization(Organization organization)
                              throws JAXRException
Specified by:
setProvidingOrganization in interface Service
Throws:
JAXRException

setSubmittingOrganizationKey

public void setSubmittingOrganizationKey(String key)

getSubmittingOrganizationKey

public String getSubmittingOrganizationKey()


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.