gov.nih.nci.evs.query
Class EVSQueryImpl

java.lang.Object
  extended by gov.nih.nci.evs.query.EVSQueryImpl
All Implemented Interfaces:
EVSQuery, java.io.Serializable

public class EVSQueryImpl
extends java.lang.Object
implements EVSQuery, java.io.Serializable

EVSQueryImpl class implements the EVSQuery interface. The query object generated by this class can hold one query at a time.

See Also:
Serialized Form

Field Summary
 java.util.HashMap descLogicValues
           
 java.util.HashMap metaThesaurusValues
           
 
Constructor Summary
EVSQueryImpl()
           
 
Method Summary
 void addSecurityToken(java.lang.String vocabularyName, SecurityToken token)
          Stores the security token and vocabulary information in the EVSQuery object
 void containsInverseRole(java.lang.String vocabularyName, java.lang.String roleName, java.lang.String roleValue, java.lang.String conceptName)
          Checks if the specified concept has the specified inverse role and role value.
 void containsRole(java.lang.String vocabularyName, java.lang.String roleName, java.lang.String roleValue, java.lang.String conceptName)
          Checks if the specified concept has the specified role and role value.
 void fetchDTSProperties(java.lang.String vocabularyName, java.lang.String term)
          Gets the properties of a given concept from the specified namespace
 void fetchTermAssociations(java.lang.String vocabularyName, java.lang.String term)
          Fetchs term association data for a given concept from the specified namespace
 void getAllAssociationTypes(java.lang.String vocabularyName)
          Gets all associationTypes from a given namespace
 void getAllConceptAssociationQualifierTypes(java.lang.String vocabularyName)
          Retrievs the name of all concecpt association quailifer types from the specified namespace
 void getAllConceptAssociationTypes(java.lang.String vocabularyName)
          Retrievs the name of all concecpt association types from the specified namespace
 void getAllConceptPropertyQualifierTypes(java.lang.String vocabularyName)
          Retrievs the name of all concecpt property qualifier types from the specified namespace
 void getAllConceptPropertyTypes(java.lang.String vocabularyName)
          Retrievs the name of all concecpt property types from the specified namespace
 void getAllLicenses(java.lang.String vocabularyName, java.lang.String condition)
          Gets all licenses from the specified namespace
 void getAllPropertyTypes(java.lang.String vocabularyName)
          Gets all the property types from a specified namespace
 void getAllQualifierTypes(java.lang.String vocabularyName)
          Gets all qualifier types from the specified namespace
 void getAllRoleNames(java.lang.String vocabularyName)
          Gets all the role names from the specified namespace
 void getAllSilos(java.lang.String vocabularyName)
          Gets all the Silos from a specified namespace
 void getAllSubConceptCodes(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets all the sub concept codes for the specified concept from a given namespace
 void getAllSubConceptNames(java.lang.String vocabularyName, java.lang.String conceptName)
          Gets all the sub concept names for the specified concept from a given namespace
 void getAllSynonymTypes(java.lang.String vocabularyName)
          Gets all synonym types from a given namespace
 void getAllTermAssociationQualifierTypes(java.lang.String vocabularyName)
          Gets all the term-association qualifier types from a given namespace
 void getAllTermPropertyQualifierTypes(java.lang.String vocabularyName)
          Gets all the term-property qualifier types from a given namespace
 void getAllTermPropertyTypes(java.lang.String vocabularyName)
          Gets all the term-property types from a given namespace
 void getAllVocabularies()
          Returns a list of populated Vocabulary objects from the EVS server via the ApplicationService
 void getAncestors(java.lang.String vocabularyName, java.lang.String code, boolean flag, java.lang.String iBaseLineDate, java.lang.String fBaseLineDate)
          Gets the ancestor concept codes of the specified concept.
 void getAssociationCollectionbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets associations for the specified concept
 void getAtomCollectionbyCui(java.lang.String cui)
           
 void getBroaderConcepts(java.lang.String conceptCode)
          Gets all the broader MetaThesaurus concepts for a given concept The relationship between these concepts are of type "RB" (Related Broader)
 void getBroaderConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
          Gets all the broader MetaThesaurusConcepts for a given concept from the specified source.
 void getChildConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
          Retrievs all the child DescLogicConcepts for a given conceptName
 void getChildConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag, int ASDIndex)
          Retrievs all the child DescLogicConcepts for a given conceptName
 void getChildren(java.lang.String conceptCode, java.lang.String sourceAbbr)
          Gets all the child MetaThesaurusConcepts for a given conncept in the specified source
 void getCodeActionChildren(java.lang.String vocabularyName, java.lang.String conceptCode, java.lang.String baseLineDate, java.lang.String action)
          Gets child concept codes for the specified concept.
 void getCodeActionParents(java.lang.String vocabularyName, java.lang.String conceptCode, java.lang.String baseLineDate)
          Gets parent concept codes for the specified concept.
 void getConceptByName(java.lang.String vocabularyName, java.lang.String conceptName)
          Gets a DescLogicConcept for the specified conceptName.
 void getConceptCodeByName(java.lang.String vocabularyName, java.lang.String conceptName)
          Gets the code of the specified concept.
 void getConceptEditAction(java.lang.String vocabularyName, java.lang.String code)
          Gets all EditAction of the specified concept.
 void getConceptEditAction(java.lang.String vocabularyName, java.lang.String code, java.util.Date editActionDate)
          Gets all EditAction of the specified concept.
 void getConceptEditActionDates(java.lang.String vocabularyName, java.lang.String code, java.lang.String action)
          Gets EditActionDate that match with the given concept code and edit action.
 void getConceptNameByCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Deprecated. - The preferred method is getDescLogicConceptNameByCode
 void getConceptsByCategories(java.lang.String conceptCode, java.lang.String category)
          Gets the concepts of specified category for the given metathesaurus concept
 void getConceptsBySource(java.lang.String sourceAbbr)
          Gets MetaThesaurusConcepts for the specified source
 void getConceptWithPropertyMatching(java.lang.String vocabularyName, java.lang.String propertyName, java.lang.String propertyValue, int matchLimit)
          Gets all the concept names that matches the argument pattern of a property.
 void getConceptWithSiloMatching(java.lang.String vocabularyName, java.lang.String searchTerm, int matchLimit)
          Gets all the concept names from the Silos that matches the pattern.
 void getConceptWithSiloMatching(java.lang.String vocabularyName, java.lang.String searchTerm, int matchLimit, java.lang.String siloName)
          Gets all the concept names from the spcified Silos that matches the pattern.
 void getDefinitionCollectionbyCui(java.lang.String cui)
           
 void getDescendants(java.lang.String vocabularyName, java.lang.String code, boolean flag, java.lang.String iBaseLineDate, java.lang.String fBaseLineDate)
          Gets the descendant concept codes of the specified conceptCode.
 void getDescLogicConcept(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
          Gets a DescLogicConcept for a given conceptName or concept code
 void getDescLogicConceptNameByCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets Concept name for the given concept code
 void getEdgePropertiesbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets get Semantic Types for the specified concept.
 void getHasChildrenbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getHasParentsbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getHistoryCollectionbyDescLogicConceptCode(java.lang.String descLogicConceptCode)
           
 void getHistoryEndDate(java.lang.String vocabularyName)
          Gets the History end date
 void getHistoryRecordbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getHistoryRecords(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets List of HistoryRecords for a given concept code
 void getHistoryRecords(java.lang.String vocabularyName, java.lang.String initialDate, java.lang.String finalDate)
          Gets List of HistoryRecords
 void getHistoryRecords(java.lang.String vocabularyName, java.lang.String initialDate, java.lang.String finalDate, java.lang.String conceptCode)
          Gets List of HistoryRecords
 void getHistoryStartDate(java.lang.String vocabularyName)
          Gets the History start date
 void getInverseAssociationCollectionbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getInverseRoleCollectionbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getMetaConceptNameByCode(java.lang.String conceptCode)
          gets MetaThesaurusConcept name
 void getMetaConceptsForAllSources()
          Deprecated.  
 void getMetaSources()
          Get all MetaThesaurus Sources
 void getNarrowerConcepts(java.lang.String conceptCode)
          Gets narrower MetaThesaurus concepts for the specified concept The relationship between these concepts are of type "RN" (Related Narrower)
 void getNarrowerConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
          Gets narrower MetaThesaurus concepts for the specified concept from a given source The relationship between these concepts are of type "RN" (Related Narrower)
 void getParent(java.lang.String conceptCode, java.lang.String sourceAbbr)
          Gets all the Parent MetaThesaurusConcepts for a given concept from the specified source.
 void getParentConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag)
          Retrievs all the parent DescLogicConcepts for a given conceptName
 void getParentConcepts(java.lang.String vocabularyName, java.lang.String conceptName, boolean inputFlag, int ASDIndex)
          Retrievs all the parent DescLogicConcepts for a given conceptName
 void getPropertiesByConceptName(java.lang.String vocabularyName, java.lang.String conceptName)
          Gets the names and values of properties owned by the specified concept.
 void getPropertyCollectionbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getPropertyCollectionbyName(java.lang.String name)
           
 void getPropertyValues(java.lang.String vocabularyName, java.lang.String conceptName, java.lang.String propertyName)
          Gets the values of a property owned by a concept
 void getQualifierCollectionbyName(java.lang.String name)
           
 void getRelatedConcepts(java.lang.String conceptCode)
          Gets all related metathesaurus concepts for a given metaconcept
 void getRelatedConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr)
          Gets all the related metathesaurus concepts for a given metaconcept from the specified source
 void getRelatedConcepts(java.lang.String conceptCode, java.lang.String sourceAbbr, java.lang.String relation)
          Gets the related metathesaurus concepts for a given metaconcept from the specified source
 void getRoleCollectionbyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getRolesByConceptName(java.lang.String vocabularyName, java.lang.String conceptName)
          Gets the roles owned by the specified concept.
 void getRootConcepts(java.lang.String vocabularyName, boolean allAttributes)
          Retrieves all root DescLogicConcept objects
 SecurityToken getSecurityToken(java.lang.String vocabularyName)
          Returns securityToken
 void getSecurityTokenbyName(java.lang.String name)
           
 java.util.HashMap getSecurityTokenCollection()
          Returns the security token collection
 void getSemanticTypeCollectionbyCui(java.lang.String cui)
           
 void getSemanticTypes()
          Gets all semantic types from metaphrase
 void getSemanticTypeVectorbyCode(java.lang.String vocabularyName, java.lang.String code)
          Gets semantic types for the specified concept.
 void getSiloCollectionbyName(java.lang.String name)
           
 void getSourcebyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets source for the specified concept
 void getSourcebyDefinition(java.lang.String definition)
           
 void getSourceCollectionbyCui(java.lang.String cui)
           
 void getSubConcepts(java.lang.String vocabularyName, java.lang.String conceptName, java.lang.Boolean inputFlag, java.lang.Boolean outputFlag)
          Gets the codes, or the names, of all subconcepts of the specified concept
 void getSuperConcepts(java.lang.String vocabularyName, java.lang.String conceptName, java.lang.Boolean inputFlag, java.lang.Boolean outputFlag)
          Gets the codes (or the names) of all superconcepts of the specified concept.
 void getSynonymCollectionbyCui(java.lang.String cui)
           
 void getTree(java.lang.String vocabularyName, java.lang.String rootName, boolean direction, boolean isaFlag, int attributes, int levels, java.util.Vector roles)
          get tree for the specified rootName
 void getTree(java.lang.String vocabularyName, java.lang.String rootName, boolean direction, boolean isaFlag, int attributes, java.lang.String levels, java.util.Vector roles)
          get tree for the specified rootName
 void getTreeNodebyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
          Gets TreeNode for the specified concept.
 void getVocabularybyCode(java.lang.String vocabularyName, java.lang.String conceptCode)
           
 void getVocabularyByName(java.lang.String vocabularyName)
          Returns the specified vocabulary in a List
 void getVocabularyHost(java.lang.String vocabularyName)
          Gets the host of a vocabulary server
 void getVocabularyNames()
          Gets vocabulary names from EVS
 void getVocabularyPort(java.lang.String vocabularyName)
          Gets the port of a vocabulary server
 void getVocabularyVersion(java.lang.String vocabularyName)
          Returns a list of versions for the given vocabulary in the knowledgebase.
 void hasChildren(java.lang.String vocabularyName, java.lang.String conceptName)
          Returns true if a given concept has a child
 void hasParents(java.lang.String vocabularyName, java.lang.String conceptName)
          Returns true if a given concept has a parent
 void isRetired(java.lang.String vocabularyName, java.lang.String code)
          Checks if the specified concept is retired or not.
 void isSubConcept(java.lang.String vocabularyName, java.lang.String code1, java.lang.String code2)
          Checks if the first concept is a subconcept of the second concept
 void resetSecurityTokenCollection()
          Resets the securityToken information
 void searchByLoincId(java.lang.String code, java.lang.String sourceAbbr)
          Deprecated. - The preferred method is searchSourceByCode
 void searchDescLogicConcepts(java.lang.String vocabularyName, java.lang.String searchTerm, int limit)
          Search DescLogicConcepts
 void searchDescLogicConcepts(java.lang.String vocabularyName, java.lang.String searchTerm, int limit, int matchOption, java.lang.String matchType, int ASDIndex)
          Search DescLogicConcepts
 void searchMetaThesaurus(java.lang.String cui)
          Searches a concept in MetaThesaurus using the concept unique identifier
 void searchMetaThesaurus(java.lang.String searchTerm, int limit, java.lang.String source, boolean cui, boolean shortResult, boolean score)
          Searches for concepts in the specified MetaThesaurus source.
 void searchSourceByAtomCode(java.lang.String code, java.lang.String sourceAbbr)
          Search the specified vocabulary for a given atom code
 void searchSourceByCode(java.lang.String code, java.lang.String sourceAbbr)
          Search the specified vocabulary for a given code
 void validateToken(java.lang.String vocabularyName, SecurityToken token)
          Validates the security token against the vocabulary specified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descLogicValues

