gov.nih.nci.lexbig.ext
Class DLBAdapter

java.lang.Object
  extended by gov.nih.nci.lexbig.ext.DLBWrapper
      extended by gov.nih.nci.lexbig.ext.DLBAdapter

public final class DLBAdapter
extends DLBWrapper

DLBAdapter

Since:
DLBExt 1.0
Version:
1.0
Author:
Northrop Grumman Information Technology

Field Summary
static int MATCH_BY_ASSOCIATION
          a static constant, 4
static int MATCH_BY_INVERSE_ASSOCIATION
          a static constant, 7
static int MATCH_BY_INVERSE_ROLE
          a static constant, 6
static int MATCH_BY_NAME
          a static constant, 0
static int MATCH_BY_PROPERTY
          a static constant, 2
static int MATCH_BY_ROLE
          a static constant, 1
static int MATCH_BY_ROLE_PROPERTY
          a static constant, 8
static int MATCH_BY_SILO
          a static constant, 3
static int MATCH_BY_SOURCE_CODE
          a static constant, 9
static int MATCH_BY_SYNONYM
          a static constant, 5
static int WITH_ALL_ASSOCIATIONS
          A static constant, 4
static int WITH_ALL_ATTRIBUTES
          A static constant, 1
static int WITH_ALL_PROPERTIES
          A static constant, 3
static int WITH_ALL_ROLES
          A static constant, 2
static int WITH_NO_ATTRIBUTES
          A static constant, 0
 
Fields inherited from class gov.nih.nci.lexbig.ext.DLBWrapper
ASSOCIATION_RELATION, codingScheme, csrl, defaultCodingScheme, lbConvMethods, lbSvc, RESTRICT_TO_SOURCE, RESTRICT_TO_TARGET, ROLE_RELATION, ROOT_ASSOCIATION, ROOT_ROLE, supportedCodingSchemes, tag, TYPE_COMMENT, TYPE_DEFINITION, TYPE_INSTRUCTION, TYPE_PRESENTATION, TYPE_PROPERTY, version
 
Constructor Summary
DLBAdapter()
          Default constructor
DLBAdapter(EVSApplicationService lbSvc)
           
 
Method Summary
 java.lang.Boolean areCodesRelated(java.lang.String code1, java.lang.String code2, java.lang.String associationName)
          Checks if two codes are related through a particular association.
 java.lang.Boolean codeExists(java.lang.String code)
           
 boolean codingSchemeExists(java.lang.String codingSchemeName)
          Checks if a coding scheme exists.
 java.lang.Boolean containsInverseRole(java.lang.String role_name, java.lang.String role_value, java.lang.String Concept_in)
           
 java.lang.Boolean containsInverseRole(java.lang.String role_name, java.lang.String role_value, java.lang.String Concept_in, boolean isCode)
          Checks if a ontylog concept in a namespace has a specific inverse role and if so whether the role has a specific value
 java.lang.Boolean containsRole(java.lang.String role_name, java.lang.String role_value, java.lang.String Concept_in)
           
 java.lang.Boolean containsRole(java.lang.String role_name, java.lang.String role_value, java.lang.String Concept_in, boolean isCode)
          Checks if a concept in a namespace has a specific role and if so whether the role has a specific value
 void dumpHistoryRecord(java.io.PrintWriter pw, HistoryRecord e)
          dump history records (for debugging use)
 java.util.Vector fetchTermAssociations(java.lang.String code)
           
 CodedEntry findConcept(java.lang.String conceptname)
          Finds concept by name
 CodedEntry findConcept(java.lang.String conceptname, boolean allAttributes)
           
 CodedEntry findConceptByCode(java.lang.String code)
           
 CodedEntry findConceptByCode(java.lang.String conceptcode, boolean allAttributes)
          Finds the Concept instance for a given concept code.
 CodedEntry findConceptByCode(java.lang.String code, int ASD_index)
          findConceptByCode
 CodedEntry findConceptByCode(java.lang.String code, java.lang.String displayPropertyName)
          findConceptByCode
 CodedEntry findConceptByName(java.lang.String conceptname, int ASD_index)
           
 CodedEntry findConceptByName(java.lang.String conceptname, java.lang.String displayPropertyName)
          "@since DLBExt 1.0
 java.util.Vector<CodedEntry> findConceptsByCode(java.util.Vector<java.lang.String> conceptCodes_in)
          Gets an array of Concept objects that represent the same concepts as the argument array of concept codes.
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName, java.lang.String matchText, int maxToReturn)
          "@since DLBExt 1.0
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName, java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm)
           
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName, java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName, java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec, java.lang.String relationName)
           
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String codingSchemeName, java.lang.String associationName, java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String codingSchemeName, java.lang.String associationName, java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec, java.lang.String relationName)
           
 java.util.Vector findConceptsWithDesignationMatching(java.lang.String matchText, int maxToReturn, java.lang.String displayPropertyName, boolean includeSynonyms, java.lang.String matchAlgorithm)
          Retrieves each concept with a designation value that matches the argument pattern, based on the specified search options.
 java.util.Vector findConceptsWithDesignationMatching(java.lang.String matchText, java.lang.String displayPropertyName, boolean preferredOnly, java.util.Vector sortByProperty_vec, java.util.Vector source_vec, java.lang.String matchAlgorithm, int maxToReturn)
          Retrieves each concept with a designation value that matches the argument pattern, based on the specified search options.
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit)
          Retrieves each concept which is a value of a DTSRole with a selected DTSRoleType, if the concept name having the role matches the argument pattern.
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm)
           
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec, java.lang.String relationName)
           
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String codingSchemeName, java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String codingSchemeName, java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec, java.lang.String relationName)
           
 java.util.Vector<CodedEntry> findConceptsWithNameMatching(java.lang.String pattern, int searchLimit)
          Searchs concepts by name.
 java.util.Vector findConceptsWithNameMatching(java.lang.String matchText, int maxToReturn, boolean synonyms)
          Retrieves each concepts with a name (string identifier) that matches the argument pattern, based on the specified search options.
 java.util.Vector findConceptsWithNameMatching(java.lang.String matchText, int maxToReturn, boolean synonyms, java.lang.String matchAlgorithm)
           
 java.util.Vector findConceptsWithNameMatching(java.lang.String matchText, int maxToReturn, java.lang.String matchAlgorithm)
           
 java.util.Vector<CodedEntry> findConceptsWithPropertyContaining(java.lang.String propertyName, java.lang.String matchText, int searchLimit)
          Retrieves each concept with a selected DTSPropertyType, if the concept DTSPropertyType value contains the argument pattern.
 java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String propType_in, java.lang.String pattern, int searchLimit)
          Retrieves each concept with a property value that matches the argument pattern, based on the specified search options.
 java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String propType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm)
           
 java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String codingSchemeName, java.lang.String propType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm)
           
 java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String codingSchemeName, java.lang.String matchText, java.util.Vector property_vec, java.util.Vector restrictToProperties_vec, java.lang.String displayPropertyName, java.lang.String matchAlgorithm, int maxToReturn)
           
 java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String matchText, java.util.Vector property_vec, java.util.Vector restrictToProperties_vec, java.lang.String displayPropertyName, java.lang.String matchAlgorithm, int maxToReturn)
          Retrieves each concept with a property value that matches the argument pattern, based on the specified search options.
 java.util.Vector<CodedEntry> findConceptsWithRoleMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit)
          Retrieves each concept with a selected DTSRoleType, if the concept DTSRoleType value matches the argument pattern.
 java.util.Vector<CodedEntry> findConceptsWithRoleMatching(java.lang.String roleType_in, java.lang.String pattern, int searchLimit, java.lang.String matchAlgorithm)
           
 java.util.Vector findConceptsWithSiloMatching(java.lang.String searchTerm, int limit)
           
 java.util.Vector<CodedEntry> findConceptsWithSourceCodeMatching(java.lang.String sourceAbbr, java.lang.String code, int limit)
           
 java.util.Vector<CodedEntry> findConceptsWithSourceCodeMatching(java.lang.String codingSchemeName, java.lang.String sourceAbbr, java.lang.String code, int limit)
           
 CodedEntry[] findConceptWithSourceCodeMatching(java.lang.String source, java.lang.String code, int limit)
           
 java.lang.String findNamespaceByCode(java.lang.String namespaceCode)
          Finds formal name of a coding scheme for a given namespace code.
 java.util.Vector<java.lang.String> findRelatedCodes(java.lang.String code, java.lang.String relation, boolean direction)
          Find relationship (e.g., role) sources and targets
static java.util.HashMap getAdapterHashMap(java.lang.String url)
           
 java.util.Vector getAllAssociationTypes()
           
 java.util.Vector<java.lang.String> getAllConceptAssociationQualifierTypes()
           
 java.util.Vector getAllConceptAssociationTypes()
           
 java.util.Vector<java.lang.String> getAllConceptPropertyQualifierTypes()
           
 java.util.Vector getAllConceptPropertyTypes()
          Retrieves all concept property types.
 java.util.Vector<java.lang.String> getAllLicenses()
          Gets all licenses from the server.
 PropertyType[] getAllPropertyTypes()
          Gets all PropertyType in a given namespace
 java.util.Vector<java.lang.String> getAllQualifierTypes()
           
 java.util.Vector getAllRoleNames()
          Gets the names of all role types defined in the vocabulary.
 java.util.Vector getAllRoleNames(java.lang.String codingScheme)
           
 RoleType[] getAllRoleTypes()
          Gets all RoleType
 RoleType[] getAllRoleTypesInNamespace()
           
 java.util.Vector getAllSubConceptNames(java.lang.String conceptName)
          Gets the names of all subconcepts of the conceptName argument.
 java.util.Vector getAncestorCodeActionDates(java.lang.String inCode, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Gets the ancestor concepts' CodeActionDate of the specified concept.
 java.util.Vector getAncestorCodes(java.lang.String inCode, boolean atBaseline, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Gets the ancestor concept codes of the specified concept.
 java.util.Vector getAncestors(java.lang.String inCode)
           
 java.util.Vector getAssociationCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getAtomCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getAvailableMetaDataURNs()
           
 java.util.Vector getCodeActionChildren(java.lang.String inCode, java.util.Date baselineDate_in)
          Gets the descendant concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date.
 java.util.Vector getCodeActionParents(java.lang.String inCode, java.util.Date baselineDate_in)
          Gets the ancestor concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date.
 CodedEntry getConcept(java.lang.String inputvalue, boolean inputcode, int ASD_index)
          Searches concepts that match with a specific search criteria (complex search).
 CodedEntry getConcept(java.lang.String inputvalue, boolean inputcode, java.lang.String displayPropertyName)
          getConcept
 CodedEntry getConcept(java.lang.String codingSchemeName, java.lang.String code, boolean isCode, int ASD_index)
          getConcept
 java.util.Vector<java.lang.String> getConceptAssociationQualifierTypes()
           
 java.util.Vector getConceptAssociations(CodedEntry ce)
           
 java.util.Vector getConceptAssociations(java.lang.String codingScheme, java.lang.String version, java.lang.String tag, CodedEntry ce)
           
 java.util.Vector getConceptAssociationTypes()
           
 CodedEntry[] getConceptChildRoots()
           
 CodedEntry[] getConceptChildRoots(int ASD_index)
           
 CodedEntry[] getConceptChildRoots(int ASD_index, java.lang.String relationName, java.lang.String associationName)
          Retrieves a vector of root concepts in the default coding system
 java.lang.String getConceptCodeByName(java.lang.String conceptname)
          Finds the code of the specified concept.
 java.util.Date getConceptCreateVersionDate(java.lang.String code)
          Gets concept create version Dates.
 java.util.Date getConceptCreationDate(java.lang.String code)
          Gets the baseline date of creation of the specified concept.
 java.util.Vector getConceptEditAction(java.lang.String inCode)
          Gets all EditAction of the specified concept.
 java.util.Vector<EditActionDate> getConceptEditAction(java.lang.String inCode, java.util.Date baselineDate_in)
          Gets all EditActionDate of the specified concept.
 java.util.Vector getConceptEditActionDates(java.lang.String code, int iAction)
           
 java.util.Vector getConceptEditActionDates(java.lang.String code, java.lang.String action)
          Gets all dates in which a specified action takes place on the specified concept.
 ConceptHistory getConceptHistory(java.lang.String conceptcode)
           
 HistoryRecord[] getConceptHistory(java.lang.String code, java.util.Date beginDate, java.util.Date endDate)
          Gets HistoryRecord corresponding to a given concept code.
 java.lang.String getConceptNameByCode(java.lang.String conceptCode)
          Finds the code of the specified concept.
 java.util.Vector<java.lang.String> getConceptPropertyQualifierTypes()
           
 java.util.Vector<java.lang.String> getConceptPropertyTypes()
          Retrieves all concept property types within a given namespace.
 CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in)
          Gets concepts matching a given sets of concept names in a byte array
 CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in, boolean allAttributes)
           
 CodedEntry[] getConcepts(java.util.Vector<java.lang.String> inputvalues, boolean inputcode, int ASD_index)
           
 CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in, int ASD_index)
          Gets concepts matching a given sets of concept names in a byte array
 java.lang.String getConceptStatus(java.lang.String conceptname)
           
 java.util.Date getCreationDate(java.lang.String code)
           
 java.lang.String getCurrentCodingSchemeName()
           
 java.lang.String getCurrentTag()
           
 java.lang.String getCurrentVersion()
           
 java.lang.String getDefaultAlgorithm()
          Gets the name of the default search algorithm.
 java.util.Vector getDefinitionCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getDescendantCodeActionDates(java.lang.String inCode, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Gets the descendant concepts' CodeActionDate of the specified concept.
 java.util.Vector getDescendantCodes(java.lang.String inCode, boolean atBaseline, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Gets the descendant concept codes of the specified concept.
 java.util.Vector getDescendants(java.lang.String inCode)
           
 CodedEntry[] getDirectSubs(java.lang.String conceptname)
           
 CodedEntry[] getDirectSubs(java.lang.String conceptname, boolean allAttributes)
          Gets subconcepts of a given DescLogicConcept
 CodedEntry[] getDirectSubs(java.lang.String inputvalue, boolean inputcode, int ASD_index)
           
 CodedEntry[] getDirectSubs(java.lang.String conceptname, int ASD_index)
           
 CodedEntry[] getDirectSups(java.lang.String conceptname)
           
 CodedEntry[] getDirectSups(java.lang.String conceptname, boolean allAttributes)
          Gets direct superconcepts.
 CodedEntry[] getDirectSups(java.lang.String inputvalue, boolean inputcode, int ASD_index)
           
 CodedEntry[] getDirectSups(java.lang.String conceptname, int ASD_index)
           
 java.util.Vector<Role> getFetchedAssociations(java.lang.String codingSchemeName, java.lang.String Concept_in, boolean isCode, java.lang.String relation)
           
 java.util.Vector getFetchedConceptAssociations(java.lang.String code)
          getFetched Concept Associations of an Concept instance
 java.util.Vector<ConceptAssociation> getFetchedConceptAssociations(java.lang.String codingSchemeName, java.lang.String code)
           
 java.util.Vector getFetchedInverseRoles(java.lang.String Concept_in)
          Gets the inverse roles which have been retrieved for this concept, i.e.
 java.util.Vector getFetchedInverseRoles(java.lang.String Concept_in, boolean isCode)
           
 java.util.Vector<Role> getFetchedInverseRoles(java.lang.String codingSchemeName, java.lang.String Concept_in, boolean isCode)
           
 java.util.Vector getFetchedRoles(java.lang.String Concept_in)
           
 java.util.Vector getFetchedRoles(java.lang.String Concept_in, boolean isCode)
          Gets the roles which have been retrieved for this concept.
 java.util.Vector getFetchedRoles(java.lang.String codingSchemeName, java.lang.String Concept_in, boolean isCode)
           
 java.lang.String getFormalCodingSchemeName(java.lang.String name)
           
 java.util.Vector<EditActionDate> getHistoryCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getHistoryDates()
          Gets all distinct dates in concept_history table.
 java.util.Date getHistoryEnd()
          getHistoryEnd
 java.util.Date getHistoryEndBaselineDate()
           
 java.util.Date getHistoryEndDate()
          getHistoryEndDate
 java.util.Date getHistoryStart()
          getHistoryStart
 java.util.Date getHistoryStartBaselineDate()
          getHistoryStartBaselineDate
 java.util.Date getHistoryStartDate()
          getHistoryStartDate
 java.util.Vector getInverseAssociationCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getInverseConceptAssociations(CodedEntry ce)
           
 java.util.Vector getInverseConceptAssociations(java.lang.String codingScheme, java.lang.String version, java.lang.String tag, CodedEntry ce)
           
 java.util.Vector getInverseRoleCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getInverseRoles(CodedEntry ce)
           
 java.util.Vector getInverseRoles(java.lang.String codingScheme, java.lang.String version, java.lang.String tag, CodedEntry ce)
           
 java.lang.String getLicense()
          Gets all licenses from the server.
 java.util.Vector getLocalNames(java.lang.String codingSchemeName)
          Gets all local names of a coding scheme.
 int getMatchedConceptCount(java.lang.String pattern, int matchOption, java.lang.String matchType, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 int getMatchedConceptCount(java.lang.String codingSchemeName, java.lang.String pattern, int matchOption, java.lang.String matchType, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 java.util.Vector<CodedEntry> getMatches(java.lang.String pattern, int matchLimit)
           
 NameAndValue[] getMetadataProperties(java.lang.String codingSchemeURN)
           
 int getNamespaceId(java.lang.String namespaceName)
          Gets the namespace ID corresponding to a given coding scheme or vocabulary name.
 java.lang.Integer getNamespaceId(java.lang.String namespaceName, java.lang.String version, java.lang.String tag)
          Gets namespace id (local name of a vocabulary name).
 int getNumberEditActions(java.lang.String inCode, java.util.Date baselineDate_in)
          Gets the number of editing actions on the specified concept registered in the specified baseline date.
 int getNumberEditActions(java.lang.String inCode, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Gets the number of editing actions on the specified concept registered in the specified baseline date.
 int getNumberOfSpecifiedInverseRoles(java.lang.String Concept_in)
          Get the number of inverse roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this Concept.
 int getNumberOfSpecifiedRoles(java.lang.String Concept_in)
          Get the number of roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this Concept.
 java.util.Vector getPropertiesByCode(java.lang.String conceptcode)
           
 java.util.Vector getPropertiesByConceptName(java.lang.String conceptname)
          Gets the names and values of roles owned by the specified concept.
 java.util.Vector getPropertyCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getPropertyNames(java.lang.String conceptname)
           
 PropertyType getPropertyTypeById(int propertyId)
           
 PropertyType getPropertyTypeByName(java.lang.String propertyName)
          Gets PropertyType by name
 java.util.Vector getPropertyTypes()
          Gets the names of all property types defined in the vocabulary.
 java.util.Vector getPropertyValues(java.lang.String conceptname, java.lang.String propertyname)
          Gets the values of a particular role owned by the specified concept.
 java.util.Vector getRelatedConceptCodes(java.lang.String code, java.lang.Boolean direction, java.lang.String associationName, java.lang.String sourceAbbr)
           
 java.util.Vector getRelatedConceptCodes(java.lang.String code, java.lang.String associationName, java.lang.String sourceAbbr)
           
 java.util.Vector getRelatedConcepts(java.lang.String conceptCode, boolean direction, java.lang.String associationName)
           
 java.util.Vector<CodedEntry> getRelatedConcepts(java.lang.String conceptCode, boolean direction, java.lang.String associationName, int ASD_Index)
           
 java.util.Vector getRelatedConcepts(java.lang.String conceptCode, java.lang.String associationName)
           
 java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode, boolean direction, java.lang.String associationName, java.lang.String sourceAbbr)
           
 java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode, boolean direction, java.lang.String associationName, java.lang.String sourceAbbr, int ASD_Index)
           
 java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode, java.lang.String associationName, java.lang.String sourceAbbr)
           
 java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode, java.lang.String associationName, java.lang.String sourceAbbr, int ASD_Index)
           
 java.lang.String getRelation(java.lang.String codingSchemeName, java.lang.String associationName)
           
 java.util.Vector getRoleCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector<Role> getRoles(CodedEntry ce)
           
 java.util.Vector<Role> getRoles(java.lang.String codingScheme, java.lang.String version, java.lang.String tag, CodedEntry ce)
           
 java.util.Vector getRolesByConceptName(java.lang.String conceptname)
          Gets the names and values of roles owned by the specified concept.
 RoleType getRoleTypeById(int roleId)
           
 RoleType getRoleTypeByName(java.lang.String rolename)
          Gets RoleType by name .
 java.util.Vector getRoleValues(java.lang.String conceptname, java.lang.String rolename)
          Gets the values of a particular role owned by the specified concept.
 CodedEntry[] getRootConcepts()
          Gets root concepts
 CodedEntry[] getRootConcepts(boolean allAttributes)
           
 CodedEntry[] getRootConcepts(int ASD_index)
           
 java.util.Vector getSemanticTypeCollectionbyCode(java.lang.String vocabularyName, java.lang.String code)
           
 java.util.Vector getSubConcepts(java.lang.String inputvalue, boolean inputcode, boolean outputcode)
          Gets the codes, or the names, of all subconcepts of the specified concept
 java.util.Vector getSubConcepts(java.lang.String inputvalue, java.lang.Boolean inputcodeObj, java.lang.Boolean outputcodeObj)
          Gets the codes, or the names, of all subconcepts of the specified concept
 java.util.Vector<java.lang.String> getSuperConcepts(java.lang.String inputvalue, boolean inputcode, boolean outputcode)
          Gets the codes (or the names) of all superconcepts of the specified concepts.
 java.util.Vector getSuperConcepts(java.lang.String inputvalue, java.lang.Boolean inputcodeObj, java.lang.Boolean outputcodeObj)
          Gets the codes (or the names) of all superconcepts of the specified concepts.
 java.util.Vector getSupportedAssociationNames()
           
 java.util.Vector getSupportedConceptAssociationNames()
           
 java.util.Vector getSupportedConceptAssociationNames(java.lang.String codingSchemeName)
           
 java.util.Vector getSupportedConceptStatus()
          getSupportedConceptStatus
 java.util.Vector getSupportedContext()
          Returns a vector of the names of org.LexGrid.naming.SupportedContext for the default coding scheme.
 int getSupportedContextCount()
           
 java.util.Vector getSupportedPropertyQualifiers()
           
 java.util.Vector<java.lang.String> getSupportedRoleNames()
           
 java.util.Vector getSupportedSources()
           
 javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname, boolean direction, int asdIndex)
          Returns a root byte array based on the concept provided and limits the number of levels of child concepts returned.
 javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname, boolean direction, int level, int asdIndex)
           
 javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname, boolean direction, int levels, int asdIndex, boolean isaflag, java.util.Vector rolenames)
           
 javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname, boolean direction, int levels, int ASD_index, java.lang.String isaName, java.util.Vector rolenames)
           
 javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname, boolean directionB, int levels, java.lang.String propertyname)
          Gets tree data from the server (method for supporting DTS Browser development).
 java.util.Vector<java.lang.String> getValidPropertyNames(java.util.Vector<java.lang.String> propertynames)
          "@since DLBExt 1.0
 java.util.Vector getVersions()
           
 java.lang.String getVocabularyDescription(java.lang.String name)
          Converts a local name to a formal name of a coding scheme.
 java.util.Vector<java.lang.String> getVocabularyNames()
          Gets available vocabulary (i.e., coding scheme) names.
 java.util.Vector getVocabularyTags(java.lang.String vocabularyname, java.lang.String version)
          Gets available coding scheme tags for a given coding scheme name and version.
 java.lang.String getVocabularyVersion(java.lang.String name)
          Retrieves an array of ContentVersions which are the list of versions for the given namespace Id in the knowledgebase.
 java.util.Vector getVocabularyVersions(java.lang.String vocabularyname)
           
 java.lang.Boolean hasChildren(java.lang.String conceptname)
          Checks if a coded entry (concept) has any subconcepts.
 java.lang.Boolean hasChildren(java.lang.String codingScheme, java.lang.String code)
          Checks if a concept has any subconcepts.
 java.lang.Boolean hasParents(java.lang.String conceptname)
          Checks if a concept has any super concepts.
 java.lang.Boolean hasParents(java.lang.String inputvalue, boolean isCode)
          Checks if a concept has any super concepts.
 java.lang.Boolean hasParents(java.lang.String codingScheme, java.lang.String code)
          Checks if a concept has any superconcepts.
 java.lang.Boolean hasStatus(java.lang.String conceptname)
           
 boolean hasSubconcepts(java.lang.String conceptname)
          Checks if a concept has any subconcept
 boolean hasSuperconcepts(java.lang.String conceptname)
          Checks if a concept has any superconcept.
 boolean hasSuperconcepts(java.lang.String inputvalue, boolean isCode)
          Checks if a concept has any super concepts.
 boolean isAssociationSupported(java.lang.String name)
           
 java.lang.Boolean isChild(java.lang.String concept1, java.lang.String concept2)
          Check if the second concept is a subconcept of the first concept.
 java.lang.Boolean isChildByCode(java.lang.String code1, java.lang.String code2)
          Checks if concept with code1 is a subconcept of the concept with code2
 java.lang.Boolean isConceptCodeValid(java.lang.String code)
          Checks if a concept code is valid.
 boolean isConceptEdited(java.lang.String inCode, boolean mrg_splt, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
          Checks if the specified concept is edited or not during a date range.
 java.lang.Boolean isConceptNameValid(java.lang.String conceptname)
          Checks if a concept name is valid.
 boolean isConceptRetired(java.lang.String inCode)
          Checks if the specified concept is retired or not.
 java.lang.Boolean isEdited(java.lang.String inCode, boolean mrg_splt, java.util.Date iBaselineDate_in, java.util.Date fBaselineDate_in)
           
 boolean isHistoryAvailable()
          Checks if a concept history is available.
 boolean isHistoryAvailable(java.lang.String codingSchemeName)
           
 java.lang.Boolean isRetired(java.lang.String inCode)
           
 boolean isSubConcept(java.lang.String concept1, java.lang.String concept2)
          Determines if concept1 is a subconcept of concept2 based on their names.
 boolean isSubConceptByCode(java.lang.String code1, java.lang.String code2)
          Checks if concept with code1 is a subconcept of the concept with code2
 java.lang.Boolean isSubConceptByName(java.lang.String concept1, java.lang.String concept2)
          Determines if concept1 is a subconcept of concept2 in the specified namespace.
 java.util.Vector<java.lang.Boolean> isSubConceptByName(java.lang.String concept1, java.util.Vector concepts_in)
          Determines if concept1 is a subconcept of a collection of concepts in the specified namespace.
 boolean isValidHistoryDate(java.util.Date historydate)
           
 void outputConcept(java.io.PrintWriter pw, CodedEntry ce)
           
 void outputProperties(java.io.PrintWriter pw, CodedEntry ce)
           
 void outputTree(java.io.PrintWriter pw, javax.swing.tree.DefaultMutableTreeNode dmtn)
          Ouptut a tree
 void outputTree(java.io.PrintWriter pw, javax.swing.tree.DefaultMutableTreeNode dmtn, int level)
          Ouptut a tree
 void printTree(java.io.PrintWriter treeWriter, javax.swing.tree.DefaultMutableTreeNode root)
          Print a tree (UserObject is a Concept instance).
 CodedEntry[] searchConcepts(java.lang.String pattern, int searchLimit)
           
 CodedEntry[] searchConcepts(java.lang.String pattern, int limit, int matchOption, java.lang.String matchType)
           
 CodedEntry[] searchConcepts(java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex)
           
 CodedEntry[] searchConcepts(java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex, java.lang.String matchAlgorithm)
           
 CodedEntry[] searchConcepts(java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 CodedEntry[] searchConcepts(java.lang.String pattern, int max, java.lang.String matchAlgorithm)
           
 CodedEntry[] searchConcepts(java.lang.String codingSchemeName, java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex)
           
 CodedEntry[] searchConcepts(java.lang.String codingSchemeName, java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex, java.lang.String matchAlgorithm)
           
 CodedEntry[] searchConcepts(java.lang.String codingSchemeName, java.lang.String pattern, int limit, int matchOption, java.lang.String matchType, int ASDIndex, java.lang.String matchAlgorithm, java.util.Vector restricted_property_vec)
           
 CodedEntry[] searchConcepts(java.lang.String scheme, java.lang.String searchTerm, int limit, java.lang.String source, boolean cui, boolean shortResult, boolean score)
           
 CodedEntry[] searchConcepts(java.lang.String scheme, java.lang.String searchTerm, int limit, java.lang.String source, boolean cui, boolean shortResult, boolean score, int ASDIndex)
           
 void setDefaultAlgorithm(java.lang.String algorithm)
          Sets the name of the default search algorithm.
 java.lang.Boolean setVocabulary(java.lang.String name)
          Sets vocabulary (coding scheme) name.
 java.lang.Boolean setVocabulary(java.lang.String name, java.lang.String version, java.lang.String tag)
          Sets vocabulary name.
static java.util.Date stringToDate(java.lang.String aString)
           
static java.util.Date stringToDate(java.lang.String aString, java.lang.String format)
           
 
Methods inherited from class gov.nih.nci.lexbig.ext.DLBWrapper
areAssociatedConcepts, areAssociatedConcepts, areCodesRelated, array2Vector, arrayToVector, atributeSetDescriptorIndex2LocalNameList, codeExists, codeToName, codeToName, codeToName, conceptAssociations2Roles, conceptExists, conceptExists, convertProperties, createCodeNodeSet, createCodingSchemeVersionOrTag, createConceptReference, createConceptReferenceList, createNameAndValue, createNameAndValueList, createProductionTag, createSortOption, createSortOptionList, createSortOptionList, dateToString, findCodedEntriesWithAssociation, findCodedEntriesWithAssociationMatching, findCodedEntriesWithAssociationMatching, findCodedEntriesWithAssociationMatching, findCodedEntriesWithAssociationMatching, findCodedEntriesWithDesignationMatching, findCodedEntriesWithPropertyMatching, findCodedEntriesWithPropertyMatching, findCodedEntriesWithSourceCodeMatching, findCodedEntriesWithSourceCodeMatching, findCodedEntryWithNameMatching, findConceptNameByCode, findDescription, findRelatedCodes, getAllAssociatedConcepts, getAllConcepts, getAncestorCodeActionDates, getAncestorCodes, getAncestorCodes, getAncestors, getAssociatedCodedEntries, getAssociatedCodedEntries, getAssociatedCodedEntries, getAssociatedCodedEntries, getAssociatedCodedEntries, getAssociatedCodedEntriesBySource, getAssociatedConcepts, getAssociatedConcepts, getAssociationNames, getAssociationNamesByRelation, getAssociationNamesByRelation, getAssociationSources, getAssociationSources, getAssociationTargets, getAssociationTargets, getAvailableCodingSchemeTags, getAvailableCodingSchemeVersions, getChangeTypeNumber, getChildCount, getChildrenOf, getCNGSize, getCNSSize, getCodeActionChildren, getCodeActionParents, getCodedEntry, getCodedEntry, getCodedEntryByCode, getCodedEntryByName, getCodedEntrySources, getCodesInCodedEntries, getCodingScheme, getCodingScheme, getCodingScheme, getCodingSchemeSummary, getCodingSchemeSummary, getCodingSchemeVersion, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptAssociations, getConceptChangeVersions, getConceptCreateVersion, getConceptCreationDate, getConceptEditAction, getConceptEditActionDates, getConceptHistory, getConceptHistory, getConceptHistory, getConceptName, getConceptName, getConceptProperties, getConceptProperties, getConceptsByKind, getConceptStatus, getCopyRight, getDescendantCodeActionDates, getDescendantCodes, getDescendantCodes, getDescendants, getFilterExtensions, getHasSubtype, getHistoryBaselineDates, getHistoryEndBaselineDate, getHistoryStartBaselineDate, getInverseConceptAssociations, getInverseName, getInverseRoles, getLogger, getName, getName, getNativeRelationName, getNumberEditActions, getNumberEditActions, getParentsOf, getPreferredName, getProperties, getPropertiesByCode, getPropertiesByConceptName, getPropertyNames, getPropertySources, getPropertyValues, getReferencedEntry, getRelatedCodedEntries, getRelationNames, getRelationTypesForConcept, getRepresentsVersion, getRoles, getRoles, getRoles, getRootCodedEntries, getRootCodedEntries, getSearchTechniqueDescription, getSemanticTypeCode, getSemanticTypeCodes, getSemanticTypes, getSourceCollectionbyCode, getSources, getSources, getSupportedAssociationNames, getSupportedAssociationNames, getSupportedAssociationQualifier, getSupportedAssociations, getSupportedAssociations, getSupportedCodingSchemeNames, getSupportedCodingSchemes, getSupportedConceptStatus, getSupportedConceptStatus, getSupportedContext, getSupportedContext, getSupportedContextCount, getSupportedContextCount, getSupportedContextNames, getSupportedProperties, getSupportedProperties, getSupportedPropertyNames, getSupportedPropertyNames, getSupportedPropertyNames, getSupportedPropertyQualifier, getSupportedPropertyQualifiers, getSupportedRepresentationalForms, getSupportedRepresentationalForms, getSupportedRoleNames, getSupportedRoleNames, getSupportedSearchTechniques, getSupportedSource, getSupportedSource, getSupportedSourceNames, getSupportedSourceNames, getSupportedSources, getTargetNames, getTargets, getTreeFromServer, getVersionDate, getVersions, getVocabularyVersionByTag, hasAssociatedCodedEntries, hasAssociatedConcepts, hasAssociatedConcepts, hashSet2Vector, hasProperty, hasRelation, hasRelation, iActiontoStr, initializeSemanticTypes, isCodeInGraph, isCodeInGraph, isCodeRetired, isCodingSchemeActive, isConceptActive, isConceptActive, isConceptEdited, isForwardName, isReverseName, isRole, isValidHistoryDate, isVersionComplete, LocalNameList2HashSet, mapSynonymsToPreferredNames, nameToCode, nameToCode, resolveConceptReference, resolveConceptReference, resolveConceptReference, resolveConceptReference, restrictToSource, searchCodedEntries, toActionIndex, vector2LocalNameList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATCH_BY_NAME

public static final int MATCH_BY_NAME
a static constant, 0

See Also:
Constant Field Values

MATCH_BY_ROLE

public static final int MATCH_BY_ROLE
a static constant, 1

See Also:
Constant Field Values

MATCH_BY_PROPERTY

public static final int MATCH_BY_PROPERTY
a static constant, 2

See Also:
Constant Field Values

MATCH_BY_SILO

public static final int MATCH_BY_SILO
a static constant, 3

See Also:
Constant Field Values

MATCH_BY_ASSOCIATION

public static final int MATCH_BY_ASSOCIATION
a static constant, 4

See Also:
Constant Field Values

MATCH_BY_SYNONYM

public static final int MATCH_BY_SYNONYM
a static constant, 5

See Also:
Constant Field Values

MATCH_BY_INVERSE_ROLE

public static final int MATCH_BY_INVERSE_ROLE
a static constant, 6

See Also:
Constant Field Values

MATCH_BY_INVERSE_ASSOCIATION

public static final int MATCH_BY_INVERSE_ASSOCIATION
a static constant, 7

See Also:
Constant Field Values

MATCH_BY_ROLE_PROPERTY

public static final int MATCH_BY_ROLE_PROPERTY
a static constant, 8

See Also:
Constant Field Values

MATCH_BY_SOURCE_CODE

public static final int MATCH_BY_SOURCE_CODE
a static constant, 9

See Also:
Constant Field Values

WITH_NO_ATTRIBUTES

public static final int WITH_NO_ATTRIBUTES
A static constant, 0

See Also:
Constant Field Values

WITH_ALL_ATTRIBUTES

public static final int WITH_ALL_ATTRIBUTES
A static constant, 1

See Also:
Constant Field Values

WITH_ALL_ROLES

public static final int WITH_ALL_ROLES
A static constant, 2

See Also:
Constant Field Values

WITH_ALL_PROPERTIES

public static final int WITH_ALL_PROPERTIES
A static constant, 3

See Also:
Constant Field Values

WITH_ALL_ASSOCIATIONS

public static final int WITH_ALL_ASSOCIATIONS
A static constant, 4

See Also:
Constant Field Values
Constructor Detail

DLBAdapter

public DLBAdapter()
Default constructor

Since:
DLBExt 1.0

DLBAdapter

public DLBAdapter(EVSApplicationService lbSvc)
Method Detail

getCurrentCodingSchemeName

public java.lang.String getCurrentCodingSchemeName()

getCurrentVersion

public java.lang.String getCurrentVersion()

getCurrentTag

public java.lang.String getCurrentTag()

getAdapterHashMap

public static java.util.HashMap getAdapterHashMap(java.lang.String url)

getDefaultAlgorithm

public java.lang.String getDefaultAlgorithm()
Gets the name of the default search algorithm.

Returns:
the name of the default search algorithm.
Since:
DLBExt 1.0

setDefaultAlgorithm

public void setDefaultAlgorithm(java.lang.String algorithm)
Sets the name of the default search algorithm.

Parameters:
algorithm - the name of the default search algorithm
Since:
DLBExt 1.0

setVocabulary

public java.lang.Boolean setVocabulary(java.lang.String name)
Sets vocabulary (coding scheme) name.

Parameters:
name - coding scheme name
Returns:
a boolean variable - true, if successful; false, if otherwise.
Since:
DLBExt 1.0

setVocabulary

public java.lang.Boolean setVocabulary(java.lang.String name,
                                       java.lang.String version,
                                       java.lang.String tag)
Sets vocabulary name.

Parameters:
name - coding scheme name
version - coding scheme version
tag - coding scheme tag
Returns:
boolean variable; set to true, if successful; false, otherwise
Since:
DLBExt 1.0

getFormalCodingSchemeName

public java.lang.String getFormalCodingSchemeName(java.lang.String name)

getVocabularyDescription

public java.lang.String getVocabularyDescription(java.lang.String name)
Converts a local name to a formal name of a coding scheme.

Parameters:
name - a local name of a coding scheme
Returns:
a formal name of a coding scheme
Since:
DLBExt 1.0

getLocalNames

public java.util.Vector getLocalNames(java.lang.String codingSchemeName)
Gets all local names of a coding scheme.

Parameters:
codingSchemeName - coding scheme name
Returns:
all local names of a coding scheme.
Since:
DLBExt 1.0

getNamespaceId

public int getNamespaceId(java.lang.String namespaceName)
Gets the namespace ID corresponding to a given coding scheme or vocabulary name.

Parameters:
namespaceName - a given coding scheme or vocabulary name
Returns:
the namespace ID corresponding to a given coding scheme or vocabulary name
Since:
DLBExt 1.0

findNamespaceByCode

public java.lang.String findNamespaceByCode(java.lang.String namespaceCode)
Finds formal name of a coding scheme for a given namespace code.

Parameters:
namespaceCode - namespace code (a local name of a coding scheme)
Returns:
formal name of a coding scheme for a given namespace code.
Since:
DLBExt 1.0

getNamespaceId

public java.lang.Integer getNamespaceId(java.lang.String namespaceName,
                                        java.lang.String version,
                                        java.lang.String tag)
Gets namespace id (local name of a vocabulary name).

Parameters:
namespaceName - coding scheme or vocabulary name
version - coding scheme or vocabulary version
tag - coding scheme or vocabulary tag
Returns:
namespace id (local name of a vocabulary name)
Since:
DLBExt 1.0

hasSubconcepts

public boolean hasSubconcepts(java.lang.String conceptname)
Checks if a concept has any subconcept

Parameters:
conceptname - the specified concept name
Returns:
a Boolean. true - conceptname has any subconcept; false - it has no subconcept; null, otherwise.
Since:
DLBExt 1.0

hasChildren

public java.lang.Boolean hasChildren(java.lang.String conceptname)
Checks if a coded entry (concept) has any subconcepts.

Parameters:
conceptname - concept name
Returns:
Boolean TRUE if it has; FALSE, if otherwise
Since:
DLBExt 1.0

isSubConcept

public boolean isSubConcept(java.lang.String concept1,
                            java.lang.String concept2)
Determines if concept1 is a subconcept of concept2 based on their names.

Parameters:
concept1 - - the name of the first concept
concept2 - - the name of the second concept
Returns:
a Boolean. True if concept1 is a subconcept of concept2, False if concept1 isn't a sub concept of concept2; null, otherwise.
Since:
DLBExt 1.0

isChild

public java.lang.Boolean isChild(java.lang.String concept1,
                                 java.lang.String concept2)
Check if the second concept is a subconcept of the first concept.

Parameters:
concept1 - the nane of the first concept
concept2 - the name of the second concept
Returns:
Boolean TRUE if it is; FALSE, if otherwise
Since:
DLBExt 1.0

isSubConceptByCode

public boolean isSubConceptByCode(java.lang.String code1,
                                  java.lang.String code2)
Checks if concept with code1 is a subconcept of the concept with code2

Parameters:
code1 - the first concept code
code2 - the second concept code
Returns:
boolean, true, if it is; false, otherwise
Since:
DLBExt 1.0

isChildByCode

public java.lang.Boolean isChildByCode(java.lang.String code1,
                                       java.lang.String code2)
Checks if concept with code1 is a subconcept of the concept with code2

Parameters:
code1 - the first concept code
code2 - the second concept code
Returns:
boolean, true, if it is; false, otherwise
Since:
DLBExt 1.0

getAllSubConceptNames

public java.util.Vector getAllSubConceptNames(java.lang.String conceptName)
Gets the names of all subconcepts of the conceptName argument.

Parameters:
conceptName - a Concept name
Returns:
an array of Concept names which are sub concepts of conceptName; return null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getSubConcepts

public java.util.Vector getSubConcepts(java.lang.String inputvalue,
                                       java.lang.Boolean inputcodeObj,
                                       java.lang.Boolean outputcodeObj)
Gets the codes, or the names, of all subconcepts of the specified concept

Parameters:
inputvalue - input value
inputcodeObj - Boolean TRUE if the input value is a concept code; FALSE, if it's a name
outputcodeObj - Boolean TRUE if the output value is a concept code; FALSE, if it's a name
Returns:
a vector containing the codes, or the names, of all subconcepts of the specified concept; return null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getSubConcepts

public java.util.Vector getSubConcepts(java.lang.String inputvalue,
                                       boolean inputcode,
                                       boolean outputcode)
Gets the codes, or the names, of all subconcepts of the specified concept

Parameters:
inputvalue - input value
inputcode - boolean TRUE if the input value is a concept code; FALSE, if it's a name
outputcode - boolean TRUE if the output value is a concept code; FALSE, if it's a name
Returns:
a vector containing the codes, or the names, of all subconcepts of the specified concept; return null, if connection fails or an exception is thrown.

hasSuperconcepts

public boolean hasSuperconcepts(java.lang.String conceptname)
Checks if a concept has any superconcept.

Parameters:
conceptname - the specified concept name
Returns:
a Boolean. true - conceptname has any superconcept; false - it has no superconcept; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

hasParents

public java.lang.Boolean hasParents(java.lang.String conceptname)
Checks if a concept has any super concepts.

Parameters:
conceptname - concept name
Returns:
Boolean TRUE if the concept has; FALSE, if otherwise
Since:
DLBExt 1.0

hasSuperconcepts

public boolean hasSuperconcepts(java.lang.String inputvalue,
                                boolean isCode)
Checks if a concept has any super concepts.

Parameters:
inputvalue - concept name
isCode - concept name
Returns:
boolean TRUE if the concept has; FALSE, if otherwise

hasParents

public java.lang.Boolean hasParents(java.lang.String inputvalue,
                                    boolean isCode)
Checks if a concept has any super concepts.

Parameters:
inputvalue - input value
isCode - boolean TRUE if the input value is a concept code; FALSE, if it's a name
Returns:
Boolean TRUE if the concept has; FALSE, if otherwise
Since:
DLBExt 1.0

getSuperConcepts

public java.util.Vector getSuperConcepts(java.lang.String inputvalue,
                                         java.lang.Boolean inputcodeObj,
                                         java.lang.Boolean outputcodeObj)
Gets the codes (or the names) of all superconcepts of the specified concepts.

Parameters:
inputvalue - code or the specified concept name
inputcodeObj - boolean TRUE if the input value is a concept code; FALSE, if it's a name
outputcodeObj - boolean TRUE if the output value is a concept code; FALSE, if it's a name
Returns:
a vector containing the codes (or the names) of all superconcepts of the specified concepts; return null, if an exception is thrown.
Since:
DLBExt 1.0

getSuperConcepts

public java.util.Vector<java.lang.String> getSuperConcepts(java.lang.String inputvalue,
                                                           boolean inputcode,
                                                           boolean outputcode)
Gets the codes (or the names) of all superconcepts of the specified concepts.

Parameters:
inputvalue - code or the specified concept name
inputcode - boolean TRUE if the input value is a concept code; FALSE, if it's a name
outputcode - boolean TRUE if the output value is a concept code; FALSE, if it's a name
Returns:
the codes (or the names) of all superconcepts of the specified concepts.
Since:
DLBExt 1.0

getTree

public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
                                                       boolean directionB,
                                                       int levels,
                                                       java.lang.String propertyname)
Gets tree data from the server (method for supporting DTS Browser development).

Parameters:
rootname - the name of the root concept
directionB - a boolean variable set to true if tree traverses up, to false, if otherwise
levels - maximum number of levels
propertyname - - Provides the property name with which to populate returned concepts.
Returns:
The root (DefaultMutableTreeNode) of the tree
Since:
DLBExt 1.0

findConceptsWithNameMatching

public java.util.Vector<CodedEntry> findConceptsWithNameMatching(java.lang.String pattern,
                                                                 int searchLimit)
Searchs concepts by name.

Parameters:
pattern - match pattern
searchLimit - search limit
Returns:
matched concepts in a byte array
Since:
DLBExt 1.0

isConceptCodeValid

public java.lang.Boolean isConceptCodeValid(java.lang.String code)
Checks if a concept code is valid.

Parameters:
code - concept code
Returns:
boolean true - concept code is valid; false - if it is not.

isConceptNameValid

public java.lang.Boolean isConceptNameValid(java.lang.String conceptname)
Checks if a concept name is valid.

Parameters:
conceptname - concept name
Returns:
boolean true - concept name is valid; false - if it is not.

isHistoryAvailable

public boolean isHistoryAvailable()
Checks if a concept history is available.

Returns:
boolean true - if concept history is available; false - if it is not.

isHistoryAvailable

public boolean isHistoryAvailable(java.lang.String codingSchemeName)

containsRole

public java.lang.Boolean containsRole(java.lang.String role_name,
                                      java.lang.String role_value,
                                      java.lang.String Concept_in,
                                      boolean isCode)
Checks if a concept in a namespace has a specific role and if so whether the role has a specific value

Parameters:
role_name - role name
role_value - role value
Concept_in - the name of the specific ontylog concept
isCode -
Returns:
A Boolean variable with value set to TRUE if it has; FALSE, otherwise

containsRole

public java.lang.Boolean containsRole(java.lang.String role_name,
                                      java.lang.String role_value,
                                      java.lang.String Concept_in)

containsInverseRole

public java.lang.Boolean containsInverseRole(java.lang.String role_name,
                                             java.lang.String role_value,
                                             java.lang.String Concept_in,
                                             boolean isCode)
Checks if a ontylog concept in a namespace has a specific inverse role and if so whether the role has a specific value

Parameters:
role_name - role name
role_value - role value
Concept_in - the name of the specific ontylog concept
isCode -
Returns:
A Boolean variable with value set to TRUE if it has; FALSE, otherwise
Since:
DLBExt 1.0

containsInverseRole

public java.lang.Boolean containsInverseRole(java.lang.String role_name,
                                             java.lang.String role_value,
                                             java.lang.String Concept_in)

getConceptCodeByName

public java.lang.String getConceptCodeByName(java.lang.String conceptname)
Finds the code of the specified concept.

Parameters:
conceptname - the specified concept name
Returns:
the specified concept code; return null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getConceptNameByCode

public java.lang.String getConceptNameByCode(java.lang.String conceptCode)
Finds the code of the specified concept.

Parameters:
conceptCode - concept code
Returns:
the specified concept code; return null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getAllRoleNames

public java.util.Vector getAllRoleNames()
Gets the names of all role types defined in the vocabulary.

Returns:
a vector containing the names of all role types defined in the vocabulary; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getAllRoleNames

public java.util.Vector getAllRoleNames(java.lang.String codingScheme)

getRoleValues

public java.util.Vector getRoleValues(java.lang.String conceptname,
                                      java.lang.String rolename)
Gets the values of a particular role owned by the specified concept.

Parameters:
conceptname - the specified concept name
rolename - the specified role name
Returns:
the values of a particular role owned by the specified concept; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getRolesByConceptName

public java.util.Vector getRolesByConceptName(java.lang.String conceptname)
Gets the names and values of roles owned by the specified concept. Each name and value pair is returned as a string delimited by a '$' sign (i.e., name$value).

Parameters:
conceptname - the specified concept name
Returns:
a vector containing the names and values of roles owned by a specified concept; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getPropertyTypes

public java.util.Vector getPropertyTypes()
Gets the names of all property types defined in the vocabulary.

Returns:
a vector containing the names of all property types defined in the vocabulary; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getPropertiesByConceptName

public java.util.Vector getPropertiesByConceptName(java.lang.String conceptname)
Gets the names and values of roles owned by the specified concept.

Parameters:
conceptname - the specified concept name
Returns:
a vector containing the names and values of properties owned by a specified concept; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

getPropertiesByCode

public java.util.Vector getPropertiesByCode(java.lang.String conceptcode)

getPropertyValues

public java.util.Vector getPropertyValues(java.lang.String conceptname,
                                          java.lang.String propertyname)
Gets the values of a particular role owned by the specified concept.

Overrides:
getPropertyValues in class DLBWrapper
Parameters:
conceptname - the specified concept name
propertyname - property name
Returns:
the values of a particular role owned by the specified concept; null, if connection fails or an exception is thrown.
Since:
DLBExt 1.0

isSubConceptByName

public java.lang.Boolean isSubConceptByName(java.lang.String concept1,
                                            java.lang.String concept2)
Determines if concept1 is a subconcept of concept2 in the specified namespace. Concept1 and concept2 are names of Ontylog concepts.

Parameters:
concept1 - - a concept name
concept2 - - a concept name
Returns:
true if concept1 is a subconcept of concept2, false if concept1 isn't a subconcept of concept2 Returns null, if there is an exception.
Since:
DLBExt 1.0

isSubConceptByName

public java.util.Vector<java.lang.Boolean> isSubConceptByName(java.lang.String concept1,
                                                              java.util.Vector concepts_in)
Determines if concept1 is a subconcept of a collection of concepts in the specified namespace.

Parameters:
concept1 - - a concept name
concepts_in - a list of concept names
Returns:
a vector of Boolean variables indicating whether concept1 is a subconcept of each concept in the list
Since:
DLBExt 1.0

findConceptsByCode

public java.util.Vector<CodedEntry> findConceptsByCode(java.util.Vector<java.lang.String> conceptCodes_in)
Gets an array of Concept objects that represent the same concepts as the argument array of concept codes.

Parameters:
conceptCodes_in - a vector of concept codes
Returns:
a vector of Concept corresponding to the argument concept codes, with all attributes filled; it returns null, if there is an exception.
Since:
DLBExt 1.0

getAllConceptPropertyTypes

public java.util.Vector getAllConceptPropertyTypes()
Retrieves all concept property types.

Returns:
a vector of all supported property types. Returns an empty vector if there are no supported property type. Returns null, if there is an exception.
Since:
DLBExt 1.0

getConceptPropertyTypes

public java.util.Vector<java.lang.String> getConceptPropertyTypes()
Retrieves all concept property types within a given namespace.

Returns:
a vector of PropertyType in the namespace. Returns an empty vector if there are none. Returns null, if there is an exception.
Since:
DLBExt 1.0

getHistoryDates

public java.util.Vector getHistoryDates()
Gets all distinct dates in concept_history table.

Returns:
a vector of Date All distinct dates in concept_history table. Returns null, if there is an exception.
Since:
DLBExt 1.0

getConceptCreationDate

public java.util.Date getConceptCreationDate(java.lang.String code)
Gets the baseline date of creation of the specified concept.

Parameters:
code - concept code
Returns:
Date The baseline date of creation of inCode from either "Create" or "Split" edit actions. Returns null, if there is an exception.
Since:
DLBExt 1.0

getCreationDate

public java.util.Date getCreationDate(java.lang.String code)

getDescendantCodes

public java.util.Vector getDescendantCodes(java.lang.String inCode,
                                           boolean atBaseline,
                                           java.util.Date iBaselineDate_in,
                                           java.util.Date fBaselineDate_in)
Gets the descendant 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 final baseline date. If the value is false, the method searches for all descendant concepts, whether active or retired. The search is only applied to "split/merge" actions and the specified concept could be the descendant concept of itself.

Parameters:
inCode - The specified concept's code.
atBaseline - The boolean value to specify the search type.
iBaselineDate_in - initial baseline date
fBaselineDate_in - final baseline date
Returns:
a vector of String The returned concept codes which are the descendant concepts of inCode. Returns null, if there is an exception.
Since:
DLBExt 1.0

getCodeActionChildren

public java.util.Vector getCodeActionChildren(java.lang.String inCode,
                                              java.util.Date baselineDate_in)
Gets the descendant concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. The specified concept is included if it's not retired in the specified baseline date.

Parameters:
inCode - - The specified concept's code.
baselineDate_in - baseline date
Returns:
a vector of String The returned concept codes are the descendant concepts of inCode which are involved in "split or merge" actions that occurred in baselineDate. Returns null, if there is an exception.
Since:
DLBExt 1.0

getDescendantCodeActionDates

public java.util.Vector getDescendantCodeActionDates(java.lang.String inCode,
                                                     java.util.Date iBaselineDate_in,
                                                     java.util.Date fBaselineDate_in)
Gets the descendant concepts' CodeActionDate of the specified concept. A CodeActionDate contains a concept code and a baseline date. The method searches for all descendant concepts of the specified concept, whether active or retired. The search is only applied to the "split/merge" actions and the specified concept could be the descendant concept of itself.

Parameters:
inCode - - The specified concept's code.
iBaselineDate_in - initial baseline date
fBaselineDate_in - final baseline date
Returns:
a vector of CodeActionDate The returned CodeActionDates contain the descendant concepts of inCode and the correspond baseline dates. Returns null, if there is an exception.
Since:
DLBExt 1.0

getAncestorCodes

public java.util.Vector getAncestorCodes(java.lang.String inCode,
                                         boolean atBaseline,
                                         java.util.Date iBaselineDate_in,
                                         java.util.Date fBaselineDate_in)
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. The search is only applied to "split/merge" actions and the specified concept could be the ancestor concept of itself.

Parameters:
inCode - - The specified concept's code.
atBaseline - - The boolean value to specify the search type.
iBaselineDate_in - initial baseline date
fBaselineDate_in - final baseline date
Returns:
a vector of String The returned concept codes which are the ancestor concepts of inCode. Returns null, if there is an exception.
Since:
DLBExt 1.0

getAncestors

public java.util.Vector getAncestors(java.lang.String inCode)

getDescendants

public java.util.Vector getDescendants(java.lang.String inCode)

getCodeActionParents

public java.util.Vector getCodeActionParents(java.lang.String inCode,
                                             java.util.Date baselineDate_in)
Gets the ancestor concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. The specified concept is included if it's an ancestor of itself.

Parameters:
inCode - - The specified concept's code.
baselineDate_in - baseline date
Returns:
a vector of String The returned concept codes are the ancestor concepts of inCode which are involved in "split or merge" actions that occurred in baselineDate. Returns null, if there is an exception.
Since:
DLBExt 1.0

getAncestorCodeActionDates

public java.util.Vector getAncestorCodeActionDates(java.lang.String inCode,
                                                   java.util.Date iBaselineDate_in,
                                                   java.util.Date fBaselineDate_in)
Gets the ancestor concepts' CodeActionDate of the specified concept. A CodeActionDate contains a concept code and a baseline date. The method searches for all ancestor concepts of the specified concept, whether active or retired. The search is only applied to "split/merge" actions and the specified concept could be the ancestor concept of itself.

Parameters:
inCode - - The specified concept's code.
iBaselineDate_in - initial baseline date
fBaselineDate_in - final baseline date
Returns:
a vector of CodeActionDate The returned CodeActionDates contain the ancestor concepts of inCode and the correspond baseline dates. Returns null, if there is an exception.
Since:
DLBExt 1.0

getConceptEditActionDates

public java.util.Vector getConceptEditActionDates(java.lang.String code,
                                                  java.lang.String action)
Gets all dates in which a specified action takes place on the specified concept. The returned dates might not be distinct when the specified action is "split/merge".

Parameters:
code - concept code
action -
Returns:
a vector of Date All dates in which iAction takes place on inCode. Returns null, if there is an exception.
Since:
DLBExt 1.0

getConceptEditActionDates

public java.util.Vector getConceptEditActionDates(java.lang.String code,
                                                  int iAction)

getConceptEditAction

public java.util.Vector getConceptEditAction(java.lang.String inCode)
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.

Parameters:
inCode - - The specified concept's code.
Returns:
a vector of EditAction The returned EditActions contain all editing actions and the corresponding editing dates on inCode. Returns null, if there is an exception.
Since:
DLBExt 1.0

isConceptRetired

public boolean isConceptRetired(java.lang.String inCode)
Checks if the specified concept is retired or not.

Parameters:
inCode - - The specified concept's code.
Returns:
a boolean True - inCode is retired. False - inCode is active. Returns null, if there is an exception.
Since:
DLBExt 1.0

isRetired

public java.lang.Boolean isRetired(java.lang.String inCode)

isConceptEdited

public boolean isConceptEdited(java.lang.String inCode,
                               boolean mrg_splt,
                               java.util.Date iBaselineDate_in,
                               java.util.Date fBaselineDate_in)
Checks if the specified concept is edited or not during a date range. The check is depended on a boolean value. If the boolean value is true, the method only checks if the specified concept was merged or split in the date range. If the boolean value is false, the method checks if the specified concept was edited in any way in the date range.

Parameters:
inCode - - The specified concept's code.
mrg_splt - - True - only check for "merge or split" editing action. False - check for any editing action.
iBaselineDate_in - - The initial baseline date.
fBaselineDate_in - - The final baseline date.
Returns:
a boolean True - inCode is edited. False - inCode isn't edited. Returns null, if there is an exception.
Since:
DLBExt 1.0

isEdited

public java.lang.Boolean isEdited(java.lang.String inCode,
                                  boolean mrg_splt,
                                  java.util.Date iBaselineDate_in,
                                  java.util.Date fBaselineDate_in)

getNumberEditActions

public int getNumberEditActions(java.lang.String inCode,
                                java.util.Date baselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date.

Parameters:
inCode - - The specified concept's code.
baselineDate_in - - The specified baseline date.
Returns:
an int The number of editing actions on inCode registered in baselineDate. Returns null, if there is an exception.
Since:
DLBExt 1.0

getNumberEditActions

public int getNumberEditActions(java.lang.String inCode,
                                java.util.Date iBaselineDate_in,
                                java.util.Date fBaselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date.

Parameters:
inCode - - The specified concept's code.
iBaselineDate_in - initial baseline date
fBaselineDate_in - final baseline date
Returns:
an int The number of editing actions on inCode registered in baselineDate. Returns null, if there is an exception.
Since:
DLBExt 1.0

getConceptEditAction

public java.util.Vector<EditActionDate> getConceptEditAction(java.lang.String inCode,
                                                             java.util.Date baselineDate_in)
Gets all EditActionDate 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.

Parameters:
inCode - - The specified concept's code.
baselineDate_in - baseline date
Returns:
a vector of EditActionDate The returned EditActionDates contain all editing actions and the corresponding editing dates on inCode. Returns null, if there is an exception.
Since:
DLBExt 1.0

getLicense

public java.lang.String getLicense()
Gets all licenses from the server. If no condition exists, then pass in a empty String.

Returns:
Vector a vector of Strings describing the licenses Returns null, if there is an exception.
Since:
DLBExt 1.0

getAllLicenses

public java.util.Vector<java.lang.String> getAllLicenses()
Gets all licenses from the server. If no condition exists, then pass in a empty String.

Returns:
Vector a vector of Strings describing the licenses Returns null, if there is an exception.
Since:
DLBExt 1.0

getVocabularyVersion

public java.lang.String getVocabularyVersion(java.lang.String name)
Retrieves an array of ContentVersions which are the list of versions for the given namespace Id in the knowledgebase.

Parameters:
name -
Returns:
the ContentVersions of the given namespace Returns null, if there is an exception.
Since:
DLBExt 1.0

getVersions

public java.util.Vector getVersions()

getConceptChildRoots

public CodedEntry[] getConceptChildRoots()

getConceptChildRoots

public CodedEntry[] getConceptChildRoots(int ASD_index)

getConceptChildRoots

public CodedEntry[] getConceptChildRoots(int ASD_index,
                                         java.lang.String relationName,
                                         java.lang.String associationName)
Retrieves a vector of root concepts in the default coding system

Parameters:
ASD_index - attribute set descriptor index (0: no attributes; 1: all attributes)
relationName - relation name
associationName - association name
Returns:
a vector of root concepts in the default coding system with attributes specified by ASD_index
Since:
DLBExt 1.0

getFetchedRoles

public java.util.Vector getFetchedRoles(java.lang.String Concept_in,
                                        boolean isCode)
Gets the roles which have been retrieved for this concept.

Parameters:
Concept_in - the name of a concept, if isCode is false; it is the code of a concept, if isCode is true;
isCode - a boolean variable indicating whether Concept_in is a name or code
Returns:
a vector of the roles Returns null, if there is an exception.
Since:
DLBExt 1.0

getFetchedRoles

public java.util.Vector getFetchedRoles(java.lang.String codingSchemeName,
                                        java.lang.String Concept_in,
                                        boolean isCode)

getFetchedAssociations

public java.util.Vector<Role> getFetchedAssociations(java.lang.String codingSchemeName,
                                                     java.lang.String Concept_in,
                                                     boolean isCode,
                                                     java.lang.String relation)

getFetchedRoles

public java.util.Vector getFetchedRoles(java.lang.String Concept_in)

getNumberOfSpecifiedRoles

public int getNumberOfSpecifiedRoles(java.lang.String Concept_in)
Get the number of roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this Concept.

Parameters:
Concept_in - the name of an ontylog concept
Returns:
number of roles of the specified types Returns null, if there is an exception.
Since:
DLBExt 1.0

getFetchedInverseRoles

public java.util.Vector getFetchedInverseRoles(java.lang.String Concept_in)
Gets the inverse roles which have been retrieved for this concept, i.e. the roles of other concepts which have this concept as a value.

Parameters:
Concept_in - the name of an ontylog concept
Returns:
a vector of the inverse roles Returns null, if there is an exception.
Since:
DLBExt 1.0

getFetchedInverseRoles

public java.util.Vector getFetchedInverseRoles(java.lang.String Concept_in,
                                               boolean isCode)

getFetchedInverseRoles

public java.util.Vector<Role> getFetchedInverseRoles(java.lang.String codingSchemeName,
                                                     java.lang.String Concept_in,
                                                     boolean isCode)

getNumberOfSpecifiedInverseRoles

public int getNumberOfSpecifiedInverseRoles(java.lang.String Concept_in)
Get the number of inverse roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this Concept.

Parameters:
Concept_in - the name of an ontylog concept
Returns:
number of inverse roles of the specified types Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithNameMatching

public java.util.Vector findConceptsWithNameMatching(java.lang.String matchText,
                                                     int maxToReturn,
                                                     boolean synonyms)
Retrieves each concepts with a name (string identifier) that matches the argument pattern, based on the specified search options. Searches only concept names.

Parameters:
matchText - search target
maxToReturn - maximum number of matched concepts to return
synonyms - true, if synonyms are returned; false, otherwise
Returns:
a vector of Concept objects with names that match the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithNameMatching

public java.util.Vector findConceptsWithNameMatching(java.lang.String matchText,
                                                     int maxToReturn,
                                                     java.lang.String matchAlgorithm)

findConceptsWithNameMatching

public java.util.Vector findConceptsWithNameMatching(java.lang.String matchText,
                                                     int maxToReturn,
                                                     boolean synonyms,
                                                     java.lang.String matchAlgorithm)

findConceptWithSourceCodeMatching

public CodedEntry[] findConceptWithSourceCodeMatching(java.lang.String source,
                                                      java.lang.String code,
                                                      int limit)

findConceptsWithPropertyMatching

public java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String propType_in,
                                                                     java.lang.String pattern,
                                                                     int searchLimit)
Retrieves each concept with a property value that matches the argument pattern, based on the specified search options. Searches only concept names.

Parameters:
propType_in -
pattern - - the concept name pattern for searching
searchLimit - - the maximum numbe of matched concepts
Returns:
a vector of Concept objects with names that match the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithPropertyMatching

public java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String propType_in,
                                                                     java.lang.String pattern,
                                                                     int searchLimit,
                                                                     java.lang.String matchAlgorithm)

findConceptsWithPropertyMatching

public java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String codingSchemeName,
                                                                     java.lang.String propType_in,
                                                                     java.lang.String pattern,
                                                                     int searchLimit,
                                                                     java.lang.String matchAlgorithm)

