public abstract class AttributeValueAdapter extends Object implements AttributeValue, Serializable
Modifier and Type | Field and Description |
---|---|
protected Object |
m_wrappedObject
The concrete value.
|
EMPTY_VALUE
Constructor and Description |
---|
AttributeValueAdapter(Object wrappedObject)
creates new AttributeValueAdapter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected Object m_wrappedObject
public AttributeValueAdapter(Object wrappedObject) throws NullPointerException
wrappedObject
- the concrete value object, asserts wrappedObject != null.NullPointerException
- if wrappedObject is null.public boolean equals(Object o)
public int hashCode()
public String toString()
public Object getUnspecifiedValue()
getUnspecifiedValue
in interface AttributeValue
AttributeValue.getUnspecifiedValue()
public String getTypeName()
getTypeName
in interface AttributeValue
AttributeValue.getTypeName()
Copyright © 2004–2018 52north.org. All rights reserved.