org.n52.security.common.attributes
Class EmptyAttributeValue

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

public class EmptyAttributeValue
extends java.lang.Object
implements AttributeValue, java.io.Serializable

Class EmptyAttributeValue represents a 'null' or empty attribute value.

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

Field Summary
static java.lang.String TYPE_NAME
          The type of an EmptyAttribute is 'null'.
 
Fields inherited from interface org.n52.security.common.attributes.AttributeValue
EMPTY_VALUE
 
Constructor Summary
protected EmptyAttributeValue()
          Use AttributeValue.EMPTY_VALUE to get an instance of this class.
 
Method Summary
 java.lang.String getTypeName()
          Returns TYPE_NAME.
 java.lang.Object getUnspecifiedValue()
          This will always return null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NAME

public static final java.lang.String TYPE_NAME
The type of an EmptyAttribute is 'null'.

See Also:
Constant Field Values
Constructor Detail

EmptyAttributeValue

protected EmptyAttributeValue()
Use AttributeValue.EMPTY_VALUE to get an instance of this class.

Method Detail

getUnspecifiedValue

public java.lang.Object getUnspecifiedValue()
This will always return null.

Specified by:
getUnspecifiedValue in interface AttributeValue
Returns:
null
See Also:
AttributeValue.getUnspecifiedValue()

getTypeName

public java.lang.String getTypeName()
Returns TYPE_NAME.

Specified by:
getTypeName in interface AttributeValue
Returns:
a type name TYPE_NAME.
See Also:
AttributeValue.getTypeName()


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