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 |
|---|---|
| public void | addChildConcept(Concept
the concept being added as a child of this object concept)Adds a child Concept. |
| public void | addChildConcepts(Collection<E>
the Collection of Concepts being added as a children of this object concepts)Adds a Collection of Concept children. |
| public int | |
| public Collection | Returns: Collection of Concept instances. The Collection may be empty but not null.Gets all immediate children Concepts. |
| public ClassificationScheme | Returns: the ClassificationScheme that is the ancestor of this object. May return nullGets the ClassificationScheme that this Concept is a descendent of. |
| public Collection | Returns: Collection of Concept instances. The Collection may be empty but not null.Gets all descendant Concepts. |
| public RegistryObject | Returns: the parent Concept or ClassificationScheme for this objectGets the parent Concept or ClassificationScheme for this object. |
| public Concept | Returns: the Concept that is the parent of this objectGets the parent Concept or null if parent is a ClassificationScheme. |
| public String | Returns: the canonical path String representing this objectGets the canonical path representation for this Concept. |
| public String | Returns: the value (usually a taxonomy value) associated with this ConceptGets the value (usually a code in a taxonomy) associated with this Concept. |
| public void | removeChildConcept(Concept
the concept being removed as a child Concept of this object concept)Removes a child Concept. |
| public void | removeChildConcepts(Collection<E>
the Collection of Concepts being removed as children Concepts of this object concepts)Removes a Collection of children Concepts. |
| public void |
| addChildConcept | back to summary |
|---|---|
| public void addChildConcept(Concept concept) throws JAXRException Adds a child Concept.
| |
| addChildConcepts | back to summary |
|---|---|
| public void addChildConcepts(Collection<E> concepts) throws JAXRException Adds a Collection of Concept children.
| |
| getChildConceptCount | back to summary |
|---|---|
| public int getChildConceptCount() throws JAXRException Gets number of children.
| |
| getChildrenConcepts | back to summary |
|---|---|
| public Collection Gets all immediate children Concepts.
| |
| getClassificationScheme | back to summary |
|---|---|
| public ClassificationScheme getClassificationScheme() throws JAXRException Gets the ClassificationScheme that this Concept is a descendent of.
| |
| getDescendantConcepts | back to summary |
|---|---|
| public Collection Gets all descendant Concepts.
| |
| getParent | back to summary |
|---|---|
| public RegistryObject getParent() throws JAXRException Gets the parent Concept or ClassificationScheme for this object.
| |
| getParentConcept | back to summary |
|---|---|
| public Concept getParentConcept() throws JAXRException Gets the parent Concept or null if parent is a ClassificationScheme.
| |
| getPath | back to summary |
|---|---|
| public String getPath() throws JAXRException Gets the canonical path representation for this Concept.
| |
| getValue | back to summary |
|---|---|
| public String getValue() throws JAXRException Gets the value (usually a code in a taxonomy) associated with this Concept.
| |
| removeChildConcept | back to summary |
|---|---|
| public void removeChildConcept(Concept concept) throws JAXRException Removes a child Concept.
| |
| removeChildConcepts | back to summary |
|---|---|
| public void removeChildConcepts(Collection<E> concepts) throws JAXRException Removes a Collection of children Concepts.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) throws JAXRException Sets the value (usually a taxonomy value) associated with this Concept.
| |