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(Collection concepts)
Adds a Collection of Concept children.
|
int |
getChildConceptCount()
Gets number of children.
|
Collection |
getChildrenConcepts()
Gets all immediate children Concepts.
|
ClassificationScheme |
getClassificationScheme()
Gets the ClassificationScheme that this Concept is a descendent of.
|
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.
|
String |
getPath()
Gets the canonical path representation for this Concept.
|
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(Collection concepts)
Removes a Collection of children Concepts.
|
void |
setValue(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
String getValue() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setValue(String value) throws JAXRException
value
- the value (usually a taxonomy value) associated with this ConceptJAXRException
- If the JAXR provider encounters an internal errorvoid addChildConcept(Concept concept) throws JAXRException
concept
- the concept being added as a child of this objectJAXRException
- If the JAXR provider encounters an internal errorvoid addChildConcepts(Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being added as a children of this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeChildConcept(Concept concept) throws JAXRException
concept
- the concept being removed as a child Concept of this objectJAXRException
- If the JAXR provider encounters an internal errorvoid removeChildConcepts(Collection concepts) throws JAXRException
concepts
- the Collection of Concepts being removed as children Concepts of this objectJAXRException
- If the JAXR provider encounters an internal errorint getChildConceptCount() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorCollection getChildrenConcepts() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorConcept
Collection getDescendantConcepts() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorConcept
Concept getParentConcept() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorClassificationScheme getClassificationScheme() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorString getPath() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryObject getParent() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.