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

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

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

See Also:
Serialized Form

Constructor Summary
EntityResult()
           
EntityResult(java.lang.String SCURI, java.lang.String URI, java.lang.String comment, java.lang.String[] labels, java.lang.String[][] literals, java.lang.String[][] relationFrom, java.lang.String[][] relationTo, double score, java.lang.String type)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getComment()
          Gets the comment value for this EntityResult.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String[] getLabels()
          Gets the labels value for this EntityResult.
 java.lang.String[][] getLiterals()
          Gets the literals value for this EntityResult.
 java.lang.String[][] getRelationFrom()
          Gets the relationFrom value for this EntityResult.
 java.lang.String[][] getRelationTo()
          Gets the relationTo value for this EntityResult.
 double getScore()
          Gets the score value for this EntityResult.
 java.lang.String getSCURI()
          Gets the SCURI value for this EntityResult.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getType()
          Gets the type value for this EntityResult.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getURI()
          Gets the URI value for this EntityResult.
 int hashCode()
           
 void setComment(java.lang.String comment)
          Sets the comment value for this EntityResult.
 void setLabels(java.lang.String[] labels)
          Sets the labels value for this EntityResult.
 void setLiterals(java.lang.String[][] literals)
          Sets the literals value for this EntityResult.
 void setRelationFrom(java.lang.String[][] relationFrom)
          Sets the relationFrom value for this EntityResult.
 void setRelationTo(java.lang.String[][] relationTo)
          Sets the relationTo value for this EntityResult.
 void setScore(double score)
          Sets the score value for this EntityResult.
 void setSCURI(java.lang.String SCURI)
          Sets the SCURI value for this EntityResult.
 void setType(java.lang.String type)
          Sets the type value for this EntityResult.
 void setURI(java.lang.String URI)
          Sets the URI value for this EntityResult.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityResult

public EntityResult()

EntityResult

public EntityResult(java.lang.String SCURI,
                    java.lang.String URI,
                    java.lang.String comment,
                    java.lang.String[] labels,
                    java.lang.String[][] literals,
                    java.lang.String[][] relationFrom,
                    java.lang.String[][] relationTo,
                    double score,
                    java.lang.String type)
Method Detail

getSCURI

public java.lang.String getSCURI()
Gets the SCURI value for this EntityResult.

Returns:
SCURI

setSCURI

public void setSCURI(java.lang.String SCURI)
Sets the SCURI value for this EntityResult.

Parameters:
SCURI -

getURI

public java.lang.String getURI()
Gets the URI value for this EntityResult.

Returns:
URI

setURI

public void setURI(java.lang.String URI)
Sets the URI value for this EntityResult.

Parameters:
URI -

getComment

public java.lang.String getComment()
Gets the comment value for this EntityResult.

Returns:
comment

setComment

public void setComment(java.lang.String comment)
Sets the comment value for this EntityResult.

Parameters:
comment -

getLabels

public java.lang.String[] getLabels()
Gets the labels value for this EntityResult.

Returns:
labels

setLabels

public void setLabels(java.lang.String[] labels)
Sets the labels value for this EntityResult.

Parameters:
labels -

getLiterals

public java.lang.String[][] getLiterals()
Gets the literals value for this EntityResult.

Returns:
literals

setLiterals

public void setLiterals(java.lang.String[][] literals)
Sets the literals value for this EntityResult.

Parameters:
literals -

getRelationFrom

public java.lang.String[][] getRelationFrom()
Gets the relationFrom value for this EntityResult.

Returns:
relationFrom

setRelationFrom

public void setRelationFrom(java.lang.String[][] relationFrom)
Sets the relationFrom value for this EntityResult.

Parameters:
relationFrom -

getRelationTo

public java.lang.String[][] getRelationTo()
Gets the relationTo value for this EntityResult.

Returns:
relationTo

setRelationTo

public void setRelationTo(java.lang.String[][] relationTo)
Sets the relationTo value for this EntityResult.

Parameters:
relationTo -

getScore

public double getScore()
Gets the score value for this EntityResult.

Returns:
score

setScore

public void setScore(double score)
Sets the score value for this EntityResult.

Parameters:
score -

getType

public java.lang.String getType()
Gets the type value for this EntityResult.

Returns:
type

setType

public void setType(java.lang.String type)
Sets the type value for this EntityResult.

Parameters:
type -

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