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

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

public class ConceptImpl
extends RegistryObjectImpl
implements javax.xml.registry.infomodel.Concept

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
ConceptImpl(LifeCycleManagerImpl lcm)
           
ConceptImpl(LifeCycleManagerImpl lcm, org.oasis.ebxml.registry.bindings.rim.ClassificationNodeType cnode)
           
 
Method Summary
 void addChildConcept(javax.xml.registry.infomodel.Concept par1)
           
 void addChildConcepts(java.util.Collection par1)
           
 int getChildConceptCount()
           
 java.util.Collection getChildrenConcepts()
           
 javax.xml.registry.infomodel.ClassificationScheme getClassificationScheme()
           
 javax.xml.registry.BulkResponse getClassifiedObjects()
          Will be added to JAXR 2.0 API in future.
 void getComposedObjects(java.util.HashSet composedObjects)
           
 java.util.Collection getDescendantConcepts()
           
 int getLevel()
          Gets the level for this Concept.
 javax.xml.registry.infomodel.RegistryObject getParent()
           
 javax.xml.registry.infomodel.Concept getParentConcept()
           
 java.lang.String getPath()
           
 java.util.HashSet getRegistryObjectRefs()
          Used by LifeCycleManagerImpl.saveObjects
 java.lang.String getValue()
           
 void removeChildConcept(javax.xml.registry.infomodel.Concept par1)
           
 void removeChildConcepts(java.util.Collection par1)
           
protected  void setBindingObject(org.oasis.ebxml.registry.bindings.rim.ClassificationNodeType ebClassificationNode)
           
 void setClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme c)
           
 void setParentConcept(javax.xml.registry.infomodel.Concept c)
           
 void setValue(java.lang.String par1)
           
 org.oasis.ebxml.registry.bindings.rim.ClassificationNode toBindingObject()
           
 java.lang.String toString()
           
 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
 
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

ConceptImpl

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

ConceptImpl

public ConceptImpl(LifeCycleManagerImpl lcm,
                   org.oasis.ebxml.registry.bindings.rim.ClassificationNodeType cnode)
            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

getValue

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

setValue

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

addChildConcept

public void addChildConcept(javax.xml.registry.infomodel.Concept par1)
                     throws javax.xml.registry.JAXRException
Specified by:
addChildConcept in interface javax.xml.registry.infomodel.Concept
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.Concept
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.Concept
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.Concept
Throws:
javax.xml.registry.JAXRException

getChildConceptCount

public int getChildConceptCount()
                         throws javax.xml.registry.JAXRException
Specified by:
getChildConceptCount in interface javax.xml.registry.infomodel.Concept
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.Concept
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.Concept
Throws:
javax.xml.registry.JAXRException

getParentConcept

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

getParent

public javax.xml.registry.infomodel.RegistryObject getParent()
                                                      throws javax.xml.registry.JAXRException
Specified by:
getParent in interface javax.xml.registry.infomodel.Concept
Throws:
javax.xml.registry.JAXRException

setParentConcept

public void setParentConcept(javax.xml.registry.infomodel.Concept c)
                      throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getClassificationScheme

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

setClassificationScheme

public void setClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme c)
                             throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getPath

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

getLevel

public int getLevel()
             throws javax.xml.registry.JAXRException
Gets the level for this Concept. Add to JAXR 2.0??

Returns:
0 for a Concept with no parent, 1 for a first level Concept, n otherwise
Throws:
javax.xml.registry.JAXRException

toBindingObject

public org.oasis.ebxml.registry.bindings.rim.ClassificationNode 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.ClassificationNodeType ebClassificationNode)
                         throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

getClassifiedObjects

public javax.xml.registry.BulkResponse getClassifiedObjects()
                                                     throws javax.xml.registry.JAXRException
Will be added to JAXR 2.0 API in future. Gets all RegistryObjects that are classified by this Concept.

Throws:
javax.xml.registry.JAXRException

getRegistryObjectRefs

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

Overrides:
getRegistryObjectRefs in class RegistryObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class RegistryObjectImpl


Copyright © 2001-2004 OASIS. All Rights Reserved.