org.n52.security.common.attributes
Class DoubleAttributeValue

java.lang.Object
  extended by org.n52.security.common.attributes.AttributeValueAdapter
      extended by org.n52.security.common.attributes.DoubleAttributeValue
All Implemented Interfaces:
java.io.Serializable, AttributeValue

public class DoubleAttributeValue
extends AttributeValueAdapter
implements java.io.Serializable

Class DoubleAttributeValue represents a double attribute value.

Version:
$Revision: 852 $
Author:
Marko Reiprecht Created on 26.03.2007
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.n52.security.common.attributes.AttributeValueAdapter
m_wrappedObject
 
Fields inherited from interface org.n52.security.common.attributes.AttributeValue
EMPTY_VALUE
 
Constructor Summary
DoubleAttributeValue(double wrappedObject)
          Constructor DoubleAttributeValue creates a new DoubleAttributeValue instance.
DoubleAttributeValue(java.lang.Double wrappedObject)
          Constructor DoubleAttributeValue creates a new DoubleAttributeValue instance.
 
Method Summary
 double getDoubleValue()
          Method getDoubleValue returns the doubleValue of this DoubleAttributeValue object.
 java.lang.Double getValue()
          Method getValue returns the value of this DoubleAttributeValue object.
 
Methods inherited from class org.n52.security.common.attributes.AttributeValueAdapter
equals, getTypeName, getUnspecifiedValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleAttributeValue

public DoubleAttributeValue(double wrappedObject)
Constructor DoubleAttributeValue creates a new DoubleAttributeValue instance.

Parameters:
wrappedObject - of type double

DoubleAttributeValue

public DoubleAttributeValue(java.lang.Double wrappedObject)
                     throws java.lang.NullPointerException
Constructor DoubleAttributeValue creates a new DoubleAttributeValue instance.

Parameters:
wrappedObject - of type Double
Throws:
java.lang.NullPointerException - when wrappedObject is null
Method Detail

getDoubleValue

public double getDoubleValue()
Method getDoubleValue returns the doubleValue of this DoubleAttributeValue object.

Returns:
the doubleValue (type double) of this DoubleAttributeValue object.

getValue

public java.lang.Double getValue()
Method getValue returns the value of this DoubleAttributeValue object.

Returns:
the value (type Double) of this DoubleAttributeValue object.


Copyright © 2004-2009 52north.org. All Rights Reserved.