public interface Classification extends Concept
Concept
objects. These Concept
objects:
ConceptContainer
,
Concept
,
UsageContext
Modifier and Type | Field and Description |
---|---|
static char |
STATUS_ACTIVE
Constant representing the status of a Classification as active.
|
static char |
STATUS_DIRTY
Constant that denotes the status of a classification as dirty.
|
static char |
STATUS_PENDING
Constant that denotes the status of a classification as pending.
|
static char |
STATUS_RETIRED
Constant that denotes the status of a classification as retired.
|
DEFAULT_EQUIVALENCE_CONTEXT, EQUIVALENCE_TYPE_EXACT_CONCEPT, EQUIVALENCE_TYPE_MAPPING, EQUIVALENCE_TYPE_SEMANTIC, LOCAL_PREFERRED, MAXLENGTH_EXT_TYPE_CODE, NONE, TERMINOLOGY_PREFERRED, TERMINOLOGY_PREFERRED_AND_LOCAL_PREFERRED, TYPE_DESC, TYPE_PRINT
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Concept concept)
Indicates if a concept is contained within this
Classification object. |
boolean[] |
contains(String[] etsIDs)
Indicates which set of ETS identifiers of a concept is contained within
this
Classification object. |
Classification[] |
findAllChildClassifications()
Retrieves the child classifications of the
Classification object. |
Classification[] |
findChildClassifications()
Retrieves the immediate child classifications of the
Classification object. |
Concept[] |
findConceptsInClassification()
Retrieves the concepts in the
Classification object. |
char |
getClassificationState()
Gets the constant representing the current state of the
Classification object. |
ClassificationDeclaration |
getDeclarationByConcept(Concept concept)
Gets the classification declaration associated with a particular
concept within the context of this
Classification . |
ClassificationDeclaration[] |
getDeclarations()
Gets all the declarations added to the
Classification object. |
String |
getName()
Gets the name of the
Classification object. |
Classification |
getParentClassification() |
Classification[] |
getTopMostParentClassifications()
Gets the top most parent classifications of a concept.
|
boolean |
isAvailable()
Returns
true if the Classification object is available
for query. |
getAllDescriptions, getAllDescriptions, getClassifications, getCodingSchemeVersion, getConceptCode, getConceptListsContainingConcept, getConceptListsContainingConcept, getDescription, getDescription, getDescription, getEquivalentConcepts, getEquivalentConcepts, getEquivalentConcepts, getExtendedTypeCode, getLocallyPreferredDescription, getLocallyPreferredDescription, getLocallySpecifiedDescriptions, getLocallySpecifiedDescriptions, getMappedConcepts, getMappedConcepts, getRelatedConcepts, getRelatedConcepts, getRelatedConcepts, getRelationships, getRelationships, getTerminologyPreferredDescription, getTerminologyPreferredDescription, getTerminologySpecifiedDescriptions, getTerminologySpecifiedDescriptions, isEquivalent, isEquivalent, isRelationType
getFinalAssignment, getNextAssignment, getPreviousAssignments, isReassigned
getRetiredDate, getVersionID, isActive, isInternal, isQuarantined, isRetired
getAttributeNames, getAttributes, getAttributes
getCreationDate, getETSID, getImportDate, getLastUpdateDate
static final char STATUS_ACTIVE
static final char STATUS_PENDING
static final char STATUS_DIRTY
static final char STATUS_RETIRED
String getName() throws ETSDataException
Classification
object.
The maximum length of this attribute is 4000.Classification
object.ETSDataException
- If a data transport error occurrs.Classification[] findChildClassifications() throws ETSDataException
Classification
object.Classification
object,
or a zero-length array if no immediate child classification is found.ETSDataException
- If a data transport error occurs.Classification[] findAllChildClassifications() throws ETSDataException
Classification
object.Classification
object,
or a zero-length array if no immediate child classification is found.ETSDataException
- If a data transport error occurs.Concept[] findConceptsInClassification() throws ETSDataException
Classification
object.Classification
object,
or a zero-length array if no concept is found.ETSDataException
- If a data transport error occurs.boolean isAvailable()
true
if the Classification
object is available
for query. true
indicates that the Classification
object
is in the active or dirty state.true
if the Classification
object is in the active
or dirty state.ClassificationDeclaration[] getDeclarations() throws ETSDataException
Classification
object.ClassificationDeclaration
objects, or a zero-length array
if no declaration is found.ETSDataException
- If a data transport error occurs.ClassificationDeclaration getDeclarationByConcept(Concept concept) throws ETSDataException, ETSNotFoundException, ETSBadParameterException
Classification
.concept
- Concept
object.ClassificationDeclaration
object.ETSDataException
- If a data transport error occurs.ETSNotFoundException
- If the specified Concept
is
not contained in this Classification
object.ETSBadParameterException
- If the specified Concept
is null
.Classification[] getTopMostParentClassifications() throws ETSDataException
ETSDataException
- If a data transport error occurs.Classification getParentClassification() throws ETSDataException
ETSDataException
char getClassificationState()
Classification
object.
Classification
states Active
,Dirty
,and Pending
map to Concept
state Active
.
Classification
state Retired
maps to Concept
state Retired
.
Classification
object. The constants are:
ETSAdministrationService.retireClassification(Classification classification)
,
ETSAdministrationService.activateClassification(Classification classification)
boolean[] contains(String[] etsIDs) throws ETSDataException, ETSBadParameterException
Classification
object. The ETS identifiers, in this
case, are assumed to be Concept
identifiers.etsIDs
- Array of String
representing the ETS identifiers
of concepts.etsIDs
, is contained in this Classification
object. If etsID[i]
is contained in this Classification
object, the value at index i in the returned array is true
.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If the length of etsIDs
is zero
or null
.boolean contains(Concept concept) throws ETSDataException, ETSBadParameterException, ETSNotFoundException
Classification
object.concept
- Concepttrue
if the concept is contained within this
Classification
object.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If a concept is null
.ETSNotFoundException
- If a concept is not found in ETS.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved