|
||||||||||
| 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.classifier.ClassifyDetailsQuery
public abstract class ClassifyDetailsQuery
In DTS, an Ontylog Extension namespace can be classified. This class can be used to get the details about classification for such a namespace.
It provides methods to retreive following details for a namespace:
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
| Field Summary |
|---|
| Fields inherited from class com.apelon.apelonserver.client.BasicQuery |
|---|
ADMIN, queryHeader |
| Constructor Summary | |
|---|---|
protected |
ClassifyDetailsQuery()
|
protected |
ClassifyDetailsQuery(boolean isValidating)
|
| Method Summary | |
|---|---|
static ClassifyDetailsQuery |
createInstance(ServerConnection sc)
Creates an instance of ClassifyDetailsQuery. |
static ClassifyDetailsQuery |
createInstance(ServerConnection sc,
boolean isValidating)
Creates an instance of ClassifyDetailsQuery. |
ClassifyDetail |
getClassifyDetail(int namespaceId)
This can be used to get the classification details for an Ontylog Extension namespace. |
ClassifyCycleError[] |
getCycleErrors(int namespaceId)
This can be used to get the classification Cycle Errors for an Ontylog Extension namespace. |
ClassifyEquivError[] |
getEqErrors(int namespaceId)
This can be used to get the classification Equivalency Errors for an Ontylog Extension namespace. |
OntylogConcept[] |
getNoKindConcepts(int namespaceId)
This can be used to get the concepts with no Kind for an Ontylog Extension namespace. |
OntylogConcept[] |
getNoParentConcepts(int namespaceId)
This can be used to get the concepts with no parent (defining concept) for an Ontylog Extension namespace. |
| 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 |
| Constructor Detail |
|---|
protected ClassifyDetailsQuery()
protected ClassifyDetailsQuery(boolean isValidating)
| Method Detail |
|---|
public static ClassifyDetailsQuery createInstance(ServerConnection sc)
throws IllegalArgumentException
ClassifyDetailsQuery. Depending on the
type of ServerConnection object passed in the argument, the server may be
local (JDBC), socket, or another implementation. When using a socket
connection, the Apelon DTS server must be configured with the following
query server to support ClassifyDetailsQuery:
com.apelon.dts.server.ClassifyDetailsServer
ServerConnectionJDBC scJDBC = new ServerConnectionJDBC(user, password,
host, port, instance);
ClassifyDetailsQuery classifyDetailsQuery =
ClassifyDetailsQuery.createInstance(scJDBC);
sc.setQueryServer(Class.forName("com.apelon.dts.server.ClassifyDetailsServer"),
DTSHeader.CLASSIFYDETAILSYQUERY_HEADER);
sc - the server connection
IllegalArgumentException - if a null server connection is passed
//it will be good to specify full qualified exception --CKServerConnectionJDBC,
ServerConnectionSocket,
ServerConnectionSecureSocket
public static ClassifyDetailsQuery createInstance(ServerConnection sc,
boolean isValidating)
throws IllegalArgumentException
ClassifyDetailsQuery. Depending on the
type of ServerConnection object passed in the argument, the server may be
local (JDBC), socket, or another implementation. When using a socket
connection, the Apelon DTS server must be configured with the following
query server to support ClassifyDetailsQuery:
com.apelon.dts.server.ClassifyDetailsServer
ServerConnectionJDBC scJDBC = new ServerConnectionJDBC(user, password,
host, port, instance);
ClassifyDetailsQuery classifyDetailsQuery =
ClassifyDetailsQuery.createInstance(scJDBC);
sc.setQueryServer(Class.forName("com.apelon.dts.server.ClassifyDetailsServer"),
DTSHeader.CLASSIFYDETAILSYQUERY_HEADER);
sc - the server connectionisValidating - true if XML needs to be
validated, false otherwise.
IllegalArgumentException - if a null server connection is passedServerConnectionJDBC,
ServerConnectionSocket,
ServerConnectionSecureSocket
public ClassifyDetail getClassifyDetail(int namespaceId)
throws DTSException
namespaceId - ID of the namespace for which to get the classification details.
DTSException - For any error//specify full qualified class path name --CK
public ClassifyCycleError[] getCycleErrors(int namespaceId)
throws DTSException
namespaceId - ID of the namespace for which to get the classification Cycle Errors.
DTSException - For any errorClassifyCycleError
public ClassifyEquivError[] getEqErrors(int namespaceId)
throws DTSException
namespaceId - ID of the namespace for which to get the classification Equivalency Errors.
DTSException - For any error//specify full qualified class path name --CK
public OntylogConcept[] getNoKindConcepts(int namespaceId)
throws DTSException
namespaceId - ID of the namespace for which to get the concepts with no Kind.
DTSException - For any error//specify full qualified class path name --CK
public OntylogConcept[] getNoParentConcepts(int namespaceId)
throws DTSException
namespaceId - ID of the namespace for which to get the concepts with no defining concept.
DTSException - For any error//specify full qualified class path name --CK
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||