org.n52.security.common.attributes
Class BooleanAttributeValue

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

public class BooleanAttributeValue
extends AttributeValueAdapter
implements java.io.Serializable

Class BooleanAttributeValue represents a boolean attribute value.

Version:
$Revision: 852 $
Author:
Marko Reiprecht Created on 27.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
BooleanAttributeValue(boolean wrappedObject)
          creates new BooleanAttributeValue.
BooleanAttributeValue(java.lang.Boolean wrappedObject)
          creates new BooleanAttributeValue.
 
Method Summary
 boolean getBooleanValue()
          Method getBooleanValue returns the booleanValue of this BooleanAttributeValue object.
 java.lang.Boolean getValue()
          Method getValue returns the value of this BooleanAttributeValue 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

BooleanAttributeValue

public BooleanAttributeValue(java.lang.Boolean wrappedObject)
                      throws java.lang.NullPointerException
creates new BooleanAttributeValue.

Parameters:
wrappedObject - the concrete boolean object, asserts wrappedObject != null.
Throws:
java.lang.NullPointerException - if wrappedObject is null.

BooleanAttributeValue

public BooleanAttributeValue(boolean wrappedObject)
creates new BooleanAttributeValue.

Parameters:
wrappedObject - the boolean value.
Method Detail

getBooleanValue

public boolean getBooleanValue()
Method getBooleanValue returns the booleanValue of this BooleanAttributeValue object.

Returns:
the booleanValue (type boolean) of this BooleanAttributeValue object.

getValue

public java.lang.Boolean getValue()
Method getValue returns the value of this BooleanAttributeValue object.

Returns:
the value (type Boolean) of this BooleanAttributeValue object.


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