Figure 1 shows how a ClassificationScheme is used by a Classification to classify a RegistryObject.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | VALUE_TYPE_EMBEDDED_PATH
Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept. |
| public static final int | VALUE_TYPE_NON_UNIQUE
Taxonomy values in ClassificationScheme may be repeated within the same scheme. |
| public static final int | VALUE_TYPE_UNIQUE
Each taxonomy value in ClassificationScheme is unique. |
| 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 Collection | Returns: Collection of Concept instances. The Collection may be empty but not null.Gets all descendant Concepts. |
| public int | Returns: an integer constant that describes the type of values supported by this ClassificationSchemeGets the value type for this object. |
| public boolean | Returns: trueif this is an external ClassificationScheme; false otherwiseDetermines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme. |
| 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 | setValueType(int
an integer constant that describes the type of values supported by this ClassificationScheme valueType)Sets the value type for this object. |
| VALUE_TYPE_EMBEDDED_PATH | back to summary |
|---|---|
| public static final int VALUE_TYPE_EMBEDDED_PATH Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept. This also implies that each taxonomy value is unique. | |
| VALUE_TYPE_NON_UNIQUE | back to summary |
|---|---|
| public static final int VALUE_TYPE_NON_UNIQUE Taxonomy values in ClassificationScheme may be repeated within the same scheme. However, two Concepts that have the same parent cannot have the same value. | |
| VALUE_TYPE_UNIQUE | back to summary |
|---|---|
| public static final int VALUE_TYPE_UNIQUE Each taxonomy value in ClassificationScheme is unique. | |
| 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.
| |
| getDescendantConcepts | back to summary |
|---|---|
| public Collection Gets all descendant Concepts.
| |
| getValueType | back to summary |
|---|---|
| public int getValueType() throws JAXRException Gets the value type for this object. The value type describes how taxonomy values are defined within the scheme.
| |
| isExternal | back to summary |
|---|---|
| public boolean isExternal() throws JAXRException Determines whether this ClassificationScheme is an external ClassificationScheme or an internal ClassificationScheme.
| |
| 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.
| |
| setValueType | back to summary |
|---|---|
| public void setValueType(int valueType) throws JAXRException Sets the value type for this object.
| |