|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.BaseOntylogConceptQuery
com.apelon.dts.client.concept.OntylogClassQuery
public abstract class OntylogClassQuery
OntylogClassQueryServer supports queries on subconcept
relationships within an Ontylog concept hierarchy. Ontylog concepts reside
in a namespace provided by subscription from Apelon, or loaded from a TDE
database.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
| Field Summary |
|---|
| Fields inherited from class com.apelon.dts.client.concept.BaseConceptQuery |
|---|
conceptListener |
| Fields inherited from class com.apelon.dts.client.attribute.QualifierTypeQuery |
|---|
kbtypeListener |
| Fields inherited from class com.apelon.apelonserver.client.BasicQuery |
|---|
ADMIN, queryHeader |
| Method Summary | |
|---|---|
static OntylogClassQuery |
createInstance(ServerConnection sc)
Creates an instance of OntylogClassQuery. |
static OntylogClassQuery |
createInstance(ServerConnection sc,
boolean isValidating)
Creates an instance of OntylogClassQueryServer. |
OntylogConcept[] |
getSubConcepts(OntylogConcept concept,
ConceptAttributeSetDescriptor dtsAsd)
Gets all the subconcepts of the concept argument with attributes filled in according to the ConceptAttributeSetDescriptor. |
boolean |
isSubConcept(OntylogConcept concept1,
OntylogConcept concept2)
Determines if concept1 is a subconcept of concept2. |
boolean[] |
isSubConcept(OntylogConcept concept1,
OntylogConcept[] concepts)
Determines if concept1 is a subconcept of an array of concepts. |
boolean |
isSubConceptByCode(String concept1,
String concept2,
int namespaceId)
Determines if concept1 is a subconcept of concept2. |
boolean |
isSubConceptById(int conceptId1,
int conceptId2,
int namespaceId)
Determines if concept1 is a subconcept of concept2. |
boolean[] |
isSubConceptByName(String concept1,
String[] concepts,
int namespaceId)
Determines if concept1 is a subconcept of concepts. |
boolean |
isSubConceptByName(String concept1,
String concept2,
int namespaceId)
Determines if concept1 is a subconcept of concept2 in the specified namespace. |
| Methods inherited from class com.apelon.dts.client.concept.BaseOntylogConceptQuery |
|---|
addRoleType, assertIsNotNull, deleteRoleType, deleteRoleType, fetchParentReferences, fetchRightIdentityReferences, findRoleTypeByCode, findRoleTypeById, findRoleTypeByName, getAllKinds, getAllRoleTypes, getKinds, getResponse, getRoleTypes, isRoleTypeUsed, updateRoleType |
| 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.PropertyTypeQuery |
|---|
addPropertyType, buildPropertyTypes, deletePropertyType, findPropertyTypeByCode, findPropertyTypeById, findPropertyTypeByName, isPropertyTypeUsed, updatePropertyType |
| Methods inherited from class com.apelon.apelonserver.client.BasicQuery |
|---|
executeQuery, executeQueryNoParse, getServerConnection, initializeDtds, initializeDtds, ping, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OntylogClassQuery createInstance(ServerConnection sc)
throws IllegalArgumentException
sc - the type of server connection
IllegalArgumentException - if a null server connection is passedServerConnectionJDBC,
ServerConnectionSocket
public static OntylogClassQuery createInstance(ServerConnection sc,
boolean isValidating)
throws IllegalArgumentException
sc - the type of server connectionisValidating - a boolean value. It is true if XML needs to
be validated, otherwise it is false.
IllegalArgumentException - if a null server connection is passedServerConnectionJDBC,
ServerConnectionSocket
public boolean isSubConcept(OntylogConcept concept1,
OntylogConcept concept2)
throws DTSException
concept1 - an Ontylog conceptconcept2 - an Ontylog concept
true if concept1 is a subconcept of concept2,
false if concept1 isn't a subconcept of concept2
DTSException - if any error occurs in the method
public boolean[] isSubConcept(OntylogConcept concept1,
OntylogConcept[] concepts)
throws DTSException
concept1 - an Ontylog conceptconcepts - an array of Ontylog concepts
DTSException - if any error occurs in the method
public boolean isSubConceptByName(String concept1,
String concept2,
int namespaceId)
throws DTSException
concept1 - a concept nameconcept2 - a concept namenamespaceId - namespace ID of the two Ontylog concepts
true if concept1 is a subconcept of concept2,
false if concept1 isn't a subconcept of concept2
DTSException - if any error occurs in the method
public boolean isSubConceptById(int conceptId1,
int conceptId2,
int namespaceId)
throws DTSException
conceptId1 - a concept IDconceptId2 - a concept IDnamespaceId - namespace ID of the two Ontylog concepts
true if concept1 is a subconcept of concept2,
false if concept1 isn't a subconcept of concept2
DTSException - if any error occurs in the method
public boolean isSubConceptByCode(String concept1,
String concept2,
int namespaceId)
throws DTSException
concept1 - a concept codeconcept2 - a concept codenamespaceId - namespace ID of the two Ontylog concepts
true if concept1 is a subconcept of concept2,
false if concept1 isn't a subconcept of concept2
DTSException - if any error occurs in the method
public boolean[] isSubConceptByName(String concept1,
String[] concepts,
int namespaceId)
throws DTSException
concept1 - a concept nameconcepts - an array of concept namesnamespaceId - namespace ID of the Ontylog concepts
DTSException - if any error occurs in the method
public OntylogConcept[] getSubConcepts(OntylogConcept concept,
ConceptAttributeSetDescriptor dtsAsd)
throws DTSException
concept - a conceptdtsAsd - a ConceptAttributeSetDescriptor
DTSException - if any error occurs in the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||