org.alfresco.repo.attributes
Class MapAttributeValue
java.lang.Object
org.alfresco.repo.attributes.AbstractAttribute
org.alfresco.repo.attributes.AttributeValue
org.alfresco.repo.attributes.MapAttributeValue
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable, Attribute, MapAttribute
public class MapAttributeValue
- extends AttributeValue
- implements MapAttribute
Value based implementation of a map attribute.
- See Also:
- Serialized Form
Methods inherited from class org.alfresco.repo.attributes.AbstractAttribute |
add, add, get, getAttributeImpl, getAttributeValue, getBlobValue, getBooleanValue, getByteValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getSerializableValue, getShortValue, getStringValue, iterator, remove, set, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.attributes.Attribute |
add, add, get, getAcl, getAttributeImpl, getAttributeValue, getBlobValue, getBooleanValue, getByteValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getSerializableValue, getShortValue, getStringValue, iterator, remove, set, setAcl, setBlobValue, setBooleanValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setSerializableValue, setShortValue, setStringValue |
MapAttributeValue
public MapAttributeValue()
MapAttributeValue
public MapAttributeValue(MapAttribute attr)
getType
public Attribute.Type getType()
- Specified by:
getType
in interface Attribute
- Returns:
- the enumerated type
getRawValue
public java.io.Serializable getRawValue()
- Description copied from interface:
Attribute
- Method to return the underlying raw data for possible conversion to the descired type.
- Specified by:
getRawValue
in interface Attribute
- Returns:
- Returns a raw data value
clear
public void clear()
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
clear
in interface Attribute
- Overrides:
clear
in class AbstractAttribute
entrySet
public java.util.Set entrySet()
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
entrySet
in interface Attribute
- Overrides:
entrySet
in class AbstractAttribute
- Returns:
- The entry set.
get
public Attribute get(java.lang.String key)
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
get
in interface Attribute
- Overrides:
get
in class AbstractAttribute
- Parameters:
key
- The key.
- Returns:
- The value.
keySet
public java.util.Set keySet()
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
keySet
in interface Attribute
- Overrides:
keySet
in class AbstractAttribute
- Returns:
- The key set.
put
public void put(java.lang.String key,
Attribute value)
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
put
in interface Attribute
- Overrides:
put
in class AbstractAttribute
- Parameters:
key
- The key to the entry.value
- The Value of the entry.
remove
public void remove(java.lang.String key)
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
remove
in interface Attribute
- Overrides:
remove
in class AbstractAttribute
- Parameters:
key
- The key of the entry to remove.
values
public java.util.Collection values()
- Description copied from class:
AbstractAttribute
MapAttributeValue
-specific method.
- Specified by:
values
in interface Attribute
- Overrides:
values
in class AbstractAttribute
- Returns:
- The values.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
size
public int size()
- Description copied from class:
AbstractAttribute
ListAttributeValue
or MapAttributeValue
-specific method.
- Specified by:
size
in interface Attribute
- Overrides:
size
in class AbstractAttribute
- Returns:
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.