public java.util.HashMap descLogicValues

metaThesaurusValues

public java.util.HashMap metaThesaurusValues
Constructor Detail

EVSQueryImpl

public EVSQueryImpl()
Method Detail

addSecurityToken

public void addSecurityToken(java.lang.String vocabularyName,
                             SecurityToken token)
                      throws java.lang.Exception
Stores the security token and vocabulary information in the EVSQuery object

Specified by:
addSecurityToken in interface EVSQuery
Throws:
java.lang.Exception

validateToken

public void validateToken(java.lang.String vocabularyName,
                          SecurityToken token)
Validates the security token against the vocabulary specified

Specified by:
validateToken in interface EVSQuery

getSecurityToken

public SecurityToken getSecurityToken(java.lang.String vocabularyName)
Returns securityToken


resetSecurityTokenCollection

public void resetSecurityTokenCollection()
Resets the securityToken information


getSecurityTokenCollection

public java.util.HashMap getSecurityTokenCollection()
Returns the security token collection


getTree

public void getTree(java.lang.String vocabularyName,
                    java.lang.String rootName,
                    boolean direction,
                    boolean isaFlag,
                    int attributes,
                    java.lang.String levels,
                    java.util.Vector roles)
get tree for the specified rootName

Specified by:
getTree in interface EVSQuery
Parameters:
vocabularyName -
rootName - - RootNode of the tree
direction - - a boolean value; set to true, if traverse down; to false, otherwise
isaFlag - - a boolean value; set to true, if the tree contains taxonomy (is a relationships); to false, otherwise
attributes - - an AttributeSetDescriptor instance
levels - - the depth of the tree
roles - - the names of role relationships

getTree

public void getTree(java.lang.String vocabularyName,
                    java.lang.String rootName,
                    boolean direction,
                    boolean isaFlag,
                    int attributes,
                    int levels,
                    java.util.Vector roles)
get tree for the specified rootName

Specified by:
getTree in interface EVSQuery
Parameters:
vocabularyName -
rootName - - RootNode of the tree
direction - - a boolean value; set to true, if traverse down; to false, otherwise
isaFlag - - a boolean value; set to true, if the tree contains taxonomy (is a relationships); to false, otherwise
attributes - - an AttributeSetDescriptor instance
levels - - the depth of the tree
roles - - the names of role relationships

searchDescLogicConcepts

public void searchDescLogicConcepts(java.lang.String vocabularyName,
                                    java.lang.String searchTerm,
                                    int limit)
Search DescLogicConcepts

Specified by:
searchDescLogicConcepts in interface EVSQuery
Parameters:
vocabularyName -
searchTerm -
limit -

searchDescLogicConcepts

public void searchDescLogicConcepts(java.lang.String vocabularyName,
                                    java.lang.String searchTerm,
                                    int limit,
                                    int matchOption,
                                    java.lang.String matchType,
                                    int ASDIndex)
                             throws java.lang.Exception
Search DescLogicConcepts

Specified by:
searchDescLogicConcepts in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
searchTerm - - Specifies the search term
limit - - Specifies the maximum limit of search results
matchOption - - Specifies the match option
Example: option values
0 - MATCH_BY_NAME
1 - MATCH_BY_ROLE
2 - MATCH_BY_PROPERTY
3 - MATCH_BY_SILO
4 - MATCH_BY_ASSOCIATION
5 - MATCH_BY_SYNONYM
6 - MATCH_BY_INVERSE_ROLE
7 - MATCH_BY_INVERSE_ASSOCIATION
8 - MATCH_BY_ROLE_PROPERTY
matchType - - Depends on the match options (not all the time)
If match option is 0 match type should be ""
If match option is 1 match type should be role name
If match option is 2 match type should be property name
If match option is 3 match type should be ""
If match option is 4 match type should be association name
If match option is 5 match type should be a synonym name
If match option is 6 match type should be role name
If match option is 7 match type should be a association name
If match option is 8 match type should be a ""
ASDIndex - - Takes an integer ranging from 0-3
0 - WITH_NO_ATTRIBUTES
1 - WITH_ALL_ATTRIBUTES
2 - WITH_ALL_ROLES
3 - WITH_ALL_PROPERTIES
Throws:
java.lang.Exception

getConceptWithPropertyMatching

public void getConceptWithPropertyMatching(java.lang.String vocabularyName,
                                           java.lang.String propertyName,
                                           java.lang.String propertyValue,
                                           int matchLimit)
Description copied from interface: EVSQuery
Gets all the concept names that matches the argument pattern of a property.

Specified by:
getConceptWithPropertyMatching in interface EVSQuery
Parameters:
vocabularyName - - specifies the namespace
propertyName - - all returned concepts should have the value of this Property
propertyValue - - pattern for searching
matchLimit - - number of records to get
See Also:
EVSQuery.getConceptWithPropertyMatching(java.lang.String, java.lang.String, java.lang.String, int)

getConceptWithSiloMatching

public void getConceptWithSiloMatching(java.lang.String vocabularyName,
                                       java.lang.String searchTerm,
                                       int matchLimit)
Gets all the concept names from the Silos that matches the pattern.

Specified by:
getConceptWithSiloMatching in interface EVSQuery
Parameters:
vocabularyName - - specifies the namespace
searchTerm - - specifies the search string
matchLimit - - number of records to get

