|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.common.attributes.AttributeValueAdapter
public abstract class AttributeValueAdapter
Base implementation of AttributeValue.
It is a helper class for implementing concrete attribute value classes.
Field Summary | |
---|---|
protected Object |
m_wrappedObject
The concrete value. |
Fields inherited from interface org.n52.security.common.attributes.AttributeValue |
---|
EMPTY_VALUE |
Constructor Summary | |
---|---|
AttributeValueAdapter(Object wrappedObject)
creates new AttributeValueAdapter. |
Method Summary | |
---|---|
boolean |
equals(Object o)
This delegates the equality check to the internal 'wrapped' value. |
String |
getTypeName()
gets the type name of the concrete value. |
Object |
getUnspecifiedValue()
Gets the concrete value. |
int |
hashCode()
Generates the hashCode of this object. |
String |
toString()
Generates an informal string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Object m_wrappedObject
Constructor Detail |
---|
public AttributeValueAdapter(Object wrappedObject) throws NullPointerException
wrappedObject
- the concrete value object, asserts wrappedObject != null.
NullPointerException
- if wrappedObject is null.Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
o
- the object to test with.
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Object getUnspecifiedValue()
getUnspecifiedValue
in interface AttributeValue
AttributeValue.getUnspecifiedValue()
public String getTypeName()
getTypeName
in interface AttributeValue
AttributeValue.getTypeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |