javax.xml.registry.infomodel
Interface ClassificationScheme

All Superinterfaces:
ExtensibleObject, RegistryEntry, RegistryObject, java.io.Serializable, Versionable

public interface ClassificationScheme
extends RegistryEntry

A ClassificationScheme instance represents a taxonomy that may be used to classify or categorize RegistryObject instances. A very common example of a classification scheme in science is the Classification of living things where living things are categorized in under a tree like structure. Another example is the Dewey Decimal system used in libraries to categorize books and other publications. A common example in eBusiness is that of North American Industry Classification System (NAICS), which is a classification scheme used to classify businesses and services by the industry to which they belong.

The figure below show how a ClassificationScheme is used by a Classification to classify a RegistryObject.


Method Summary
 void addChildConcept(Concept concept)
          Add a child Concept
 void addChildConcepts(java.util.Collection concept)
          Add a Collection of Concept children
 Concept getChildConceptAt(int index)
          Get a child Concept at a specified index
 int getChildConceptCount()
          Get number of children
 java.util.Collection getChildrenConcepts()
          Get all immediate children Concepts
 java.util.Collection getDescendantConcepts()
          Get all descendant Concepts
 boolean isExternal()
          Returns true if this is an external ClassificationScheme and therfor has no Concept trees that provide the structure for this ClassificationScheme.
 void removeChildConcept(Concept concept)
          Remove a child Concept
 void removeChildConcepts(java.util.Collection concept)
          Remove a Collection of children Concepts
 
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, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getName, getObjectType, getOrganization, getPackages, 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, getSlotAt, getSlots, removeSlot, removeSlots
 
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
 

Method Detail

addChildConcept

public void addChildConcept(Concept concept)
                     throws JAXRException
Add a child Concept

Capability Level: 0

addChildConcepts

public void addChildConcepts(java.util.Collection concept)
                      throws JAXRException
Add a Collection of Concept children

Capability Level: 0

removeChildConcept

public void removeChildConcept(Concept concept)
                        throws JAXRException
Remove a child Concept

Capability Level: 0

removeChildConcepts

public void removeChildConcepts(java.util.Collection concept)
                         throws JAXRException
Remove a Collection of children Concepts

Capability Level: 0

getChildConceptAt

public Concept getChildConceptAt(int index)
                          throws JAXRException
Get a child Concept at a specified index

Capability Level: 0

getChildConceptCount

public int getChildConceptCount()
                         throws JAXRException
Get number of children

Capability Level: 0

getChildrenConcepts

public java.util.Collection getChildrenConcepts()
                                         throws JAXRException
Get all immediate children Concepts

Capability Level: 0

getDescendantConcepts

public java.util.Collection getDescendantConcepts()
                                           throws JAXRException
Get all descendant Concepts

Capability Level: 0

isExternal

public boolean isExternal()
                   throws JAXRException
Returns true if this is an external ClassificationScheme and therfor has no Concept trees that provide the structure for this ClassificationScheme.

Capability Level: 0