com.urbandictionary.api
Class Definition

java.lang.Object
  extended by com.urbandictionary.api.Definition
All Implemented Interfaces:
Serializable

public class Definition
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Definition()
           
Definition(String word, String definition, String example, String author, String url, int defid)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAuthor()
          Gets the author value for this Definition.
 int getDefid()
          Gets the defid value for this Definition.
 String getDefinition()
          Gets the definition value for this Definition.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getExample()
          Gets the example value for this Definition.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 String getUrl()
          Gets the url value for this Definition.
 String getWord()
          Gets the word value for this Definition.
 int hashCode()
           
 void setAuthor(String author)
          Sets the author value for this Definition.
 void setDefid(int defid)
          Sets the defid value for this Definition.
 void setDefinition(String definition)
          Sets the definition value for this Definition.
 void setExample(String example)
          Sets the example value for this Definition.
 void setUrl(String url)
          Sets the url value for this Definition.
 void setWord(String word)
          Sets the word value for this Definition.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Definition

public Definition()

Definition

public Definition(String word,
                  String definition,
                  String example,
                  String author,
                  String url,
                  int defid)
Method Detail

getWord

public String getWord()
Gets the word value for this Definition.

Returns:
word

setWord

public void setWord(String word)
Sets the word value for this Definition.

Parameters:
word -

getDefinition

public String getDefinition()
Gets the definition value for this Definition.

Returns:
definition

setDefinition

public void setDefinition(String definition)
Sets the definition value for this Definition.

Parameters:
definition -

getExample

public String getExample()
Gets the example value for this Definition.

Returns:
example

setExample

public void setExample(String example)
Sets the example value for this Definition.

Parameters:
example -

getAuthor

public String getAuthor()
Gets the author value for this Definition.

Returns:
author

setAuthor

public void setAuthor(String author)
Sets the author value for this Definition.

Parameters:
author -

getUrl

public String getUrl()
Gets the url value for this Definition.

Returns:
url

setUrl

public void setUrl(String url)
Sets the url value for this Definition.

Parameters:
url -

getDefid

public int getDefid()
Gets the defid value for this Definition.

Returns:
defid

setDefid

public void setDefid(int defid)
Sets the defid value for this Definition.

Parameters:
defid -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

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


getSerializer

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


getDeserializer

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