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

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.ClassificationSchemeImpl
All Implemented Interfaces:
javax.xml.registry.infomodel.ClassificationScheme, javax.xml.registry.infomodel.ExtensibleObject, javax.xml.registry.infomodel.RegistryEntry, javax.xml.registry.infomodel.RegistryObject, javax.xml.registry.infomodel.Versionable

public class ClassificationSchemeImpl
extends RegistryEntryImpl
implements javax.xml.registry.infomodel.ClassificationScheme

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.ClassificationScheme
VALUE_TYPE_EMBEDDED_PATH, VALUE_TYPE_NON_UNIQUE, VALUE_TYPE_UNIQUE
 
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
ClassificationSchemeImpl(LifeCycleManagerImpl lcm)
           
ClassificationSchemeImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ClassificationSchemeType ebScheme)
           
ClassificationSchemeImpl(LifeCycleManagerImpl lcm, javax.xml.registry.infomodel.Concept concept)
          This constructir is to do a type safe cast from a Concept with no parent to a scheme.
 
Method Summary
 void addChildConcept(javax.xml.registry.infomodel.Concept c)
           
 void addChildConcepts(java.util.Collection par1)
           
 int getChildConceptCount()
           
 java.util.Collection getChildrenConcepts()
           
 void getComposedObjects(java.util.HashSet composedObjects)
           
 java.util.Collection getDescendantConcepts()
           
 int getValueType()
           
 boolean isExternal()
           
 void removeChildConcept(javax.xml.registry.infomodel.Concept par1)
           
 void removeChildConcepts(java.util.Collection par1)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ClassificationSchemeType ebClassificationScheme)
           
 void setExternal(boolean external)
           
 void setValueType(int param)
           
 org.oasis.ebxml.registry.bindings.rim.ClassificationScheme toBindingObject()
           
 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

ClassificationSchemeImpl

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

ClassificationSchemeImpl

public ClassificationSchemeImpl(LifeCycleManagerImpl lcm,
                                javax.xml.registry.infomodel.Concept concept)
                         throws javax.xml.registry.JAXRException
This constructir is to do a type safe cast from a Concept with no parent to a scheme. This has history in UDDI and we are not sure what value it has in ebXML. We are implementing it as it is required by the JAXR API. Needs evaluation for relevance in JAXR2.0??


ClassificationSchemeImpl

public ClassificationSchemeImpl(LifeCycleManagerImpl lcm,
                                org.oasis.ebxml.registry.bindings.rim.ClassificationSchemeType ebScheme)
                         throws javax.xml.registry.JAXRException
Method Detail

setExternal

public void setExternal(boolean external)

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

addChildConcept

public void addChildConcept(javax.xml.registry.infomodel.Concept c)
                     throws javax.xml.registry.JAXRException
Specified by:
addChildConcept in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

addChildConcepts

public void addChildConcepts(java.util.Collection par1)
                      throws javax.xml.registry.JAXRException
Specified by:
addChildConcepts in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

removeChildConcept

public void removeChildConcept(javax.xml.registry.infomodel.Concept par1)
                        throws javax.xml.registry.JAXRException
Specified by:
removeChildConcept in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

removeChildConcepts

public void removeChildConcepts(java.util.Collection par1)
                         throws javax.xml.registry.JAXRException
Specified by:
removeChildConcepts in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

getChildConceptCount

public int getChildConceptCount()
                         throws javax.xml.registry.JAXRException
Specified by:
getChildConceptCount in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

getChildrenConcepts

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

getDescendantConcepts

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

isExternal

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

setValueType

public void setValueType(int param)
                  throws javax.xml.registry.JAXRException
Specified by:
setValueType in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

getValueType

public int getValueType()
                 throws javax.xml.registry.JAXRException
Specified by:
getValueType in interface javax.xml.registry.infomodel.ClassificationScheme
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.ClassificationScheme toBindingObject()
                                                                           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

setBindingObject

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


Copyright © 2001-2004 OASIS. All Rights Reserved.