public interface ClassificationScheme extends RegistryEntry
Figure 1 shows how a ClassificationScheme is used by a Classification to classify a RegistryObject.
Modifier and Type | Field and Description |
---|---|
static int |
VALUE_TYPE_EMBEDDED_PATH
Each taxonomy value in ClassificationScheme embeds the full path from scheme to that Concept.
|
static int |
VALUE_TYPE_NON_UNIQUE
Taxonomy values in ClassificationScheme may be repeated within the same scheme.
|
static int |
VALUE_TYPE_UNIQUE
Each taxonomy value in ClassificationScheme is unique.
|
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
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.
|
java.util.Collection |
getDescendantConcepts()
Gets all descendant Concepts.
|
int |
getValueType()
Gets the value type for this object.
|
boolean |
isExternal()
Determines whether this ClassificationScheme is an external ClassificationScheme
or an internal ClassificationScheme.
|
void |
removeChildConcept(Concept concept)
Removes a child Concept.
|
void |
removeChildConcepts(java.util.Collection concepts)
Removes a Collection of children Concepts.
|
void |
setValueType(int valueType)
Sets the value type for this object.
|
getExpiration, getStability, getStatus, setExpiration, setStability
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
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
static final int VALUE_TYPE_UNIQUE
static final int VALUE_TYPE_EMBEDDED_PATH
static final int VALUE_TYPE_NON_UNIQUE
void 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
boolean isExternal() throws JAXRException
true
if this is an external ClassificationScheme; false
otherwiseJAXRException
- If the Jakarta XML Registries provider encounters an internal errorint getValueType() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorVALUE_TYPE_UNIQUE
,
VALUE_TYPE_EMBEDDED_PATH
,
VALUE_TYPE_NON_UNIQUE
void setValueType(int valueType) throws JAXRException
valueType
- an integer constant that describes the type of values supported by this ClassificationSchemeJAXRException
- If the Jakarta XML Registries provider encounters an internal errorVALUE_TYPE_UNIQUE
,
VALUE_TYPE_EMBEDDED_PATH
,
VALUE_TYPE_NON_UNIQUE