|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.browser.ConceptDataSelector
public class ConceptDataSelector
This class is used for Concept or Atom retrieval, to specify
how much information should be kept.
| Constructor Summary | |
|---|---|
ConceptDataSelector()
Constructor |
|
| Method Summary | |
|---|---|
AdditionalRelationshipLabel[] |
getAdditionalRelationshipLabelSelection()
Returns which AdditionalRelationshipLabels are to be retrieved on
the Contexts, Mappings, or Relationships of the
Concept. |
static ConceptDataSelector |
getAtomsOnlyDataSelector()
Returns a ConceptDataSelector containing only atoms. |
AttributeName[] |
getAttributeNameSelection()
Returns which AttributeNames are to be retrieved on the
Mappings or Attributes of the Concept. |
CoocurrenceType[] |
getCoocurrenceTypeSelection()
Returns which CoocurrenceTypes are to be used to select
Coocurrences of the Concept to retrieve. |
static ConceptDataSelector |
getIncludeAllDataSelector()
Returns a ConceptDataSelector containing all Concept data. |
Language[] |
getLanguageSelection()
Returns which Languages are to used to select which Atoms
of the Concept are to be retrieved. |
RelationshipLabel[] |
getRelationshipLabelSelection()
Returns which RelationshipLabels are used to select
Mappings or Relationships of the Concept to be
retrieved. |
static ConceptDataSelector |
getRemoveAllDataSelector()
Returns a ConceptDataSelector with all data removed. |
Source[] |
getSourceSelection()
Returns Sources from which elements of the Concept are to
be retrieved. |
Suppressible[] |
getSuppressibleSelection()
Returns which Suppressibles are used to select Atoms,
Attributes, Definitions, or Relationships of the
Concept to be retrieved. |
TermTypeGroup[] |
getTermTypeGroupSelection()
Returns which TermTypeGroups and therefore which TermTypes
are to be used to select Atoms of the Concept to retrieve. |
TermType[] |
getTermTypeSelection()
Returns which TermTypes are used to select Atoms of the
Concept to retrieve. |
boolean |
isAllAdditionalRelationshipLabels()
Indicates whether or not to retrieve all AdditionalRelationshipLabels of the Contexts,
Mappings, or Relationships of the Concept. |
boolean |
isAllAttributeNames()
Indicates whether or not to retrieve all AttributeNames of the
Mappings or Attributes of the Concept. |
boolean |
isAllCoocurrenceTypes()
Indicates whether or not to use all CoocurrenceTypes to select
Coocurrences of the Concept to retrieve. |
boolean |
isAllLanguages()
Indicates whether or not to use all Languages when selecting
Atoms of the Concept to retrieve. |
boolean |
isAllRelationshipLabels()
Indicates whether or not to use all RelationshipLabels to select
Mappings or Relationships of the Concept to
retrieve. |
boolean |
isAllSources()
Indicates whether or not to retrieve elements of the Concept from
all Sources. |
boolean |
isAllSuppressibles()
Indicates whether or not to use all Suppressibles to select
Atoms, Attributes, Definitions, or
Relationships of the Concept to retrieve. |
boolean |
isAllTermTypeGroups()
Indicates whether or not to use all TermTypes which belong to a
TermTypeGroup to select Atoms of the Concept to
retrieve. |
boolean |
isAllTermTypes()
Indicates whether or not to use all TermTypes to select
Atoms of the Concept to retrieve. |
boolean |
isAtoms()
Indicates whether or not to retrieve all Atoms of the
Concept. |
boolean |
isAttributes()
Indicates whether or not to retrieve all Attributes of the
Concept. |
boolean |
isComponentHistories()
Indicates whether or not to retrieve all ComponentHistorys of the
Concept. |
boolean |
isContexts()
Indicates whether or not to retrieve all Contexts of the
Concept. |
boolean |
isCoocurrences()
Indicates whether or not to retrieve all Coocurrences of the
Concept. |
boolean |
isDefinitions()
Indicates whether or not to retrieve all Definitions of the
Concept. |
boolean |
isMappings()
Indicates whether or not to retrieve all Mappings of the
Concept. |
boolean |
isRelationships()
Indicates whether or not to retrieve all Relationships of the
Concept. |
boolean |
isSemanticTypes()
Indicates whether or not to retrieve all SemanticTypes of the
Concept. |
void |
setAdditionalRelationshipLabelSelection(AdditionalRelationshipLabel[] additionalRelationshipLabelSelection)
Sets which AdditionalRelationshipLabels are to be retrieved on
the Contexts, Mappings, or Relationships of the
Concept. |
void |
setAllAdditionalRelationshipLabels(boolean allAdditionalRelationshipLabels)
Sets whether or not to retrieve all AdditionalRelationshipLabels of
the Contexts, Mappings, or Relationships of the
Concept. |
void |
setAllAttributeNames(boolean allAttributeNames)
Sets whether or not to retrieve all AttributeNames of the
Mappings or Attributes of the Concept. |
void |
setAllCoocurrenceTypes(boolean allCoocurrenceTypes)
Sets whether or not to use all CoocurrenceTypes to select
Coocurrences of the Concept to retrieve. |
void |
setAllLanguages(boolean allLanguages)
Sets whether or not to use all Languages when selecting
Atoms of the Concept to retrieve. |
void |
setAllRelationshipLabels(boolean allRelationshipLabels)
Sets whether or not to use all RelationshipLabels to select
Mappings or Relationships of the Concept to
retrieve. |
void |
setAllSources(boolean allSources)
Sets whether or not to retrieve elements of the Concept from all
Sources. |
void |
setAllSuppressibles(boolean allSuppressibles)
Sets whether or not to use all Suppressibles to select
Atoms, Attributes, Definitions, or
Relationships of the Concept to retrieve. |
void |
setAllTermTypeGroups(boolean allTermTypeGroups)
Sets whether or not to use all TermTypes which belong to a
TermTypeGroup to select Atoms of the Concept to
retrieve. |
void |
setAllTermTypes(boolean allTermTypes)
Sets whether or not to use all TermTypes to select Atoms
of the Concept to retrieve. |
void |
setAtoms(boolean atoms)
Sets whether or not to retrieve all Atoms of the Concept. |
void |
setAttributeNameSelection(AttributeName[] attributeNameSelection)
Sets which AttributeNames are to be retrieved on the
Mappings or Attributes of the Concept. |
void |
setAttributes(boolean attributes)
Sets whether or not to retrieve all Attributes of the
Concept. |
void |
setComponentHistories(boolean componentHistories)
Sets whether or not to retrieve all ComponentHistorys of the
Concept. |
void |
setContexts(boolean contexts)
Sets whether or not to retrieve all Contexts of the
Concept. |
void |
setCoocurrences(boolean coocurrences)
Sets whether or not to retrieve all Coocurrences of the
Concept. |
void |
setCoocurrenceTypeSelection(CoocurrenceType[] coocurrenceTypeSelection)
Sets which CoocurrenceTypes are to be used to select
Coocurrences of the Concept. |
void |
setDefinitions(boolean definitions)
Sets whether or not to retrieve all Definitions of the
Concept. |
void |
setLanguageSelection(Language[] languageSelection)
Sets which Languages are to be used to select which Atoms
of the Concept are to be retrieved. |
void |
setMappings(boolean mappings)
Sets whether or not to retrieve all Mappings of the
Concept. |
void |
setRelationshipLabelSelection(RelationshipLabel[] relationshipLabelSelection)
Sets which RelationshipLabels are used to select Mappings
or Relationships of the Concept to be retrieved. |
void |
setRelationships(boolean relationships)
Sets whether or not to retrieve all Relationships of the
Concept. |
void |
setSemanticTypes(boolean semanticTypes)
Sets whether or not to retrieve all SemanticTypes of the
Concept. |
void |
setSourceSelection(Source[] sourceSelection)
Sets Sources from which elements of the Concept are to be
retrieved. |
void |
setSuppressibleSelection(Suppressible[] suppressibleSelection)
Sets which Suppressibles are used to select Atoms,
Attributes, Definitions, or Relationships of the
Concept to be retrieved. |
void |
setTermTypeGroupSelection(TermTypeGroup[] termTypeGroupSelection)
Sets which TermTypeGroups and therefore which TermTypes are
to be used to select Atoms of the Concept to retrieve. |
void |
setTermTypeSelection(TermType[] termTypeSelection)
Sets which TermTypes are used to select Atoms of the
Concept to retrieve. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConceptDataSelector()
| Method Detail |
|---|
public static ConceptDataSelector getRemoveAllDataSelector()
ConceptDataSelector with all data removed.
ConceptDataSelectorpublic static ConceptDataSelector getAtomsOnlyDataSelector()
ConceptDataSelector containing only atoms.
ConceptDataSelectorpublic static ConceptDataSelector getIncludeAllDataSelector()
ConceptDataSelector containing all Concept data.
ConceptDataSelectorpublic boolean isAtoms()
Atoms of the
Concept.
true if all Atoms are to be retrieved;
false if not.public void setAtoms(boolean atoms)
Atoms of the Concept.
atoms - true if all Atoms are to be retrieved;
false if not;public boolean isAttributes()
Attributes of the
Concept.
true if all Attributes are to be retrieved;
false if not.public void setAttributes(boolean attributes)
Attributes of the
Concept.
attributes - true if all Attributes are to be
retrieved; false if not;public boolean isComponentHistories()
ComponentHistorys of the
Concept.
true if all ComponentHistorys are to be
retrieved; false if not.public void setComponentHistories(boolean componentHistories)
ComponentHistorys of the
Concept.
componentHistories - true if all
ComponentHistorys are to be retrieved;
false if not;public boolean isContexts()
Contexts of the
Concept.
true if all Contexts are to be retrieved;
false if not.public void setContexts(boolean contexts)
Contexts of the
Concept.
contexts - true if all Contexts are to be
retrieved; false if not;public boolean isCoocurrences()
Coocurrences of the
Concept.
true if all Coocurrences are to be retrieved;
false if not.public void setCoocurrences(boolean coocurrences)
Coocurrences of the
Concept.
coocurrences - true if all Coocurrences are to
be retrieved; false if not;public boolean isDefinitions()
Definitions of the
Concept.
true if all Definitions are to be retrieved;
false if not.public void setDefinitions(boolean definitions)
Definitions of the
Concept.
definitions - true if all Definitions are to
be retrieved; false if not;public boolean isMappings()
Mappings of the
Concept.
true if all Mappings are to be retrieved;
false if not.public void setMappings(boolean mappings)
Mappings of the
Concept.
mappings - true if all Mappings are to
be retrieved; false if not;public boolean isRelationships()
Relationships of the
Concept.
true if all Relationships are to be retrieved;
false if not.public void setRelationships(boolean relationships)
Relationships of the
Concept.
relationships - true if all Relationships are
to be retrieved; false if not;public boolean isSemanticTypes()
SemanticTypes of the
Concept.
true if all SemanticTypes are to be retrieved;
false if not.public void setSemanticTypes(boolean semanticTypes)
SemanticTypes of the
Concept.
semanticTypes - true if all SemanticTypes are
to be retrieved; false if not;public AdditionalRelationshipLabel[] getAdditionalRelationshipLabelSelection()
AdditionalRelationshipLabels are to be retrieved on
the Contexts, Mappings, or Relationships of the
Concept.
public void setAdditionalRelationshipLabelSelection(AdditionalRelationshipLabel[] additionalRelationshipLabelSelection)
AdditionalRelationshipLabels are to be retrieved on
the Contexts, Mappings, or Relationships of the
Concept.
additionalRelationshipLabelSelection - array of
(@link AdditionalRelationshipLabel}s to retrieve.public boolean isAllAdditionalRelationshipLabels()
AdditionalRelationshipLabels of the Contexts,
Mappings, or Relationships of the Concept.
true if all AdditionalRelationshipLabels are
to be retrieved; false if not.public void setAllAdditionalRelationshipLabels(boolean allAdditionalRelationshipLabels)
AdditionalRelationshipLabels of
the Contexts, Mappings, or Relationships of the
Concept.
allAdditionalRelationshipLabels - true if all
AdditionalRelationshipLabels are to be retrieved;
false if not;public AttributeName[] getAttributeNameSelection()
AttributeNames are to be retrieved on the
Mappings or Attributes of the Concept.
public void setAttributeNameSelection(AttributeName[] attributeNameSelection)
AttributeNames are to be retrieved on the
Mappings or Attributes of the Concept.
attributeNameSelection - array of (@link AttributeName}s to retrieve.public boolean isAllAttributeNames()
AttributeNames of the
Mappings or Attributes of the Concept.
true if all AttributeNames are to be retrieved;
false if not.public void setAllAttributeNames(boolean allAttributeNames)
AttributeNames of the
Mappings or Attributes of the Concept.
allAttributeNames - true if all
AttributeNames are to be retrieved;
false if not;public CoocurrenceType[] getCoocurrenceTypeSelection()
CoocurrenceTypes are to be used to select
Coocurrences of the Concept to retrieve.
public void setCoocurrenceTypeSelection(CoocurrenceType[] coocurrenceTypeSelection)
CoocurrenceTypes are to be used to select
Coocurrences of the Concept.
coocurrenceTypeSelection - array of (@link CoocurrenceType}s to
use for selection.public boolean isAllCoocurrenceTypes()
CoocurrenceTypes to select
Coocurrences of the Concept to retrieve.
true if Coocurrences of all
CoocurrenceTypes are to be retrieved;
false if not.public void setAllCoocurrenceTypes(boolean allCoocurrenceTypes)
CoocurrenceTypes to select
Coocurrences of the Concept to retrieve.
allCoocurrenceTypes - true if Coocurrences of all
CoocurrenceTypes are to be retrieved;
false if not;public Language[] getLanguageSelection()
Languages are to used to select which Atoms
of the Concept are to be retrieved.
public void setLanguageSelection(Language[] languageSelection)
Languages are to be used to select which Atoms
of the Concept are to be retrieved.
languageSelection - array of (@link Language}s to retrieve.public boolean isAllLanguages()
Languages when selecting
Atoms of the Concept to retrieve.
true if all Languages are to be retrieved;
false if not.public void setAllLanguages(boolean allLanguages)
Languages when selecting
Atoms of the Concept to retrieve.
allLanguages - true if all Languages are to be
retrieved; false if not;public RelationshipLabel[] getRelationshipLabelSelection()
RelationshipLabels are used to select
Mappings or Relationships of the Concept to be
retrieved.
public void setRelationshipLabelSelection(RelationshipLabel[] relationshipLabelSelection)
RelationshipLabels are used to select Mappings
or Relationships of the Concept to be retrieved.
relationshipLabelSelection - array of (@link RelationshipLabel}s to
use for selection.public boolean isAllRelationshipLabels()
RelationshipLabels to select
Mappings or Relationships of the Concept to
retrieve.
true if all RelationshipLabels are to be
used for selection; false if not.public void setAllRelationshipLabels(boolean allRelationshipLabels)
RelationshipLabels to select
Mappings or Relationships of the Concept to
retrieve.
allRelationshipLabels - true if all
RelationshipLabels are to be used for selection;
false if not;public Source[] getSourceSelection()
Sources from which elements of the Concept are to
be retrieved.
public void setSourceSelection(Source[] sourceSelection)
Sources from which elements of the Concept are to be
retrieved.
sourceSelection - array of (@link Source}s to retrieve.public boolean isAllSources()
Concept from
all Sources.
true if elements from all Sources are to be
be retrieved; false if not.public void setAllSources(boolean allSources)
Concept from all
Sources.
allSources - true if elements from all Sources
are to be retrieved; false if not;public Suppressible[] getSuppressibleSelection()
Suppressibles are used to select Atoms,
Attributes, Definitions, or Relationships of the
Concept to be retrieved.
public void setSuppressibleSelection(Suppressible[] suppressibleSelection)
Suppressibles are used to select Atoms,
Attributes, Definitions, or Relationships of the
Concept to be retrieved.
suppressibleSelection - array of (@link Suppressible}s to use for
selection.public boolean isAllSuppressibles()
Suppressibles to select
Atoms, Attributes, Definitions, or
Relationships of the Concept to retrieve.
true if all Suppressibles are to be used for
selection; false if not.public void setAllSuppressibles(boolean allSuppressibles)
Suppressibles to select
Atoms, Attributes, Definitions, or
Relationships of the Concept to retrieve.
allSuppressibles - true if all Suppressibles are
to be used for selection; false if not;public TermType[] getTermTypeSelection()
TermTypes are used to select Atoms of the
Concept to retrieve.
public void setTermTypeSelection(TermType[] termTypeSelection)
TermTypes are used to select Atoms of the
Concept to retrieve.
termTypeSelection - array of (@link TermType}s to retrieve.public boolean isAllTermTypes()
TermTypes to select
Atoms of the Concept to retrieve.
true if all TermTypes are to be used for
selection; false if not.public void setAllTermTypes(boolean allTermTypes)
TermTypes to select Atoms
of the Concept to retrieve.
allTermTypes - true if all TermTypes are to be
used for selection; false if not;public TermTypeGroup[] getTermTypeGroupSelection()
TermTypeGroups and therefore which TermTypes
are to be used to select Atoms of the Concept to retrieve.
public void setTermTypeGroupSelection(TermTypeGroup[] termTypeGroupSelection)
TermTypeGroups and therefore which TermTypes are
to be used to select Atoms of the Concept to retrieve.
termTypeGroupSelection - array of (@link TermTypeGroup}s to retrieve.public boolean isAllTermTypeGroups()
TermTypes which belong to a
TermTypeGroup to select Atoms of the Concept to
retrieve.
true if all TermTypeGroups are to be used for
selection; false if not.public void setAllTermTypeGroups(boolean allTermTypeGroups)
TermTypes which belong to a
TermTypeGroup to select Atoms of the Concept to
retrieve.
allTermTypeGroups - true if all TermTypeGroups
are to be used for selection; false if not;
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||