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