com.sun.xml.registry.ebxml.infomodel
Class ServiceImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
      extended bycom.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
          extended bycom.sun.xml.registry.ebxml.infomodel.RegistryEntryImpl
              extended bycom.sun.xml.registry.ebxml.infomodel.ServiceImpl
All Implemented Interfaces:
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

Class Declaration for Class1

Author:
Farrukh S. Najmi

Field Summary
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
associations, auditTrail, bqm, classifications, dqm, externalIds, externalLinks, name, objectType, objectTypeStr, packages
 
Fields inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
i18nUtil, lcm
 
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(LifeCycleManagerImpl lcm)
           
ServiceImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ServiceType ebService)
           
 
Method Summary
 void addServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)
           
 void addServiceBindings(java.util.Collection _bindings)
           
 void getComposedObjects(java.util.HashSet composedObjects)
           
 javax.xml.registry.infomodel.Organization getProvidingOrganization()
           
 java.util.Collection getServiceBindings()
           
 void removeServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)
           
 void removeServiceBindings(java.util.Collection _bindings)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ServiceType ebService)
           
 void setProvidingOrganization(javax.xml.registry.infomodel.Organization org)
           
 org.oasis.ebxml.registry.bindings.rim.Service toBindingObject()
          This method takes this JAXR infomodel object and returns an equivalent binding object for it.
 java.lang.String toXML()
           
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryEntryImpl
getExpiration, getMajorVersion, getMinorVersion, getStability, getStatus, getUserVersion, setBindingObject, setExpiration, setMajorVersion, setMinorVersion, setStability, setUserVersion
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, compareTo, equals, getAssociatedObjects, getAssociations, getAssociationsAndAssociatedObjects, getAuditTrail, getClassificationConceptsByPath, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getId, getKey, getLifeCycleManager, getLog, getName, getObjectType, getOwner, getRegistryObjectRefs, getRegistryPackages, getSubmittingOrganization, removeAllClassifications, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setBindingObject, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setModified, setName, toString
 
Methods inherited from class com.sun.xml.registry.ebxml.infomodel.ExtensibleObjectImpl
addSlot, addSlots, getBusinessQueryManager, getDeclarativeQueryManager, getSlot, getSlots, isModified, isNew, removeAllSlots, removeSlot, removeSlots, setLoaded, setNew, setSlots
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, 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
 
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(LifeCycleManagerImpl lcm)
            throws javax.xml.registry.JAXRException

ServiceImpl

public ServiceImpl(LifeCycleManagerImpl lcm,
                   org.oasis.ebxml.registry.bindings.rim.ServiceType ebService)
            throws javax.xml.registry.JAXRException
Method Detail

toXML

public java.lang.String toXML()
                       throws javax.xml.registry.JAXRException
Specified by:
toXML in interface javax.xml.registry.infomodel.RegistryObject
Specified by:
toXML in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException

setProvidingOrganization

public void setProvidingOrganization(javax.xml.registry.infomodel.Organization org)
                              throws javax.xml.registry.JAXRException
Specified by:
setProvidingOrganization in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

addServiceBinding

public void addServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)
                       throws javax.xml.registry.JAXRException
Specified by:
addServiceBinding in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

addServiceBindings

public void addServiceBindings(java.util.Collection _bindings)
                        throws javax.xml.registry.JAXRException
Specified by:
addServiceBindings in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

removeServiceBinding

public void removeServiceBinding(javax.xml.registry.infomodel.ServiceBinding binding)
                          throws javax.xml.registry.JAXRException
Specified by:
removeServiceBinding in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

removeServiceBindings

public void removeServiceBindings(java.util.Collection _bindings)
                           throws javax.xml.registry.JAXRException
Specified by:
removeServiceBindings in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

getServiceBindings

public java.util.Collection getServiceBindings()
                                        throws javax.xml.registry.JAXRException
Specified by:
getServiceBindings in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

getProvidingOrganization

public javax.xml.registry.infomodel.Organization getProvidingOrganization()
                                                                   throws javax.xml.registry.JAXRException
Specified by:
getProvidingOrganization in interface javax.xml.registry.infomodel.Service
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.Service toBindingObject()
                                                              throws javax.xml.registry.JAXRException
This method takes this JAXR infomodel object and returns an equivalent binding object for it. Note it does the reverse of one of the constructors above.

Throws:
javax.xml.registry.JAXRException

setBindingObject

protected void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ServiceType ebService)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getComposedObjects

public void getComposedObjects(java.util.HashSet composedObjects)
                        throws javax.xml.registry.JAXRException
Overrides:
getComposedObjects in class RegistryObjectImpl
Throws:
javax.xml.registry.JAXRException


Copyright © 2001-2004 OASIS. All Rights Reserved.