com.sun.syndication.feed.module.sle.types
Class NumberValue

java.lang.Object
  extended by com.sun.syndication.feed.module.sle.types.NumberValue
All Implemented Interfaces:
EntryValue, java.io.Serializable, java.lang.Cloneable

public class NumberValue
extends java.lang.Object
implements EntryValue

An EntryValue implementation for "number" data-type values.

Author:
Robert "kebernet" Cooper
See Also:
Serialized Form

Constructor Summary
NumberValue()
          Creates a new instance of NumberValue
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getElement()
          Returns the name of the element.
 java.lang.String getLabel()
          Returns a label for the element.
 org.jdom.Namespace getNamespace()
          Returns the namespace of the element.
 java.lang.Comparable getValue()
          Returns the value of the element.
 int hashCode()
           
 void setElement(java.lang.String element)
           
 void setLabel(java.lang.String label)
           
 void setNamespace(org.jdom.Namespace namespace)
           
 void setValue(java.math.BigDecimal value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberValue

public NumberValue()
Creates a new instance of NumberValue

Method Detail

setElement

public void setElement(java.lang.String element)

getElement

public java.lang.String getElement()
Description copied from interface: EntryValue
Returns the name of the element.

Specified by:
getElement in interface EntryValue
Returns:
Returns the name of the element.

setLabel

public void setLabel(java.lang.String label)

getLabel

public java.lang.String getLabel()
Description copied from interface: EntryValue
Returns a label for the element.

Specified by:
getLabel in interface EntryValue
Returns:
Returns a label for the element.

setValue

public void setValue(java.math.BigDecimal value)

getValue

public java.lang.Comparable getValue()
Description copied from interface: EntryValue
Returns the value of the element.

Specified by:
getValue in interface EntryValue
Returns:
Returns the value of the element.

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

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

hashCode

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNamespace

public org.jdom.Namespace getNamespace()
Description copied from interface: EntryValue
Returns the namespace of the element.

Specified by:
getNamespace in interface EntryValue
Returns:
Returns the namespace of the element.

setNamespace

public void setNamespace(org.jdom.Namespace namespace)


Copyright © 2006-2009. All Rights Reserved.