public class Attribute extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
m_key
Field m_key holds the key or name of the attribute.
|
protected AttributeValue |
m_value
Field m_value holds thee value of this attribute.
|
Constructor and Description |
---|
Attribute(String key,
AttributeValue value)
Creates an Attribute.
|
protected String m_key
protected AttributeValue m_value
org.n52.security.common.attributes.AttributeValue}
public Attribute(String key, AttributeValue value)
AttributeValue.EMPTY_VALUE
.key
- the key or name of the attributevalue
- the value of the attribute.public String getKey()
public AttributeValue getValue()
public boolean equals(Object o)
public int hashCode()
Copyright © 2004–2016 52north.org. All rights reserved.