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

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.ServiceBindingImpl
All Implemented Interfaces:
javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.ServiceBinding, javax.xml.registry.infomodel.URIValidator

public class ServiceBindingImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.ServiceBinding

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
 
Constructor Summary
ServiceBindingImpl(LifeCycleManagerImpl lcm)
           
ServiceBindingImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ServiceBindingType ebBinding)
           
 
Method Summary
 void addSpecificationLink(javax.xml.registry.infomodel.SpecificationLink specLink)
           
 void addSpecificationLinks(java.util.Collection _specLinks)
           
 java.lang.String getAccessURI()
           
 void getComposedObjects(java.util.HashSet composedObjects)
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 javax.xml.registry.infomodel.Service getService()
           
 RegistryObjectRef getServiceRef()
           
 java.util.Collection getSpecificationLinks()
           
 javax.xml.registry.infomodel.ServiceBinding getTargetBinding()
           
 RegistryObjectRef getTargetBindingRef()
           
 boolean getValidateURI()
           
 void removeSpecificationLink(javax.xml.registry.infomodel.SpecificationLink specLink)
           
 void removeSpecificationLinks(java.util.Collection _specLinks)
           
 void setAccessURI(java.lang.String par1)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ServiceBindingType ebBinding)
           
 void setTargetBinding(javax.xml.registry.infomodel.ServiceBinding _binding)
           
 void setValidateURI(boolean validateURI)
           
 org.oasis.ebxml.registry.bindings.rim.ServiceBinding 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.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, 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.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
 

Constructor Detail

ServiceBindingImpl

public ServiceBindingImpl(LifeCycleManagerImpl lcm)
                   throws javax.xml.registry.JAXRException

ServiceBindingImpl

public ServiceBindingImpl(LifeCycleManagerImpl lcm,
                          org.oasis.ebxml.registry.bindings.rim.ServiceBindingType ebBinding)
                   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

getAccessURI

public java.lang.String getAccessURI()
                              throws javax.xml.registry.JAXRException
Specified by:
getAccessURI in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

setAccessURI

public void setAccessURI(java.lang.String par1)
                  throws javax.xml.registry.JAXRException
Specified by:
setAccessURI in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

getTargetBindingRef

public RegistryObjectRef getTargetBindingRef()
                                      throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getTargetBinding

public javax.xml.registry.infomodel.ServiceBinding getTargetBinding()
                                                             throws javax.xml.registry.JAXRException
Specified by:
getTargetBinding in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

setTargetBinding

public void setTargetBinding(javax.xml.registry.infomodel.ServiceBinding _binding)
                      throws javax.xml.registry.JAXRException
Specified by:
setTargetBinding in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

getServiceRef

public RegistryObjectRef getServiceRef()
                                throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getService

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

addSpecificationLink

public void addSpecificationLink(javax.xml.registry.infomodel.SpecificationLink specLink)
                          throws javax.xml.registry.JAXRException
Specified by:
addSpecificationLink in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

addSpecificationLinks

public void addSpecificationLinks(java.util.Collection _specLinks)
                           throws javax.xml.registry.JAXRException
Specified by:
addSpecificationLinks in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

removeSpecificationLink

public void removeSpecificationLink(javax.xml.registry.infomodel.SpecificationLink specLink)
                             throws javax.xml.registry.JAXRException
Specified by:
removeSpecificationLink in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

removeSpecificationLinks

public void removeSpecificationLinks(java.util.Collection _specLinks)
                              throws javax.xml.registry.JAXRException
Specified by:
removeSpecificationLinks in interface javax.xml.registry.infomodel.ServiceBinding
Throws:
javax.xml.registry.JAXRException

getSpecificationLinks

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

getValidateURI

public boolean getValidateURI()
                       throws javax.xml.registry.JAXRException
Specified by:
getValidateURI in interface javax.xml.registry.infomodel.URIValidator
Throws:
javax.xml.registry.JAXRException

setValidateURI

public void setValidateURI(boolean validateURI)
                    throws javax.xml.registry.JAXRException
Specified by:
setValidateURI in interface javax.xml.registry.infomodel.URIValidator
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.ServiceBinding 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.ServiceBindingType ebBinding)
                         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

getRegistryObjectRefs

public java.util.HashSet getRegistryObjectRefs()
Used by LifeCycleManagerImpl.saveObjects

Overrides:
getRegistryObjectRefs in class RegistryObjectImpl


Copyright © 2001-2004 OASIS. All Rights Reserved.