getConceptWithSiloMatching

public void getConceptWithSiloMatching(java.lang.String vocabularyName,
                                       java.lang.String searchTerm,
                                       int matchLimit,
                                       java.lang.String siloName)
Gets all the concept names from the spcified Silos that matches the pattern.

Specified by:
getConceptWithSiloMatching in interface EVSQuery
Parameters:
vocabularyName - - specifies the namespace
searchTerm - - specifies the search string
matchLimit - - number of records to get
siloName - - spcifies the name of the Silo

getDescLogicConceptNameByCode

public void getDescLogicConceptNameByCode(java.lang.String vocabularyName,
                                          java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets Concept name for the given concept code

Specified by:
getDescLogicConceptNameByCode in interface EVSQuery
Parameters:
vocabularyName - - specifies the vocabulary
conceptCode - - specifies the concept code
See Also:
EVSQuery.getDescLogicConceptNameByCode(java.lang.String, java.lang.String)

isSubConcept

public void isSubConcept(java.lang.String vocabularyName,
                         java.lang.String code1,
                         java.lang.String code2)
Description copied from interface: EVSQuery
Checks if the first concept is a subconcept of the second concept

Specified by:
isSubConcept in interface EVSQuery
Parameters:
vocabularyName - - specifies the namespace
code1 - - the name of the first concept
code2 - - the name of the second concept
See Also:
EVSQuery.isSubConcept(java.lang.String, java.lang.String, java.lang.String)

isRetired

public void isRetired(java.lang.String vocabularyName,
                      java.lang.String code)
Description copied from interface: EVSQuery
Checks if the specified concept is retired or not.

Specified by:
isRetired in interface EVSQuery
code - - conceptCode
See Also:
EVSQuery.isRetired(java.lang.String, java.lang.String)

getDescendants

public void getDescendants(java.lang.String vocabularyName,
                           java.lang.String code,
                           boolean flag,
                           java.lang.String iBaseLineDate,
                           java.lang.String fBaseLineDate)
Description copied from interface: EVSQuery
Gets the descendant concept codes of the specified conceptCode. The search extends to a final baseline date starting from an initial baseline date. The search is based on a boolean value(flag). If the value is true, the method only searches for the active concepts at the final baseline date. If the value is false, the method searches for all descendant concepts, whether active or retired.

Specified by:
getDescendants in interface EVSQuery
code - - concept code
flag - - boolean value to specify the search type
iBaseLineDate - - initial baseline date
fBaseLineDate - - final baseline date
See Also:
EVSQuery.getDescendants(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String)

getPropertyValues

public void getPropertyValues(java.lang.String vocabularyName,
                              java.lang.String conceptName,
                              java.lang.String propertyName)
Description copied from interface: EVSQuery
Gets the values of a property owned by a concept

Specified by:
getPropertyValues in interface EVSQuery
See Also:
EVSQuery.getPropertyValues(java.lang.String, java.lang.String, java.lang.String)

getAncestors

public void getAncestors(java.lang.String vocabularyName,
                         java.lang.String code,
                         boolean flag,
                         java.lang.String iBaseLineDate,
                         java.lang.String fBaseLineDate)
Description copied from interface: EVSQuery
Gets the ancestor concept codes of the specified concept. The search extends to a final baseline date starting from an initial baseline date. The search is based on a boolean value. If the value is true, the method only searches for the active concepts at the initial baseline date. If the value is false, the method searches for all ancestor concepts, whether active or retired.

Specified by:
getAncestors in interface EVSQuery
iBaseLineDate - - Initial baseline date "MM/DD/YYYY"
fBaseLineDate - - Final baseline date "MM/DD/YYYY"
See Also:
EVSQuery.getAncestors(java.lang.String, java.lang.String, boolean, java.lang.String, java.lang.String)

getSubConcepts

public void getSubConcepts(java.lang.String vocabularyName,
                           java.lang.String conceptName,
                           java.lang.Boolean inputFlag,
                           java.lang.Boolean outputFlag)
Description copied from interface: EVSQuery
Gets the codes, or the names, of all subconcepts of the specified concept

Specified by:
getSubConcepts in interface EVSQuery
conceptName - - code or the specified concept name
inputFlag - - a Boolean true - if inputFlag is a concept code; false - if it is a concept name
outputFlag - - a Boolean true - if returned value is a concept code ; false - if it is a concept name.
See Also:
EVSQuery.getSubConcepts(java.lang.String, java.lang.String, java.lang.Boolean, java.lang.Boolean)

getSuperConcepts

public void getSuperConcepts(java.lang.String vocabularyName,
                             java.lang.String conceptName,
                             java.lang.Boolean inputFlag,
                             java.lang.Boolean outputFlag)
Description copied from interface: EVSQuery
Gets the codes (or the names) of all superconcepts of the specified concept.

Specified by:
getSuperConcepts in interface EVSQuery
inputFlag - - a Boolean true - if inputFlag is a concept code; false - if it is a concept name
outputFlag - - a Boolean true - if returned value is a concept code ; false - if it is a concept name.
See Also:
EVSQuery.getSuperConcepts(java.lang.String, java.lang.String, java.lang.Boolean, java.lang.Boolean)

getRolesByConceptName

public void getRolesByConceptName(java.lang.String vocabularyName,
                                  java.lang.String conceptName)
Description copied from interface: EVSQuery
Gets the roles owned by the specified concept.

Specified by:
getRolesByConceptName in interface EVSQuery
See Also:
EVSQuery.getRolesByConceptName(java.lang.String, java.lang.String)

getPropertiesByConceptName

public void getPropertiesByConceptName(java.lang.String vocabularyName,
                                       java.lang.String conceptName)
Description copied from interface: EVSQuery
Gets the names and values of properties owned by the specified concept.

Specified by:
getPropertiesByConceptName in interface EVSQuery
See Also:
EVSQuery.getPropertiesByConceptName(java.lang.String, java.lang.String)

getVocabularyNames

public void getVocabularyNames()
Description copied from interface: EVSQuery
Gets vocabulary names from EVS

Specified by:
getVocabularyNames in interface EVSQuery
See Also:
EVSQuery.getVocabularyNames()

getAllVocabularies

public void getAllVocabularies()
Description copied from interface: EVSQuery
Returns a list of populated Vocabulary objects from the EVS server via the ApplicationService

Specified by:
getAllVocabularies in interface EVSQuery
See Also:
EVSQuery.getAllVocabularies()

getVocabularyByName

public void getVocabularyByName(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Returns the specified vocabulary in a List

Specified by:
getVocabularyByName in interface EVSQuery
See Also:
EVSQuery.getVocabularyByName(String vocabularyName)

getConceptCodeByName

public void getConceptCodeByName(java.lang.String vocabularyName,
                                 java.lang.String conceptName)
Description copied from interface: EVSQuery
Gets the code of the specified concept.

Specified by:
getConceptCodeByName in interface EVSQuery
See Also:
EVSQuery.getConceptCodeByName(java.lang.String, java.lang.String)

getConceptByName

public void getConceptByName(java.lang.String vocabularyName,
                             java.lang.String conceptName)
Description copied from interface: EVSQuery
Gets a DescLogicConcept for the specified conceptName.

Specified by:
getConceptByName in interface EVSQuery
See Also:
EVSQuery.getConceptByName(java.lang.String, java.lang.String)

getVocabularyHost

public void getVocabularyHost(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets the host of a vocabulary server

Specified by:
getVocabularyHost in interface EVSQuery
See Also:
EVSQuery.getVocabularyHost(java.lang.String)

getVocabularyPort

public void getVocabularyPort(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets the port of a vocabulary server

Specified by:
getVocabularyPort in interface EVSQuery
See Also:
EVSQuery.getVocabularyPort(java.lang.String)

getVocabularyVersion

public void getVocabularyVersion(java.lang.String vocabularyName)
Returns a list of versions for the given vocabulary in the knowledgebase.

Specified by:
getVocabularyVersion in interface EVSQuery
Parameters:
vocabularyName -

getConceptEditAction

public void getConceptEditAction(java.lang.String vocabularyName,
                                 java.lang.String code)
Description copied from interface: EVSQuery
Gets all EditAction of the specified concept. A EditAction contains a edit date and an editing action. The method searches for all editing actions and the corresponding editing dates on the specified concept.

Specified by:
getConceptEditAction in interface EVSQuery
See Also:
EVSQuery.getConceptEditAction(java.lang.String, java.lang.String)

getConceptEditAction

public void getConceptEditAction(java.lang.String vocabularyName,
                                 java.lang.String code,
                                 java.util.Date editActionDate)
Description copied from interface: EVSQuery
Gets all EditAction of the specified concept. A EditAction contains a edit date and an editing action. The method searches for all editing actions and the corresponding editing dates on the specified concept.

Specified by:
getConceptEditAction in interface EVSQuery
See Also:
EVSQuery.getConceptEditAction(java.lang.String, java.lang.String)

getConceptEditActionDates

public void getConceptEditActionDates(java.lang.String vocabularyName,
                                      java.lang.String code,
                                      java.lang.String action)
Description copied from interface: EVSQuery
Gets EditActionDate that match with the given concept code and edit action.

Specified by:
getConceptEditActionDates in interface EVSQuery
code - - concept code
action - - edit action
See Also:
EVSQuery.getConceptEditActionDates(java.lang.String, java.lang.String, java.lang.String)

getRootConcepts

public void getRootConcepts(java.lang.String vocabularyName,
                            boolean allAttributes)
Description copied from interface: EVSQuery
Retrieves all root DescLogicConcept objects

Specified by:
getRootConcepts in interface EVSQuery
allAttributes - - true, if all attributes are retrieved; false, if no attribute is retrieved.
See Also:
EVSQuery.getRootConcepts(java.lang.String, boolean)

searchMetaThesaurus

public void searchMetaThesaurus(java.lang.String searchTerm,
                                int limit,
                                java.lang.String source,
                                boolean cui,
                                boolean shortResult,
                                boolean score)
Description copied from interface: EVSQuery
Searches for concepts in the specified MetaThesaurus source. If the concept code is used as the searchTerm, the cui boolean value should be true

Specified by:
searchMetaThesaurus in interface EVSQuery
Parameters:
searchTerm - - CUI or search string
limit - - maximum records
source - - source abbreviation
cui - - a boolean value - true, if the searchTerm is CUI, - false, otherwise
shortResult - - a boolean value
score - - a boolean value
See Also:
EVSQuery.searchMetaThesaurus(java.lang.String, int, java.lang.String, boolean, boolean, boolean)

searchMetaThesaurus

public void searchMetaThesaurus(java.lang.String cui)
Searches a concept in MetaThesaurus using the concept unique identifier

Specified by:
searchMetaThesaurus in interface EVSQuery
Parameters:
cui - - Concept Unique Identifier

searchByLoincId

public void searchByLoincId(java.lang.String code,
                            java.lang.String sourceAbbr)
Deprecated. - The preferred method is searchSourceByCode

Description copied from interface: EVSQuery
Search the specified vocabulary for a given code

Specified by:
searchByLoincId in interface EVSQuery
Parameters:
code - - Concepts unique identifier within the given source
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.searchByLoincId(java.lang.String, java.lang.String)

searchSourceByCode

public void searchSourceByCode(java.lang.String code,
                               java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Search the specified vocabulary for a given code

Specified by:
searchSourceByCode in interface EVSQuery
Parameters:
code - - Concepts unique identifier within the given source
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.searchSourceByCode(String, String)

searchSourceByAtomCode

public void searchSourceByAtomCode(java.lang.String code,
                                   java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Search the specified vocabulary for a given atom code

Specified by:
searchSourceByAtomCode in interface EVSQuery
Parameters:
code - - Concepts unique identifier within the given source
sourceAbbr - - specifies the source abbreviation *
See Also:
EVSQuery.searchSourceByAtomCode(String, String)

getSemanticTypes

public void getSemanticTypes()
Description copied from interface: EVSQuery
Gets all semantic types from metaphrase

Specified by:
getSemanticTypes in interface EVSQuery
See Also:
EVSQuery.getSemanticTypes()

getConceptsBySource

public void getConceptsBySource(java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets MetaThesaurusConcepts for the specified source

Specified by:
getConceptsBySource in interface EVSQuery
Parameters:
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.getConceptsBySource(java.lang.String)

getMetaConceptsForAllSources

public void getMetaConceptsForAllSources()
Deprecated. 

Returns MetaThesaurus concepts for all Sources

Specified by:
getMetaConceptsForAllSources in interface EVSQuery

getMetaConceptNameByCode

public void getMetaConceptNameByCode(java.lang.String conceptCode)
Description copied from interface: EVSQuery
gets MetaThesaurusConcept name

Specified by:
getMetaConceptNameByCode in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
See Also:
EVSQuery.getMetaConceptNameByCode(java.lang.String)

getMetaSources

public void getMetaSources()
Description copied from interface: EVSQuery
Get all MetaThesaurus Sources

Specified by:
getMetaSources in interface EVSQuery
See Also:
EVSQuery.getMetaSources()

getChildren

public void getChildren(java.lang.String conceptCode,
                        java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets all the child MetaThesaurusConcepts for a given conncept in the specified source

Specified by:
getChildren in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.getChildren(java.lang.String, java.lang.String)

getParent

public void getParent(java.lang.String conceptCode,
                      java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets all the Parent MetaThesaurusConcepts for a given concept from the specified source. The relationship between these concepts are of type "PAR" (Parent)

Specified by:
getParent in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.getParent(java.lang.String, java.lang.String)

getBroaderConcepts

public void getBroaderConcepts(java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets all the broader MetaThesaurus concepts for a given concept The relationship between these concepts are of type "RB" (Related Broader)

Specified by:
getBroaderConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
See Also:
EVSQuery.getBroaderConcepts(java.lang.String)

getBroaderConcepts

public void getBroaderConcepts(java.lang.String conceptCode,
                               java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets all the broader MetaThesaurusConcepts for a given concept from the specified source. The relationship between these concepts are of type "RB" (Related Broader)

Specified by:
getBroaderConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.getBroaderConcepts(java.lang.String, java.lang.String)

getNarrowerConcepts

public void getNarrowerConcepts(java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets narrower MetaThesaurus concepts for the specified concept The relationship between these concepts are of type "RN" (Related Narrower)

Specified by:
getNarrowerConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
See Also:
EVSQuery.getNarrowerConcepts(java.lang.String)

getNarrowerConcepts

public void getNarrowerConcepts(java.lang.String conceptCode,
                                java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets narrower MetaThesaurus concepts for the specified concept from a given source The relationship between these concepts are of type "RN" (Related Narrower)

Specified by:
getNarrowerConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
See Also:
EVSQuery.getNarrowerConcepts(java.lang.String, java.lang.String)

getRelatedConcepts

public void getRelatedConcepts(java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets all related metathesaurus concepts for a given metaconcept

Specified by:
getRelatedConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
See Also:
EVSQuery.getRelatedConcepts(java.lang.String)

getRelatedConcepts

public void getRelatedConcepts(java.lang.String conceptCode,
                               java.lang.String sourceAbbr)
Description copied from interface: EVSQuery
Gets all the related metathesaurus concepts for a given metaconcept from the specified source

Specified by:
getRelatedConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
sourceAbbr - - specifies the source abbreviation
See Also:
EVSQuery.getRelatedConcepts(java.lang.String, java.lang.String)

getRelatedConcepts

public void getRelatedConcepts(java.lang.String conceptCode,
                               java.lang.String sourceAbbr,
                               java.lang.String relation)
Description copied from interface: EVSQuery
Gets the related metathesaurus concepts for a given metaconcept from the specified source

Specified by:
getRelatedConcepts in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
sourceAbbr - - specifies the source abbreviation
relation - - Specifies the relation of a second concept to the first concept
RB - Related Broader, RN - Related Narrower, RO - Related Other, RL - Related Alike,
PAR - Parent, CHD - Child, SIB - Sibling, AQ - Allowed Qualifier (MeSH only), QB - Qualified By (MeSH Only)
See Also:
EVSQuery.getRelatedConcepts(String, String, String)

getConceptsByCategories

public void getConceptsByCategories(java.lang.String conceptCode,
                                    java.lang.String category)
Description copied from interface: EVSQuery
Gets the concepts of specified category for the given metathesaurus concept

Specified by:
getConceptsByCategories in interface EVSQuery
Parameters:
conceptCode - - specifies the concept code
category - - one of "Medications", "Procedures", "Laboratory", "Diagnosis"
See Also:
EVSQuery.getConceptsByCategories(String, String)

containsInverseRole

public void containsInverseRole(java.lang.String vocabularyName,
                                java.lang.String roleName,
                                java.lang.String roleValue,
                                java.lang.String conceptName)
Description copied from interface: EVSQuery
Checks if the specified concept has the specified inverse role and role value.

Specified by:
containsInverseRole in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
roleName - - role name
roleValue - - role value
conceptName - - concpet name
See Also:
EVSQuery.containsInverseRole(String, String, String, String)

containsRole

public void containsRole(java.lang.String vocabularyName,
                         java.lang.String roleName,
                         java.lang.String roleValue,
                         java.lang.String conceptName)
Description copied from interface: EVSQuery
Checks if the specified concept has the specified role and role value.

Specified by:
containsRole in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
roleName - - role name
roleValue - - role value
conceptName - - concept name
See Also:
EVSQuery.containsRole(String, String, String, String)

getAllAssociationTypes

public void getAllAssociationTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all associationTypes from a given namespace

Specified by:
getAllAssociationTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllAssociationTypes(String)

getAllSilos

public void getAllSilos(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the Silos from a specified namespace

Specified by:
getAllSilos in interface EVSQuery
Parameters:
vocabularyName - - specfifies the namespace
See Also:
EVSQuery.getAllSilos(String)

getAllConceptAssociationQualifierTypes

public void getAllConceptAssociationQualifierTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Retrievs the name of all concecpt association quailifer types from the specified namespace

Specified by:
getAllConceptAssociationQualifierTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllConceptAssociationQualifierTypes(String)

getAllConceptAssociationTypes

public void getAllConceptAssociationTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Retrievs the name of all concecpt association types from the specified namespace

Specified by:
getAllConceptAssociationTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllConceptAssociationTypes(String)

getAllConceptPropertyQualifierTypes

public void getAllConceptPropertyQualifierTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Retrievs the name of all concecpt property qualifier types from the specified namespace

Specified by:
getAllConceptPropertyQualifierTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllConceptPropertyQualifierTypes(String)

getAllConceptPropertyTypes

public void getAllConceptPropertyTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Retrievs the name of all concecpt property types from the specified namespace

Specified by:
getAllConceptPropertyTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllConceptPropertyTypes(String)

getAllLicenses

public void getAllLicenses(java.lang.String vocabularyName,
                           java.lang.String condition)
Description copied from interface: EVSQuery
Gets all licenses from the specified namespace

Specified by:
getAllLicenses in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
condition - - Specifies the value for a condition parameter
See Also:
EVSQuery.getAllLicenses(String, String)

getAllPropertyTypes

public void getAllPropertyTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the property types from a specified namespace

Specified by:
getAllPropertyTypes in interface EVSQuery
Parameters:
vocabularyName - - specfifies the namespace
See Also:
EVSQuery.getAllPropertyTypes(String)

getAllQualifierTypes

public void getAllQualifierTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all qualifier types from the specified namespace

Specified by:
getAllQualifierTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllQualifierTypes(String)

getAllRoleNames

public void getAllRoleNames(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the role names from the specified namespace

Specified by:
getAllRoleNames in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllRoleNames(String)

getAllSubConceptCodes

public void getAllSubConceptCodes(java.lang.String vocabularyName,
                                  java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets all the sub concept codes for the specified concept from a given namespace

Specified by:
getAllSubConceptCodes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
conceptCode - - Specifies the concept code
See Also:
EVSQuery.getAllSubConceptCodes(String, String)

getAllSubConceptNames

public void getAllSubConceptNames(java.lang.String vocabularyName,
                                  java.lang.String conceptName)
Description copied from interface: EVSQuery
Gets all the sub concept names for the specified concept from a given namespace

Specified by:
getAllSubConceptNames in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
conceptName - - Specifies the concept name
See Also:
EVSQuery.getAllSubConceptNames(String, String)

getAllSynonymTypes

public void getAllSynonymTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all synonym types from a given namespace

Specified by:
getAllSynonymTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllSynonymTypes(String)

getAllTermAssociationQualifierTypes

public void getAllTermAssociationQualifierTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the term-association qualifier types from a given namespace

Specified by:
getAllTermAssociationQualifierTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllTermAssociationQualifierTypes(String)

getAllTermPropertyQualifierTypes

public void getAllTermPropertyQualifierTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the term-property qualifier types from a given namespace

Specified by:
getAllTermPropertyQualifierTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllTermPropertyQualifierTypes(String)

getAllTermPropertyTypes

public void getAllTermPropertyTypes(java.lang.String vocabularyName)
Description copied from interface: EVSQuery
Gets all the term-property types from a given namespace

Specified by:
getAllTermPropertyTypes in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
See Also:
EVSQuery.getAllTermPropertyTypes(String)

getParentConcepts

public void getParentConcepts(java.lang.String vocabularyName,
                              java.lang.String conceptName,
                              boolean inputFlag)
Retrievs all the parent DescLogicConcepts for a given conceptName

Specified by:
getParentConcepts in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName
inputFlag - - If the input parameter is a concpeName inputFlag should be false If the input parameter is a conceptCode this value should be true.

getParentConcepts

public void getParentConcepts(java.lang.String vocabularyName,
                              java.lang.String conceptName,
                              boolean inputFlag,
                              int ASDIndex)
Retrievs all the parent DescLogicConcepts for a given conceptName

Specified by:
getParentConcepts in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName
inputFlag - - If the input parameter is a concpeName inputFlag should be false If the input parameter is a conceptCode this value should be true.
ASDIndex - - Sets the AttributeSetDescriptor value

getChildConcepts

public void getChildConcepts(java.lang.String vocabularyName,
                             java.lang.String conceptName,
                             boolean inputFlag,
                             int ASDIndex)
Retrievs all the child DescLogicConcepts for a given conceptName

Specified by:
getChildConcepts in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName
inputFlag - - If the input parameter is a concpeName inputFlag should be false If the input parameter is a conceptCode this value should be true.
ASDIndex - - Sets the AttributeSetDescriptor value

getChildConcepts

public void getChildConcepts(java.lang.String vocabularyName,
                             java.lang.String conceptName,
                             boolean inputFlag)
Retrievs all the child DescLogicConcepts for a given conceptName

Specified by:
getChildConcepts in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName
inputFlag - - If the input parameter is a concpeName inputFlag should be false If the input parameter is a conceptCode this value should be true.

hasParents

public void hasParents(java.lang.String vocabularyName,
                       java.lang.String conceptName)
Returns true if a given concept has a parent

Specified by:
hasParents in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName

hasChildren

public void hasChildren(java.lang.String vocabularyName,
                        java.lang.String conceptName)
Returns true if a given concept has a child

Specified by:
hasChildren in interface EVSQuery
Parameters:
vocabularyName - - Specifies the vocabulary name
conceptName - - Specifies the conceptName

fetchDTSProperties

public void fetchDTSProperties(java.lang.String vocabularyName,
                               java.lang.String term)
Description copied from interface: EVSQuery
Gets the properties of a given concept from the specified namespace

Specified by:
fetchDTSProperties in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
term - - Specifies the concept name
See Also:
EVSQuery.fetchDTSProperties(String, String)

fetchTermAssociations

public void fetchTermAssociations(java.lang.String vocabularyName,
                                  java.lang.String term)
Description copied from interface: EVSQuery
Fetchs term association data for a given concept from the specified namespace

Specified by:
fetchTermAssociations in interface EVSQuery
Parameters:
vocabularyName - - Specifies the namespace
term - - Specifies the concept name
See Also:
EVSQuery.fetchTermAssociations(String, String)

getConceptNameByCode

public void getConceptNameByCode(java.lang.String vocabularyName,
                                 java.lang.String conceptCode)
Deprecated. - The preferred method is getDescLogicConceptNameByCode

Description copied from interface: EVSQuery
Gets the concept name for the specified concept code

Specified by:
getConceptNameByCode in interface EVSQuery
Parameters:
vocabularyName - - specifies the namespace
conceptCode - - specifies the concept code
See Also:
EVSQuery.getConceptNameByCode(String, String)

getDescLogicConcept

public void getDescLogicConcept(java.lang.String vocabularyName,
                                java.lang.String conceptName,
                                boolean inputFlag)
Gets a DescLogicConcept for a given conceptName or concept code

Specified by:
getDescLogicConcept in interface EVSQuery
Parameters:
conceptName - - Specifies the conceptName or concept code
inputFlag - - If a concept code is entered this value is a Boolean.TRUE or if a concept name has been entered this value should be Boolean.FALSE

getHistoryRecordbyCode

public void getHistoryRecordbyCode(java.lang.String vocabularyName,
                                   java.lang.String conceptCode)
Specified by:
getHistoryRecordbyCode in interface EVSQuery

getHistoryRecords

public void getHistoryRecords(java.lang.String vocabularyName,
                              java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets List of HistoryRecords for a given concept code

Specified by:
getHistoryRecords in interface EVSQuery

getHistoryRecords

public void getHistoryRecords(java.lang.String vocabularyName,
                              java.lang.String initialDate,
                              java.lang.String finalDate,
                              java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets List of HistoryRecords

Specified by:
getHistoryRecords in interface EVSQuery

getHistoryRecords

public void getHistoryRecords(java.lang.String vocabularyName,
                              java.lang.String initialDate,
                              java.lang.String finalDate)
Description copied from interface: EVSQuery
Gets List of HistoryRecords

Specified by:
getHistoryRecords in interface EVSQuery

getHistoryStartDate

public void getHistoryStartDate(java.lang.String vocabularyName)
Gets the History start date

Specified by:
getHistoryStartDate in interface EVSQuery

getHistoryEndDate

public void getHistoryEndDate(java.lang.String vocabularyName)
Gets the History end date

Specified by:
getHistoryEndDate in interface EVSQuery

getCodeActionChildren

public void getCodeActionChildren(java.lang.String vocabularyName,
                                  java.lang.String conceptCode,
                                  java.lang.String baseLineDate,
                                  java.lang.String action)
Gets child concept codes for the specified concept.

Specified by:
getCodeActionChildren in interface EVSQuery
Parameters:
vocabularyName -
conceptCode -
baseLineDate -
action -

getCodeActionParents

public void getCodeActionParents(java.lang.String vocabularyName,
                                 java.lang.String conceptCode,
                                 java.lang.String baseLineDate)
Gets parent concept codes for the specified concept.

Specified by:
getCodeActionParents in interface EVSQuery
Parameters:
vocabularyName -
conceptCode -
baseLineDate -

getSourcebyCode

public void getSourcebyCode(java.lang.String vocabularyName,
                            java.lang.String conceptCode)
Gets source for the specified concept

Specified by:
getSourcebyCode in interface EVSQuery
Parameters:
vocabularyName -
conceptCode -

getAssociationCollectionbyCode

public void getAssociationCollectionbyCode(java.lang.String vocabularyName,
                                           java.lang.String conceptCode)
Gets associations for the specified concept

Specified by:
getAssociationCollectionbyCode in interface EVSQuery
Parameters:
vocabularyName -
conceptCode -

getTreeNodebyCode

public void getTreeNodebyCode(java.lang.String vocabularyName,
                              java.lang.String conceptCode)
Gets TreeNode for the specified concept.

Specified by:
getTreeNodebyCode in interface EVSQuery
Parameters:
vocabularyName -
conceptCode -

getSemanticTypeVectorbyCode

public void getSemanticTypeVectorbyCode(java.lang.String vocabularyName,
                                        java.lang.String code)
Gets semantic types for the specified concept.

Specified by:
getSemanticTypeVectorbyCode in interface EVSQuery
Parameters:
conceptCode -

getSemanticTypeCollectionbyCui

public void getSemanticTypeCollectionbyCui(java.lang.String cui)
Specified by:
getSemanticTypeCollectionbyCui in interface EVSQuery

getEdgePropertiesbyCode

public void getEdgePropertiesbyCode(java.lang.String vocabularyName,
                                    java.lang.String conceptCode)
Description copied from interface: EVSQuery
Gets get Semantic Types for the specified concept.

Specified by:
getEdgePropertiesbyCode in interface EVSQuery

getQualifierCollectionbyName

public void getQualifierCollectionbyName(java.lang.String name)
Specified by:
getQualifierCollectionbyName in interface EVSQuery

getAtomCollectionbyCui

public void getAtomCollectionbyCui(java.lang.String cui)
Specified by:
getAtomCollectionbyCui in interface EVSQuery

getSynonymCollectionbyCui

public void getSynonymCollectionbyCui(java.lang.String cui)
Specified by:
getSynonymCollectionbyCui in interface EVSQuery

getSourceCollectionbyCui

public void getSourceCollectionbyCui(java.lang.String cui)
Specified by:
getSourceCollectionbyCui in interface EVSQuery

getSourcebyDefinition

public void getSourcebyDefinition(java.lang.String definition)
Specified by:
getSourcebyDefinition in interface EVSQuery

getDefinitionCollectionbyCui

public void getDefinitionCollectionbyCui(java.lang.String cui)
Specified by:
getDefinitionCollectionbyCui in interface EVSQuery

getHistoryCollectionbyDescLogicConceptCode

public void getHistoryCollectionbyDescLogicConceptCode(java.lang.String descLogicConceptCode)
Specified by:
getHistoryCollectionbyDescLogicConceptCode in interface EVSQuery

getSiloCollectionbyName

public void getSiloCollectionbyName(java.lang.String name)
Specified by:
getSiloCollectionbyName in interface EVSQuery

getSecurityTokenbyName

public void getSecurityTokenbyName(java.lang.String name)
Specified by:
getSecurityTokenbyName in interface EVSQuery

getPropertyCollectionbyName

public void getPropertyCollectionbyName(java.lang.String name)
Specified by:
getPropertyCollectionbyName in interface EVSQuery

getPropertyCollectionbyCode

public void getPropertyCollectionbyCode(java.lang.String vocabularyName,
                                        java.lang.String conceptCode)
Specified by:
getPropertyCollectionbyCode in interface EVSQuery

getRoleCollectionbyCode

public void getRoleCollectionbyCode(java.lang.String vocabularyName,
                                    java.lang.String conceptCode)
Specified by:
getRoleCollectionbyCode in interface EVSQuery

getInverseRoleCollectionbyCode

public void getInverseRoleCollectionbyCode(java.lang.String vocabularyName,
                                           java.lang.String conceptCode)
Specified by:
getInverseRoleCollectionbyCode in interface EVSQuery

getInverseAssociationCollectionbyCode

public void getInverseAssociationCollectionbyCode(java.lang.String vocabularyName,
                                                  java.lang.String conceptCode)
Specified by:
getInverseAssociationCollectionbyCode in interface EVSQuery

getVocabularybyCode

public void getVocabularybyCode(java.lang.String vocabularyName,
                                java.lang.String conceptCode)
Specified by:
getVocabularybyCode in interface EVSQuery

getHasParentsbyCode

public void getHasParentsbyCode(java.lang.String vocabularyName,
                                java.lang.String conceptCode)
Specified by:
getHasParentsbyCode in interface EVSQuery

getHasChildrenbyCode

public void getHasChildrenbyCode(java.lang.String vocabularyName,
                                 java.lang.String conceptCode)
Specified by:
getHasChildrenbyCode in interface EVSQuery


Copyright © 2007 National Cancer Institute (NCI). All Rights Reserved.