javax.xml.registry.infomodel
Interface Concept

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

public interface Concept
extends RegistryObject

The Concept interface is used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy. Concept instances are used to define tree structures where the root of the tree is a ClassificationScheme instance and each node in the tree is a Concept instance. Two Concepts may be defined as being equivalent.

The figure below shows how Concept instances are used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy.

See Also:
RegistryObject, Classification, ClassificationScheme

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
 ClassificationScheme getClassificationScheme()
          Get the ClassificationScheme that this Concept is a descendent of
 java.util.Collection getDescendantConcepts()
          Get all descendant Concepts
 Concept getParentConcept()
          Get the parent Concept or null if parent is a ClassificationScheme.
 java.lang.String getValue()
          Gets the value (usually a code in a taxonomy) associated with this Concept.
 void removeChildConcept(Concept concept)
          Remove a child Concept
 void removeChildConcepts(java.util.Collection concept)
          Remove a Collection of children Concepts
 void setValue(java.lang.String value)
          Sets the value (usually a code in a taxonomy) associated with this Concept.
 
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
 

Method Detail

getValue

public java.lang.String getValue()
                          throws JAXRException
Gets the value (usually a code in a taxonomy) associated with this Concept.

Capability Level: 0

setValue

public void setValue(java.lang.String value)
              throws JAXRException
Sets the value (usually a code in a taxonomy) associated with this Concept.

Capability Level: 0

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

getParentConcept

public Concept getParentConcept()
                         throws JAXRException
Get the parent Concept or null if parent is a ClassificationScheme.

Capability Level: 0

getClassificationScheme

public ClassificationScheme getClassificationScheme()
                                             throws JAXRException
Get the ClassificationScheme that this Concept is a descendent of

Capability Level: 0