findConceptsWithPropertyMatching

public java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String matchText,
                                                                     java.util.Vector property_vec,
                                                                     java.util.Vector restrictToProperties_vec,
                                                                     java.lang.String displayPropertyName,
                                                                     java.lang.String matchAlgorithm,
                                                                     int maxToReturn)
Retrieves each concept with a property value that matches the argument pattern, based on the specified search options. Searches only concept names.

Parameters:
matchText - search target
property_vec -
restrictToProperties_vec -
displayPropertyName -
matchAlgorithm - matching algorithm used
Returns:
a vector of Concept objects with names that match the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithPropertyMatching

public java.util.Vector<CodedEntry> findConceptsWithPropertyMatching(java.lang.String codingSchemeName,
                                                                     java.lang.String matchText,
                                                                     java.util.Vector property_vec,
                                                                     java.util.Vector restrictToProperties_vec,
                                                                     java.lang.String displayPropertyName,
                                                                     java.lang.String matchAlgorithm,
                                                                     int maxToReturn)

findConceptsWithDesignationMatching

public java.util.Vector findConceptsWithDesignationMatching(java.lang.String matchText,
                                                            int maxToReturn,
                                                            java.lang.String displayPropertyName,
                                                            boolean includeSynonyms,
                                                            java.lang.String matchAlgorithm)
