com.apelon.dts.client.concept
Class ThesaurusConceptQuery
java.lang.Object
com.apelon.apelonserver.client.BasicQuery
com.apelon.dts.client.attribute.QualifierTypeQuery
com.apelon.dts.client.attribute.PropertyTypeQuery
com.apelon.dts.client.concept.BaseConceptQuery
com.apelon.dts.client.concept.BaseLocalConceptQuery
com.apelon.dts.client.concept.ThesaurusConceptQuery
public abstract class ThesaurusConceptQuery
- extends BaseLocalConceptQuery
A ThesaurusConceptQuery
class provides access to thesaurus
concepts. Thesaurus concepts may reside in an externally defined UMLS
namespace or locally defined thesaurus namespace. A local namespace can be
updated, so write access is provided to add, update, and delete concepts.
If you have two instances of ThesaurusConceptQuery and you would like to share the
listeners between them, then you can code something like this.
ThesaurusConceptQuery tcq1 = null;
ThesaurusConceptQuery tcq2 = null;
// Initialization code for tcq1 and tcq2
tcq2.addConceptListener(tcq1.getConceptListener());
// Now any event from tcq2 will be available to tcq1 listeners
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
- Since:
- DTS 3.0.0
- Version:
- DTS 3.3.0
- Author:
- Apelon, Inc.
Methods inherited from class com.apelon.dts.client.concept.BaseConceptQuery |
addConceptListener, addProperty, addSynonym, deleteProperty, deleteSynonym, findConceptByCode, findConceptById, findConceptByName, findConceptsByCode, findConceptsById, findConceptsByName, fireConceptAction, getAllConceptPropertyTypes, getConceptListener, getConceptPropertyTypes, getNamespaceQuery, removeConceptListener, updateProperty, updateSynonym |
Methods inherited from class com.apelon.dts.client.attribute.QualifierTypeQuery |
addKBTypeListener, addQualifierType, deleteQualifierType, findQualifierTypeByCode, findQualifierTypeById, findQualifierTypeByName, fireKBTypeAction, getAllConceptAssociationQualifierTypes, getAllConceptPropertyQualifierTypes, getAllQualifierTypes, getAllTermAssociationQualifierTypes, getAllTermPropertyQualifierTypes, getConceptAssociationQualifierTypes, getConceptPropertyQualifierTypes, getKBTypeListener, getTermAssociationQualifierTypes, getTermPropertyQualifierTypes, removeKBTypeListener, updateQualifierType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createInstance
public static ThesaurusConceptQuery createInstance(ServerConnection sc)
throws IllegalArgumentException
- Creates an instance of ThesaurusConceptQuery.
Depending on the type of ServerConnection object passed in the
argument, the server may be local(JDBC), socket, or another implementation.
- Parameters:
sc
- the type of server connection
- Returns:
- the created ThesaurusConceptQuery
- Throws:
IllegalArgumentException
- if a null server connection is passed- See Also:
ServerConnectionJDBC
,
ServerConnectionSocket
createInstance
public static ThesaurusConceptQuery createInstance(ServerConnection sc,
boolean isValidating)
throws IllegalArgumentException
- Creates an instance of ThesaurusConceptQuery.
Depending on the type of ServerConnection object passed in the
argument, the server may be local(JDBC), socket, or another implementation.
The second argument is a boolean value for XML validation.
- Parameters:
sc
- the type of server connectionisValidating
- a boolean value. It is true if XML needs to
be validated, otherwise it is false.
- Returns:
- the created ThesaurusConceptQuery
- Throws:
IllegalArgumentException
- if a null server connection is passed- See Also:
ServerConnectionJDBC
,
ServerConnectionSocket
Copyright © 2011. All Rights Reserved.