uk.ac.open.kmi.watson.clientapi
Class SearchConf

java.lang.Object
  extended by uk.ac.open.kmi.watson.clientapi.SearchConf
All Implemented Interfaces:
java.io.Serializable

public class SearchConf
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int CLASS
          entity modifier for classes.
static int COMMENT
          scope modifier for comments.
protected static int DB_CLASS
          the code used in the database to represent the class type of entities
protected static int DB_INDIVIDUAL
          the code used in the database to represent the individual type of entities
protected static int DB_PROPERTY
          the code used in the database to represent the property type of entities
static int ENT_ANYLITERAL_INFO
          for entInfo: request the information about the literal relations of the entity
static int ENT_ANYRELATIONFROM_INFO
          for entInfo: request the information about the relations from the entity
static int ENT_ANYRELATIONTO_INFO
          for entInfo: request the information about the relations to the entity
static int ENT_COMMENT_INFO
          for entInfo: request the information about the comment of the entity
static int ENT_LABEL_INFO
          for entInfo: request the information about the label of the entity
static int ENT_TYPE_INFO
          for entInfo: request the information about the type of the entity
static int EXACT_MATCH
          Matcher: exact match of a normalized form
static int INDIVIDUAL
          entity modifier for individuals.
static int LABEL
          scope modifier for labels.
static int LITERAL
          scope modifier for other related literals.
static int LOCAL_NAME
          scope modifier for local names.
static int NS
          scope modifier for namsespaces.
static int PROPERTY
          entity modifier for properties.
static int SC_COMMENTS_INFO
          for scInfo: request the information about the comments of the ontology
static int SC_DLEXPR_INFO
          for scInfo: request the information about the size of the semantic document
static int SC_DOMAIN_INFO
          for scInfo: request the information about the domain
static int SC_ENTITIES_INFO
          for scInfo: request the information about the entities...
static int SC_IMPORTEDBY_INFO
          for scInfo: request the information about the ontologies importing the semantic document
static int SC_IMPORTS_INFO
          for scInfo: request the information about the imported ontologies in the semantic document
static int SC_LABELS_INFO
          for scInfo: request the information about the labels of the ontology
static int SC_LANGUAGES_INFO
          for scInfo: request the information about the languages used in the semantic document
static int SC_LOCATION_INFO
          for scInfo: request the information about the Dl Expressiveness used in the semantic document
static int SC_NBCLASSES_INFO
          for scInfo: request the information about the number of classes in the semantic document
static int SC_NBINDIS_INFO
          for scInfo: request the information about the number of individuals in the semantic document
static int SC_NBPROPS_INFO
          for scInfo: request the information about the number of properties in the semantic document
static int SC_NBSTATS_INFO
          for scInfo: request the information about the number of statements in the semantic document
static int SC_SIZE_INFO
          for scInfo: request the information about the languages used in the semantic document
static int TOKEN_MATCH
          Matcher: match a token
 
Constructor Summary
SearchConf()
           
SearchConf(int SCInfo, int entities, int entitiesInfo, java.lang.String[][] filters, int inc, int match, int[] rankingWeights, int scope, int[] sorts, int start)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getEntities()
          Gets the entities value for this SearchConf.
 int getEntitiesInfo()
          Gets the entitiesInfo value for this SearchConf.
 java.lang.String[][] getFilters()
          Gets the filters value for this SearchConf.
 int getInc()
          Gets the inc value for this SearchConf.
 int getMatch()
          Gets the match value for this SearchConf.
 int[] getRankingWeights()
          Gets the rankingWeights value for this SearchConf.
 int getSCInfo()
          Gets the SCInfo value for this SearchConf.
 int getScope()
          Gets the scope value for this SearchConf.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int[] getSorts()
          Gets the sorts value for this SearchConf.
 int getStart()
          Gets the start value for this SearchConf.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setEntities(int entities)
          Sets the entities value for this SearchConf.
 void setEntitiesInfo(int entitiesInfo)
          Sets the entitiesInfo value for this SearchConf.
 void setFilters(java.lang.String[][] filters)
          Sets the filters value for this SearchConf.
 void setInc(int inc)
          Sets the inc value for this SearchConf.
 void setMatch(int match)
          Sets the match value for this SearchConf.
 void setRankingWeights(int[] rankingWeights)
          Sets the rankingWeights value for this SearchConf.
 void setSCInfo(int SCInfo)
          Sets the SCInfo value for this SearchConf.
 void setScope(int scope)
          Sets the scope value for this SearchConf.
 void setSorts(int[] sorts)
          Sets the sorts value for this SearchConf.
 void setStart(int start)
          Sets the start value for this SearchConf.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

public static final int CLASS
entity modifier for classes.

See Also:
Constant Field Values

PROPERTY

public static final int PROPERTY
entity modifier for properties.

See Also:
Constant Field Values

INDIVIDUAL

public static final int INDIVIDUAL
entity modifier for individuals.

See Also:
Constant Field Values

NS

public static final int NS
scope modifier for namsespaces.

See Also:
Constant Field Values

LOCAL_NAME

public static final int LOCAL_NAME
scope modifier for local names.

See Also:
Constant Field Values

LABEL

public static final int LABEL
scope modifier for labels.

See Also:
Constant Field Values

COMMENT

public static final int COMMENT
scope modifier for comments.

See Also:
Constant Field Values

LITERAL

public static final int LITERAL
scope modifier for other related literals.

See Also:
Constant Field Values

TOKEN_MATCH

public static final int TOKEN_MATCH
Matcher: match a token

See Also:
Constant Field Values

EXACT_MATCH

public static final int EXACT_MATCH
Matcher: exact match of a normalized form

See Also:
Constant Field Values

DB_CLASS

protected static final int DB_CLASS
the code used in the database to represent the class type of entities

See Also:
Constant Field Values

DB_PROPERTY

protected static final int DB_PROPERTY
the code used in the database to represent the property type of entities

See Also:
Constant Field Values

DB_INDIVIDUAL

protected static final int DB_INDIVIDUAL
the code used in the database to represent the individual type of entities

See Also:
Constant Field Values

SC_LANGUAGES_INFO

public static final int SC_LANGUAGES_INFO
for scInfo: request the information about the languages used in the semantic document

See Also:
Constant Field Values

SC_SIZE_INFO

public static final int SC_SIZE_INFO
for scInfo: request the information about the languages used in the semantic document

See Also:
Constant Field Values

SC_DLEXPR_INFO

public static final int SC_DLEXPR_INFO
for scInfo: request the information about the size of the semantic document

See Also:
Constant Field Values

SC_LOCATION_INFO

public static final int SC_LOCATION_INFO
for scInfo: request the information about the Dl Expressiveness used in the semantic document

See Also:
Constant Field Values

SC_NBCLASSES_INFO

public static final int SC_NBCLASSES_INFO
for scInfo: request the information about the number of classes in the semantic document

See Also:
Constant Field Values

SC_NBPROPS_INFO

public static final int SC_NBPROPS_INFO
for scInfo: request the information about the number of properties in the semantic document

See Also:
Constant Field Values

SC_NBINDIS_INFO

public static final int SC_NBINDIS_INFO
for scInfo: request the information about the number of individuals in the semantic document

See Also:
Constant Field Values

SC_NBSTATS_INFO

public static final int SC_NBSTATS_INFO
for scInfo: request the information about the number of statements in the semantic document

See Also:
Constant Field Values

SC_IMPORTS_INFO

public static final int SC_IMPORTS_INFO
for scInfo: request the information about the imported ontologies in the semantic document

See Also:
Constant Field Values

SC_IMPORTEDBY_INFO

public static final int SC_IMPORTEDBY_INFO
for scInfo: request the information about the ontologies importing the semantic document

See Also:
Constant Field Values

SC_LABELS_INFO

public static final int SC_LABELS_INFO
for scInfo: request the information about the labels of the ontology

See Also:
Constant Field Values

SC_COMMENTS_INFO

public static final int SC_COMMENTS_INFO
for scInfo: request the information about the comments of the ontology

See Also:
Constant Field Values

SC_ENTITIES_INFO

public static final int SC_ENTITIES_INFO
for scInfo: request the information about the entities...

See Also:
Constant Field Values

SC_DOMAIN_INFO

public static final int SC_DOMAIN_INFO
for scInfo: request the information about the domain

See Also:
Constant Field Values

ENT_TYPE_INFO

public static final int ENT_TYPE_INFO
for entInfo: request the information about the type of the entity

See Also:
Constant Field Values

ENT_LABEL_INFO

public static final int ENT_LABEL_INFO
for entInfo: request the information about the label of the entity

See Also:
Constant Field Values

ENT_COMMENT_INFO

public static final int ENT_COMMENT_INFO
for entInfo: request the information about the comment of the entity

See Also:
Constant Field Values

ENT_ANYRELATIONFROM_INFO

public static final int ENT_ANYRELATIONFROM_INFO
for entInfo: request the information about the relations from the entity

See Also:
Constant Field Values

ENT_ANYRELATIONTO_INFO

public static final int ENT_ANYRELATIONTO_INFO
for entInfo: request the information about the relations to the entity

See Also:
Constant Field Values

ENT_ANYLITERAL_INFO

public static final int ENT_ANYLITERAL_INFO
for entInfo: request the information about the literal relations of the entity

See Also:
Constant Field Values
Constructor Detail

SearchConf

public SearchConf()

SearchConf

public SearchConf(int SCInfo,
                  int entities,
                  int entitiesInfo,
                  java.lang.String[][] filters,
                  int inc,
                  int match,
                  int[] rankingWeights,
                  int scope,
                  int[] sorts,
                  int start)
Method Detail

getSCInfo

public int getSCInfo()
Gets the SCInfo value for this SearchConf.

Returns:
SCInfo

setSCInfo

public void setSCInfo(int SCInfo)
Sets the SCInfo value for this SearchConf.

Parameters:
SCInfo -

getEntities

public int getEntities()
Gets the entities value for this SearchConf.

Returns:
entities

setEntities

public void setEntities(int entities)
Sets the entities value for this SearchConf.

Parameters:
entities -

getEntitiesInfo

public int getEntitiesInfo()
Gets the entitiesInfo value for this SearchConf.

Returns:
entitiesInfo

setEntitiesInfo

public void setEntitiesInfo(int entitiesInfo)
Sets the entitiesInfo value for this SearchConf.

Parameters:
entitiesInfo -

getFilters

public java.lang.String[][] getFilters()
Gets the filters value for this SearchConf.

Returns:
filters

setFilters

public void setFilters(java.lang.String[][] filters)
Sets the filters value for this SearchConf.

Parameters:
filters -

getInc

public int getInc()
Gets the inc value for this SearchConf.

Returns:
inc

setInc

public void setInc(int inc)
Sets the inc value for this SearchConf.

Parameters:
inc -

getMatch

public int getMatch()
Gets the match value for this SearchConf.

Returns:
match

setMatch

public void setMatch(int match)
Sets the match value for this SearchConf.

Parameters:
match -

getRankingWeights

public int[] getRankingWeights()
Gets the rankingWeights value for this SearchConf.

Returns:
rankingWeights

setRankingWeights

public void setRankingWeights(int[] rankingWeights)
Sets the rankingWeights value for this SearchConf.

Parameters:
rankingWeights -

getScope

public int getScope()
Gets the scope value for this SearchConf.

Returns:
scope

setScope

public void setScope(int scope)
Sets the scope value for this SearchConf.

Parameters:
scope -

getSorts

public int[] getSorts()
Gets the sorts value for this SearchConf.

Returns:
sorts

setSorts

public void setSorts(int[] sorts)
Sets the sorts value for this SearchConf.

Parameters:
sorts -

getStart

public int getStart()
Gets the start value for this SearchConf.

Returns:
start

setStart

public void setStart(int start)
Sets the start value for this SearchConf.

Parameters:
start -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer