|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.TreeMap<java.lang.String,java.lang.Object>
net.sf.opendse.model.Attributes
public class Attributes
The Attributes is the default implementation of the
IAttributes interface using a HashMap.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Constructor Summary | |
|---|---|
Attributes()
|
|
| Method Summary | ||
|---|---|---|
|
getAttribute(java.lang.String identifier)
Returns the attribute |
|
java.util.Set<java.lang.String> |
getAttributeNames()
Returns the attribute names. |
|
Parameter |
getAttributeParameter(java.lang.String identifier)
Return the parameter definition or null if the attribute is not
defined as parameter. |
|
Attributes |
getAttributes()
Returns the map of all pairs of attributes. |
|
boolean |
isDefined(java.lang.String identifier)
Tests whether an attribute is defined. |
|
boolean |
isParameter(java.lang.String identifier)
Returns true if the attribute value is a parameter. |
|
void |
setAttribute(java.lang.String identifier,
java.lang.Object object)
Sets the attribute. |
|
| Methods inherited from class java.util.TreeMap |
|---|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, isEmpty, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode, isEmpty |
| Constructor Detail |
|---|
public Attributes()
| Method Detail |
|---|
public <O> O getAttribute(java.lang.String identifier)
IAttributes
getAttribute in interface IAttributesO - the type of the attributeidentifier - the identifier of the attribute
public void setAttribute(java.lang.String identifier,
java.lang.Object object)
IAttributes
setAttribute in interface IAttributesidentifier - the identifier of the attributeobject - the value of the attributepublic Attributes getAttributes()
IAttributes
getAttributes in interface IAttributespublic Parameter getAttributeParameter(java.lang.String identifier)
IAttributesnull if the attribute is not
defined as parameter.
getAttributeParameter in interface IAttributesidentifier - the identifier of the attribute
public java.util.Set<java.lang.String> getAttributeNames()
IAttributes
getAttributeNames in interface IAttributespublic boolean isParameter(java.lang.String identifier)
true if the attribute value is a parameter.
identifier - the identifier
true if the attribute value is a parameterpublic boolean isDefined(java.lang.String identifier)
IAttributes
isDefined in interface IAttributesidentifier - the identifier of the attribute
true if defined
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||