org.n52.security.common.attributes
Class IntegerAttributeValue

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

public class IntegerAttributeValue
extends AttributeValueAdapter
implements java.io.Serializable

Class IntegerAttributeValue represents an integer 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
IntegerAttributeValue(int wrappedObject)
          Constructor IntegerAttributeValue creates a new IntegerAttributeValue instance.
IntegerAttributeValue(java.lang.Integer wrappedObject)
          Constructor IntegerAttributeValue creates a new IntegerAttributeValue instance.
 
Method Summary
 int getIntValue()
          Method getIntValue returns the intValue of this IntegerAttributeValue object.
 java.lang.Integer getValue()
          Method getValue returns the value of this IntegerAttributeValue 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

IntegerAttributeValue

public IntegerAttributeValue(int wrappedObject)
Constructor IntegerAttributeValue creates a new IntegerAttributeValue instance.

Parameters:
wrappedObject - of type int

IntegerAttributeValue

public IntegerAttributeValue(java.lang.Integer wrappedObject)
                      throws java.lang.NullPointerException
Constructor IntegerAttributeValue creates a new IntegerAttributeValue instance.

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

getIntValue

public int getIntValue()
Method getIntValue returns the intValue of this IntegerAttributeValue object.

Returns:
the intValue (type int) of this IntegerAttributeValue object.

getValue

public java.lang.Integer getValue()
Method getValue returns the value of this IntegerAttributeValue object.

Returns:
the value (type Integer) of this IntegerAttributeValue object.


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