Retrieves each concept with a designation value that matches the argument pattern, based on the specified search options. Searches only concept names.

Parameters:
matchText - search target
maxToReturn - maximum number of matched concepts to return
displayPropertyName - the name of the display property
includeSynonyms - false, if match preferred name only; false, otherwise
matchAlgorithm - matching algorithm used
Returns:
a vector of Concept objects with names that match the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithDesignationMatching

public java.util.Vector findConceptsWithDesignationMatching(java.lang.String matchText,
                                                            java.lang.String displayPropertyName,
                                                            boolean preferredOnly,
                                                            java.util.Vector sortByProperty_vec,
                                                            java.util.Vector source_vec,
                                                            java.lang.String matchAlgorithm,
                                                            int maxToReturn)
Retrieves each concept with a designation value that matches the argument pattern, based on the specified search options. Searches only concept names.

Parameters:
matchText - search target
displayPropertyName - the name of the display property
preferredOnly -
sortByProperty_vec -
source_vec - the set of sources to search within
matchAlgorithm - matching algorithm used
maxToReturn - maximum number of matched concepts to return
Returns:
a vector of Concept objects with names that match the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn)
"@since DLBExt 1.0

Parameters:
associationName -
matchText -
maxToReturn -

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn,
                                                                        java.lang.String matchAlgorithm)

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn,
                                                                        java.lang.String matchAlgorithm,
                                                                        java.util.Vector restricted_property_vec)

getRelation

public java.lang.String getRelation(java.lang.String codingSchemeName,
                                    java.lang.String associationName)

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String codingSchemeName,
                                                                        java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn,
                                                                        java.lang.String matchAlgorithm,
                                                                        java.util.Vector restricted_property_vec)

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn,
                                                                        java.lang.String matchAlgorithm,
                                                                        java.util.Vector restricted_property_vec,
                                                                        java.lang.String relationName)

findConceptsWithAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithAssociationMatching(java.lang.String codingSchemeName,
                                                                        java.lang.String associationName,
                                                                        java.lang.String matchText,
                                                                        int maxToReturn,
                                                                        java.lang.String matchAlgorithm,
                                                                        java.util.Vector restricted_property_vec,
                                                                        java.lang.String relationName)

findConceptsWithPropertyContaining

public java.util.Vector<CodedEntry> findConceptsWithPropertyContaining(java.lang.String propertyName,
                                                                       java.lang.String matchText,
                                                                       int searchLimit)
Retrieves each concept with a selected DTSPropertyType, if the concept DTSPropertyType value contains the argument pattern.

Parameters:
propertyName -
matchText -
searchLimit - the maximum number of matches to be returned
Returns:
a vector of concept names with a property value that contains the search pattern. An empty vector is returned when there are no property values that contain the pattern. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithRoleMatching

public java.util.Vector<CodedEntry> findConceptsWithRoleMatching(java.lang.String roleType_in,
                                                                 java.lang.String pattern,
                                                                 int searchLimit)
Retrieves each concept with a selected DTSRoleType, if the concept DTSRoleType value matches the argument pattern.

Parameters:
roleType_in - the input role type
pattern - - the concept role value pattern for searching
searchLimit - the maximum number of matches to be returned
Returns:
a vector of concept names with a role value that matches the pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithRoleMatching

public java.util.Vector<CodedEntry> findConceptsWithRoleMatching(java.lang.String roleType_in,
                                                                 java.lang.String pattern,
                                                                 int searchLimit,
                                                                 java.lang.String matchAlgorithm)

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit)
Retrieves each concept which is a value of a DTSRole with a selected DTSRoleType, if the concept name having the role matches the argument pattern.

Parameters:
roleType_in - the input role type
pattern - - the concept name pattern for searching
searchLimit - the maximum number of matches to be returned
Returns:
a vector of concept names which are the value of a role of the specified DTSRoleType, and the concept name having the role matches the search pattern. An empty vector is returned when there are no matches. Returns null, if there is an exception.
Since:
DLBExt 1.0

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit,
                                                                               java.lang.String matchAlgorithm)

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit,
                                                                               java.lang.String matchAlgorithm,
                                                                               java.util.Vector restricted_property_vec)

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String codingSchemeName,
                                                                               java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit,
                                                                               java.lang.String matchAlgorithm,
                                                                               java.util.Vector restricted_property_vec)

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit,
                                                                               java.lang.String matchAlgorithm,
                                                                               java.util.Vector restricted_property_vec,
                                                                               java.lang.String relationName)

findConceptsWithInverseAssociationMatching

public java.util.Vector<CodedEntry> findConceptsWithInverseAssociationMatching(java.lang.String codingSchemeName,
                                                                               java.lang.String roleType_in,
                                                                               java.lang.String pattern,
                                                                               int searchLimit,
                                                                               java.lang.String matchAlgorithm,
                                                                               java.util.Vector restricted_property_vec,
                                                                               java.lang.String relationName)

getAllPropertyTypes

public PropertyType[] getAllPropertyTypes()
Gets all PropertyType in a given namespace

Returns:
all PropertyType objects
Since:
DLBExt 1.0

getAllRoleTypes

public RoleType[] getAllRoleTypes()
Gets all RoleType

Returns:
all RoleType objects
Since:
DLBExt 1.0

getConcepts

public CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in,
                                int ASD_index)
Gets concepts matching a given sets of concept names in a byte array

Parameters:
conceptNames_in - concept names
ASD_index - attribute set descriptor index
Returns:
concepts matching a given sets of concept names in a byte array
Since:
DLBExt 1.0

getRoleTypeByName

public RoleType getRoleTypeByName(java.lang.String rolename)
Gets RoleType by name .

Parameters:
rolename - role name
Returns:
RoleType matches with a given role type name
Since:
DLBExt 1.0

getPropertyTypeByName

public PropertyType getPropertyTypeByName(java.lang.String propertyName)
Gets PropertyType by name

Parameters:
propertyName - property name
Returns:
PropertyType matches with a given property type name
Since:
DLBExt 1.0

findConcept

public CodedEntry findConcept(java.lang.String conceptname)
Finds concept by name

Parameters:
conceptname - concept name
Returns:
a Concept instance in a byte array
Since:
DLBExt 1.0

findConcept

public CodedEntry findConcept(java.lang.String conceptname,
                              boolean allAttributes)

findConceptByName

public CodedEntry findConceptByName(java.lang.String conceptname,
                                    int ASD_index)

findConceptByName

public CodedEntry findConceptByName(java.lang.String conceptname,
                                    java.lang.String displayPropertyName)
"@since DLBExt 1.0

Parameters:
conceptname -
displayPropertyName -

getFetchedConceptAssociations

public java.util.Vector getFetchedConceptAssociations(java.lang.String code)
getFetched Concept Associations of an Concept instance

Parameters:
code -
Returns:
a gov.nih.nci.lexrpc.client.Concept instance
Since:
DLBExt 1.0

getFetchedConceptAssociations

public java.util.Vector<ConceptAssociation> getFetchedConceptAssociations(java.lang.String codingSchemeName,
                                                                          java.lang.String code)

getValidPropertyNames

public java.util.Vector<java.lang.String> getValidPropertyNames(java.util.Vector<java.lang.String> propertynames)
"@since DLBExt 1.0

Parameters:
propertynames -

getConcept

public CodedEntry getConcept(java.lang.String inputvalue,
                             boolean inputcode,
                             int ASD_index)
Searches concepts that match with a specific search criteria (complex search).

Parameters:
inputvalue -
inputcode -
ASD_index - AttributeSetDescriptor index
Returns:
concepts that match with a specific search criteria in a byte array
Since:
DLBExt 1.0

getConcept

public CodedEntry getConcept(java.lang.String inputvalue,
                             boolean inputcode,
                             java.lang.String displayPropertyName)
getConcept

Parameters:
inputvalue -
inputcode -
displayPropertyName -
Since:
DLBExt 1.0

getConcepts

public CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in)
Gets concepts matching a given sets of concept names in a byte array

Parameters:
conceptNames_in - concept names
Returns:
concepts matching a given sets of concept names in a byte array .1
Since:
DLBExt 1.0

getConcepts

public CodedEntry[] getConcepts(java.util.Vector<java.lang.String> conceptNames_in,
                                boolean allAttributes)

getConcepts

public CodedEntry[] getConcepts(java.util.Vector<java.lang.String> inputvalues,
                                boolean inputcode,
                                int ASD_index)

getDirectSubs

public CodedEntry[] getDirectSubs(java.lang.String conceptname,
                                  boolean allAttributes)
Gets subconcepts of a given DescLogicConcept

Parameters:
conceptname -
allAttributes -
Returns:
concepts matching a given sets of concept names in a byte array .1
Since:
DLBExt 1.0

getDirectSubs

public CodedEntry[] getDirectSubs(java.lang.String conceptname)

getDirectSubs

public CodedEntry[] getDirectSubs(java.lang.String conceptname,
                                  int ASD_index)

getDirectSubs

public CodedEntry[] getDirectSubs(java.lang.String inputvalue,
                                  boolean inputcode,
                                  int ASD_index)

getDirectSups

public CodedEntry[] getDirectSups(java.lang.String conceptname,
                                  boolean allAttributes)
Gets direct superconcepts.

Parameters:
conceptname -
allAttributes -
Returns:
concepts matching a given sets of concept names in a byte array .1
Since:
DLBExt 1.0

getDirectSups

public CodedEntry[] getDirectSups(java.lang.String conceptname)

getDirectSups

public CodedEntry[] getDirectSups(java.lang.String conceptname,
                                  int ASD_index)

getDirectSups

public CodedEntry[] getDirectSups(java.lang.String inputvalue,
                                  boolean inputcode,
                                  int ASD_index)

hasChildren

public java.lang.Boolean hasChildren(java.lang.String codingScheme,
                                     java.lang.String code)
Checks if a concept has any subconcepts.

Parameters:
codingScheme - coding scheme name
code - coding scheme code
Returns:
Boolean variable, set to TRUE if it is; to FALSE, otherwise
Since:
DLBExt 1.0

hasParents

public java.lang.Boolean hasParents(java.lang.String codingScheme,
                                    java.lang.String code)
Checks if a concept has any superconcepts.

Parameters:
codingScheme - coding scheme name
code - coding scheme code
Returns:
Boolean variable, set to TRUE if it is; to FALSE, otherwise

findConceptByCode

public CodedEntry findConceptByCode(java.lang.String conceptcode,
                                    boolean allAttributes)
Finds the Concept instance for a given concept code.

Parameters:
conceptcode -
allAttributes -
Returns:
the Concept instance for a given concept code
Since:
DLBExt 1.0

findConceptByCode

public CodedEntry findConceptByCode(java.lang.String code)

findConceptByCode

public CodedEntry findConceptByCode(java.lang.String code,
                                    int ASD_index)
findConceptByCode

Parameters:
code - concept code
ASD_index -

findConceptByCode

public CodedEntry findConceptByCode(java.lang.String code,
                                    java.lang.String displayPropertyName)
findConceptByCode

Parameters:
code - concept code
displayPropertyName -

getConcept

public CodedEntry getConcept(java.lang.String codingSchemeName,
                             java.lang.String code,
                             boolean isCode,
                             int ASD_index)
getConcept

Parameters:
codingSchemeName -
code - concept code
isCode -
ASD_index -

getSupportedConceptStatus

public java.util.Vector getSupportedConceptStatus()
getSupportedConceptStatus


getTree

public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
                                                       boolean direction,
                                                       int asdIndex)
Returns a root byte array based on the concept provided and limits the number of levels of child concepts returned. The root byte array contains the child concepts to the level supplied.

Parameters:
rootname - - the concept name to use as the root of the tree.
direction - - Indicates the direction of the tree to create, either to the root or to the leaf from the concept provided.
asdIndex -
Returns:
the root node byte array of a tree containing a collection of children
Since:
DLBExt 1.0, dlbExt 1.0

getTree

public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
                                                       boolean direction,
                                                       int level,
                                                       int asdIndex)

getTree

public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
                                                       boolean direction,
                                                       int levels,
                                                       int asdIndex,
                                                       boolean isaflag,
                                                       java.util.Vector rolenames)

getTree

public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
                                                       boolean direction,
                                                       int levels,
                                                       int ASD_index,
                                                       java.lang.String isaName,
                                                       java.util.Vector rolenames)

codeExists

public java.lang.Boolean codeExists(java.lang.String code)
Parameters:
code - concept code
Since:
DLBExt 1.0

areCodesRelated

public java.lang.Boolean areCodesRelated(java.lang.String code1,
                                         java.lang.String code2,
                                         java.lang.String associationName)
Checks if two codes are related through a particular association.

Parameters:
code1 - concept code
code2 - concept code
associationName - association name
Returns:
Boolean variable, sets to TRUE if related; to FALSE, otherwise
Since:
DLBExt 1.0

getConceptHistory

public HistoryRecord[] getConceptHistory(java.lang.String code,
                                         java.util.Date beginDate,
                                         java.util.Date endDate)
Gets HistoryRecord corresponding to a given concept code.

Parameters:
code - concept code
beginDate - begin date
endDate - end date
Since:
DLBExt 1.0

getConceptCreateVersionDate

public java.util.Date getConceptCreateVersionDate(java.lang.String code)
Gets concept create version Dates.

Parameters:
code - concept code
Returns:
a vector containing all concept create version Dates
Since:
DLBExt 1.0

getHistoryStart

public java.util.Date getHistoryStart()
getHistoryStart

Since:
DLBExt 1.0

getHistoryStartDate

public java.util.Date getHistoryStartDate()
getHistoryStartDate

Since:
DLBExt 1.0

getHistoryStartBaselineDate

public java.util.Date getHistoryStartBaselineDate()
getHistoryStartBaselineDate

Since:
DLBExt 1.0

getHistoryEnd

public java.util.Date getHistoryEnd()
getHistoryEnd

Since:
DLBExt 1.0

getHistoryEndDate

public java.util.Date getHistoryEndDate()
getHistoryEndDate

Since:
DLBExt 1.0

getHistoryEndBaselineDate

public java.util.Date getHistoryEndBaselineDate()
Since:
DLBExt 1.0

getVocabularyVersions

public java.util.Vector getVocabularyVersions(java.lang.String vocabularyname)
Parameters:
vocabularyname -
Since:
DLBExt 1.0

getVocabularyTags

public java.util.Vector getVocabularyTags(java.lang.String vocabularyname,
                                          java.lang.String version)
Gets available coding scheme tags for a given coding scheme name and version.

Parameters:
vocabularyname - coding scheme name
version - coding scheme version
Since:
DLBExt 1.0

getVocabularyNames

public java.util.Vector<java.lang.String> getVocabularyNames()
Gets available vocabulary (i.e., coding scheme) names.

Returns:
a Vector containing all available vocabulary (i.e., coding scheme) names.
Since:
DLBExt 1.0

codingSchemeExists

public boolean codingSchemeExists(java.lang.String codingSchemeName)
Checks if a coding scheme exists.

Parameters:
codingSchemeName -
Returns:
true, if the coding scheme exists; false, otherwise
Since:
DLBExt 1.0

dumpHistoryRecord

public void dumpHistoryRecord(java.io.PrintWriter pw,
                              HistoryRecord e)
dump history records (for debugging use)

Parameters:
pw - an instance of PrintWriter
e - an instance of HistoryRecord
Since:
DLBExt 1.0

printTree

public void printTree(java.io.PrintWriter treeWriter,
                      javax.swing.tree.DefaultMutableTreeNode root)
Print a tree (UserObject is a Concept instance).

Parameters:
treeWriter - an instance of PrintWriter
root - The root (DefaultMutableTreeNode) of the tree
Since:
DLBExt 1.0

outputTree

public void outputTree(java.io.PrintWriter pw,
                       javax.swing.tree.DefaultMutableTreeNode dmtn)
Ouptut a tree

Parameters:
pw - an instance of PrintWriter
dmtn - an instance of DefaultMutableTreeNode
Since:
DLBExt 1.0

outputTree

public void outputTree(java.io.PrintWriter pw,
                       javax.swing.tree.DefaultMutableTreeNode dmtn,
                       int level)
Ouptut a tree

Parameters:
pw - an instance of PrintWriter
dmtn - an instance of DefaultMutableTreeNode
level - level
Since:
DLBExt 1.0

outputProperties

public void outputProperties(java.io.PrintWriter pw,
                             CodedEntry ce)

getRootConcepts

public CodedEntry[] getRootConcepts()
Gets root concepts

Returns:
a Vector containing root concept instances
Since:
DLBExt 1.0

getRootConcepts

public CodedEntry[] getRootConcepts(boolean allAttributes)

getRootConcepts

public CodedEntry[] getRootConcepts(int ASD_index)

getMatches

public java.util.Vector<CodedEntry> getMatches(java.lang.String pattern,
                                               int matchLimit)

getConceptStatus

public java.lang.String getConceptStatus(java.lang.String conceptname)

hasStatus

public java.lang.Boolean hasStatus(java.lang.String conceptname)

isValidHistoryDate

public boolean isValidHistoryDate(java.util.Date historydate)

getPropertyNames

public java.util.Vector getPropertyNames(java.lang.String conceptname)
Overrides:
getPropertyNames in class DLBWrapper

findRelatedCodes

public java.util.Vector<java.lang.String> findRelatedCodes(java.lang.String code,
                                                           java.lang.String relation,
                                                           boolean direction)
Find relationship (e.g., role) sources and targets

Parameters:
code - concept code
relation - relationship name
direction - true: code is source; false: code is target
Since:
DLBExt 1.0

getAllQualifierTypes

public java.util.Vector<java.lang.String> getAllQualifierTypes()

getAllConceptPropertyQualifierTypes

public java.util.Vector<java.lang.String> getAllConceptPropertyQualifierTypes()

getConceptPropertyQualifierTypes

public java.util.Vector<java.lang.String> getConceptPropertyQualifierTypes()

getAllConceptAssociationQualifierTypes

public java.util.Vector<java.lang.String> getAllConceptAssociationQualifierTypes()

getConceptAssociationQualifierTypes

public java.util.Vector<java.lang.String> getConceptAssociationQualifierTypes()

getAllRoleTypesInNamespace

public RoleType[] getAllRoleTypesInNamespace()

getConceptHistory

public ConceptHistory getConceptHistory(java.lang.String conceptcode)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int searchLimit)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int max,
                                   java.lang.String matchAlgorithm)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String codingSchemeName,
                                   java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex,
                                   java.lang.String matchAlgorithm)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String codingSchemeName,
                                   java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex,
                                   java.lang.String matchAlgorithm)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex,
                                   java.lang.String matchAlgorithm,
                                   java.util.Vector restricted_property_vec)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String codingSchemeName,
                                   java.lang.String pattern,
                                   int limit,
                                   int matchOption,
                                   java.lang.String matchType,
                                   int ASDIndex,
                                   java.lang.String matchAlgorithm,
                                   java.util.Vector restricted_property_vec)

getMatchedConceptCount

public int getMatchedConceptCount(java.lang.String pattern,
                                  int matchOption,
                                  java.lang.String matchType,
                                  java.lang.String matchAlgorithm,
                                  java.util.Vector restricted_property_vec)

getMatchedConceptCount

public int getMatchedConceptCount(java.lang.String codingSchemeName,
                                  java.lang.String pattern,
                                  int matchOption,
                                  java.lang.String matchType,
                                  java.lang.String matchAlgorithm,
                                  java.util.Vector restricted_property_vec)

getRoles

public java.util.Vector<Role> getRoles(CodedEntry ce)

getRoles

public java.util.Vector<Role> getRoles(java.lang.String codingScheme,
                                       java.lang.String version,
                                       java.lang.String tag,
                                       CodedEntry ce)
Overrides:
getRoles in class DLBWrapper
Parameters:
codingScheme - a coding scheme name
version - a coding scheme version

getInverseRoles

public java.util.Vector getInverseRoles(CodedEntry ce)

getInverseRoles

public java.util.Vector getInverseRoles(java.lang.String codingScheme,
                                        java.lang.String version,
                                        java.lang.String tag,
                                        CodedEntry ce)
Overrides:
getInverseRoles in class DLBWrapper

getConceptAssociations

public java.util.Vector getConceptAssociations(CodedEntry ce)

getConceptAssociations

public java.util.Vector getConceptAssociations(java.lang.String codingScheme,
                                               java.lang.String version,
                                               java.lang.String tag,
                                               CodedEntry ce)
Overrides:
getConceptAssociations in class DLBWrapper
Parameters:
codingScheme - a coding scheme name
version - a coding scheme version

getInverseConceptAssociations

public java.util.Vector getInverseConceptAssociations(CodedEntry ce)

getInverseConceptAssociations

public java.util.Vector getInverseConceptAssociations(java.lang.String codingScheme,
                                                      java.lang.String version,
                                                      java.lang.String tag,
                                                      CodedEntry ce)
Overrides:
getInverseConceptAssociations in class DLBWrapper
Parameters:
codingScheme - a coding scheme name
version - a coding scheme version

outputConcept

public void outputConcept(java.io.PrintWriter pw,
                          CodedEntry ce)

getRoleTypeById

public RoleType getRoleTypeById(int roleId)

getPropertyTypeById

public PropertyType getPropertyTypeById(int propertyId)

getSupportedSources

public java.util.Vector getSupportedSources()

getSupportedContext

public java.util.Vector getSupportedContext()
Returns a vector of the names of org.LexGrid.naming.SupportedContext for the default coding scheme.

Returns:
a vector of the names of org.LexGrid.naming.SupportedContext for the default coding scheme.
Since:
DLBExt 1.0

getSupportedContextCount

public int getSupportedContextCount()

findConceptsWithSourceCodeMatching

public java.util.Vector<CodedEntry> findConceptsWithSourceCodeMatching(java.lang.String sourceAbbr,
                                                                       java.lang.String code,
                                                                       int limit)

findConceptsWithSourceCodeMatching

public java.util.Vector<CodedEntry> findConceptsWithSourceCodeMatching(java.lang.String codingSchemeName,
                                                                       java.lang.String sourceAbbr,
                                                                       java.lang.String code,
                                                                       int limit)

getRelatedConcepts

public java.util.Vector getRelatedConcepts(java.lang.String conceptCode,
                                           java.lang.String associationName)

getRelatedConcepts

public java.util.Vector getRelatedConcepts(java.lang.String conceptCode,
                                           boolean direction,
                                           java.lang.String associationName)

getRelatedConcepts

public java.util.Vector<CodedEntry> getRelatedConcepts(java.lang.String conceptCode,
                                                       boolean direction,
                                                       java.lang.String associationName,
                                                       int ASD_Index)

getRelatedConceptsBySource

public java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode,
                                                               java.lang.String associationName,
                                                               java.lang.String sourceAbbr)

getRelatedConceptsBySource

public java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode,
                                                               java.lang.String associationName,
                                                               java.lang.String sourceAbbr,
                                                               int ASD_Index)

getRelatedConceptsBySource

public java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode,
                                                               boolean direction,
                                                               java.lang.String associationName,
                                                               java.lang.String sourceAbbr)

getRelatedConceptsBySource

public java.util.Vector<CodedEntry> getRelatedConceptsBySource(java.lang.String conceptCode,
                                                               boolean direction,
                                                               java.lang.String associationName,
                                                               java.lang.String sourceAbbr,
                                                               int ASD_Index)

getSupportedAssociationNames

public java.util.Vector getSupportedAssociationNames()

getSupportedConceptAssociationNames

public java.util.Vector getSupportedConceptAssociationNames()

getSupportedConceptAssociationNames

public java.util.Vector getSupportedConceptAssociationNames(java.lang.String codingSchemeName)

getSupportedRoleNames

public java.util.Vector<java.lang.String> getSupportedRoleNames()

getConceptAssociationTypes

public java.util.Vector getConceptAssociationTypes()

getAllAssociationTypes

public java.util.Vector getAllAssociationTypes()

getAllConceptAssociationTypes

public java.util.Vector getAllConceptAssociationTypes()

getSupportedPropertyQualifiers

public java.util.Vector getSupportedPropertyQualifiers()

getDefinitionCollectionbyCode

public java.util.Vector getDefinitionCollectionbyCode(java.lang.String vocabularyName,
                                                      java.lang.String code)

getSemanticTypeCollectionbyCode

public java.util.Vector getSemanticTypeCollectionbyCode(java.lang.String vocabularyName,
                                                        java.lang.String code)

getPropertyCollectionbyCode

public java.util.Vector getPropertyCollectionbyCode(java.lang.String vocabularyName,
                                                    java.lang.String code)

getAtomCollectionbyCode

public java.util.Vector getAtomCollectionbyCode(java.lang.String vocabularyName,
                                                java.lang.String code)

getRoleCollectionbyCode

public java.util.Vector getRoleCollectionbyCode(java.lang.String vocabularyName,
                                                java.lang.String code)

getInverseRoleCollectionbyCode

public java.util.Vector getInverseRoleCollectionbyCode(java.lang.String vocabularyName,
                                                       java.lang.String code)

getAssociationCollectionbyCode

public java.util.Vector getAssociationCollectionbyCode(java.lang.String vocabularyName,
                                                       java.lang.String code)

getInverseAssociationCollectionbyCode

public java.util.Vector getInverseAssociationCollectionbyCode(java.lang.String vocabularyName,
                                                              java.lang.String code)

getHistoryCollectionbyCode

public java.util.Vector<EditActionDate> getHistoryCollectionbyCode(java.lang.String vocabularyName,
                                                                   java.lang.String code)

isAssociationSupported

public boolean isAssociationSupported(java.lang.String name)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String scheme,
                                   java.lang.String searchTerm,
                                   int limit,
                                   java.lang.String source,
                                   boolean cui,
                                   boolean shortResult,
                                   boolean score,
                                   int ASDIndex)

searchConcepts

public CodedEntry[] searchConcepts(java.lang.String scheme,
                                   java.lang.String searchTerm,
                                   int limit,
                                   java.lang.String source,
                                   boolean cui,
                                   boolean shortResult,
                                   boolean score)

getAvailableMetaDataURNs

public java.util.Vector getAvailableMetaDataURNs()

getMetadataProperties

public NameAndValue[] getMetadataProperties(java.lang.String codingSchemeURN)

stringToDate

public static java.util.Date stringToDate(java.lang.String aString)

stringToDate

public static java.util.Date stringToDate(java.lang.String aString,
                                          java.lang.String format)

findConceptsWithSiloMatching

public java.util.Vector findConceptsWithSiloMatching(java.lang.String searchTerm,
                                                     int limit)

fetchTermAssociations

public java.util.Vector fetchTermAssociations(java.lang.String code)

getRelatedConceptCodes

public java.util.Vector getRelatedConceptCodes(java.lang.String code,
                                               java.lang.String associationName,
                                               java.lang.String sourceAbbr)

getRelatedConceptCodes

public java.util.Vector getRelatedConceptCodes(java.lang.String code,
                                               java.lang.Boolean direction,
                                               java.lang.String associationName,
                                               java.lang.String sourceAbbr)


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