public interface Concept extends RegistryObject
Figure 1 shows how Concept instances are used to represent taxonomy elements and their structural relationship with each other in order to describe an internal taxonomy.
RegistryObject
,
Classification
,
ClassificationScheme
Modifier and Type | Method and Description |
---|---|
void |
addChildConcept(Concept concept)
Adds a child Concept.
|
void |
addChildConcepts(java.util.Collection concepts)
Adds a Collection of Concept children.
|
int |
getChildConceptCount()
Gets number of children.
|
java.util.Collection |
getChildrenConcepts()
Gets all immediate children Concepts.
|
ClassificationScheme |
getClassificationScheme()
Gets the ClassificationScheme that this Concept is a descendent of.
|
java.util.Collection |
getDescendantConcepts()
Gets all descendant Concepts.
|
RegistryObject |
getParent()
Gets the parent Concept or ClassificationScheme for this object.
|
Concept |
getParentConcept()
Gets the parent Concept or null if parent is a ClassificationScheme.
|
java.lang.String |
getPath()
Gets the canonical path representation for this Concept.
|
java.lang.String |
getValue()
Gets the value (usually a code in a taxonomy) associated with this Concept.
|
void |
removeChildConcept(Concept concept)
Removes a child Concept.
|
void |
removeChildConcepts(java.util.Collection concepts)
Removes a Collection of children Concepts.
|
void |
setValue(java.lang.String value)
Sets the value (usually a taxonomy value) associated with this Concept.
|
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, toXML
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
java.lang.String getValue() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setValue(java.lang.String value) throws JAXRException
value
- the value (usually a taxonomy value) associated with this ConceptJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addChildConcept(Concept concept) throws JAXRException
concept
- the concept being added as a child of this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid addChildConcepts(java.util.Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being added as a children of this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeChildConcept(Concept concept) throws JAXRException
concept
- the concept being removed as a child Concept of this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid removeChildConcepts(java.util.Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being removed as children Concepts of this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorint getChildConceptCount() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorjava.util.Collection getChildrenConcepts() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorConcept
java.util.Collection getDescendantConcepts() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorConcept
Concept getParentConcept() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorConcept
ClassificationScheme getClassificationScheme() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorClassificationScheme
java.lang.String getPath() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorRegistryObject getParent() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal error