Joda System API

org.joda.property.type
Interface DataMapProperty

All Superinterfaces:
java.util.Map, MapProperty, ModelElement, Property, java.io.Serializable
All Known Implementing Classes:
DefaultDataMapProperty

public interface DataMapProperty
extends MapProperty

Interface for a typed updateable map of objects.

Ideally, the keys and values in the map should be immutable. (In fact mutable keys are a really bad idea.) When this is not possible, if you update a key or value which is in the map, the firePropertyValueChanged() method should be called to send out the correct events.

Author:
Stephen Colebourne

Nested Class Summary
 
Nested classes inherited from class org.joda.property.Property
Property.Internal
 
Method Summary
 java.lang.String toDataString(java.lang.Object key)
          Get the element at the specified key as a formal string
 
Methods inherited from interface org.joda.property.type.MapProperty
getMapKeyType, toMap
 
Methods inherited from interface org.joda.property.Property
addPropertyChangeListener, bean, equals, equalsValue, firePropertyChange, getContentName, getContentType, getPropertyName, getPropertyType, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, set, setModifiable, setReadOnly, toObject, toString
 
Methods inherited from interface org.joda.property.ModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

toDataString

public java.lang.String toDataString(java.lang.Object key)
Get the element at the specified key as a formal string

Parameters:
key - the element to obtain
Returns:
the element as a string

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.