public interface ConceptContainer
CodingSchemeVersion
,
ConceptList
,
Concept
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Concept concept)
Indicates if the specified concept is included in the
ConceptContainer object. |
oracle.hsgbu.ets.util.ConceptIterator |
getAllConcepts()
Gets the iterator of unique concepts inside this
ConceptContainer object. |
Concept[] |
getConceptsWithAttribute(String name,
String value)
Gets all the concepts associated with this
ConceptContainer object,
which have an attribute with the specified name/value pair. |
Concept[] |
getConceptsWithAttributeName(String name)
Gets the concepts associated with this
ConceptContainer object and
that have an attribute with the specified name. |
Concept[] |
getMatchingConceptsByDescriptionTerm(String termPattern)
Gets concepts from the
ConceptContainer object that have one or more
descriptions matching the termPattern , which
is an Oracle Text (Intermedia / Context) style
pattern matching term. |
Concept[] |
getMatchingConceptsByDescriptionTerm(String termPattern,
long maxResults)
Gets concepts from the
ConceptContainer object that have one or more
descriptions matching the termPattern , which
is an Oracle Text (Intermedia / Context) style
pattern matching term. |
int |
getNumberOfConcepts()
Gets the number of concepts inside this
ConceptContainer object. |
oracle.hsgbu.ets.util.ConceptIterator getAllConcepts() throws ETSDataException
ConceptContainer
object.ConceptContainer
object.ETSDataException
- If a data transport error occurs.int getNumberOfConcepts() throws ETSDataException
ConceptContainer
object.ConceptContainer
object.ETSDataException
- If a data transport error occurs.Concept[] getConceptsWithAttributeName(String name) throws ETSDataException, ETSBadParameterException
ConceptContainer
object and
that have an attribute with the specified name.name
- Attribute name.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid name argument has been passed.Concept[] getConceptsWithAttribute(String name, String value) throws ETSDataException, ETSBadParameterException
ConceptContainer
object,
which have an attribute with the specified name/value pair.name
- Attribute name.value
- Attribute value.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If passed invalid name or value arguments.boolean contains(Concept concept) throws ETSDataException, ETSBadParameterException
ConceptContainer
object.concept
- Concept to be tested for set membership.true
if the concept is included in the
ConceptContainer
object.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If passed a null
or
invalid concept
.Concept[] getMatchingConceptsByDescriptionTerm(String termPattern, long maxResults) throws ETSDataException, ETSBadParameterException
ConceptContainer
object that have one or more
descriptions matching the termPattern
, which
is an Oracle Text (Intermedia / Context) style
pattern matching term. Does not return more than the specified maximum
number of results, to avoid OutOfMemoryError.termPattern
- Oracle Text string matching pattern. termPattern
must have at least 3 alphanumeric characters.maxResults
- The maximum number of Concepts to return.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If invalid termPattern
has been passed.Concept[] getMatchingConceptsByDescriptionTerm(String termPattern) throws ETSDataException, ETSBadParameterException
ConceptContainer
object that have one or more
descriptions matching the termPattern
, which
is an Oracle Text (Intermedia / Context) style
pattern matching term. Patterns are always case-insensitive,
and allow several boolean
operators. The following patterns match
the description "Wheelchair":
The following patterns do not match the description "Wheelchair":
termPattern
- Oracle Text string matching pattern. termPattern
must have at least 3 alphanumeric characters.
ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If invalid termPattern
has been passed.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved