com.ibm.websphere.fabric.da.types
Class PropertyMap

java.lang.Object
  extended by com.ibm.websphere.fabric.types.PropertyMap
      extended by com.ibm.websphere.fabric.da.types.PropertyMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<java.util.Map.Entry<java.lang.String,TypedValueSet>>

public abstract class PropertyMap
extends PropertyMap

A map-like structure for associating typed values with string property names.

This class is not intended for subclass by external clients.

Author:
dilumr@us.ibm.com, pmschnei@us.ibm.com, nik.krishna@us.ibm.com
See Also:
Serialized Form

Constructor Summary
PropertyMap()
           
 
Method Summary
 java.util.Collection<TypedValue> getAllPropertyValues(java.lang.String name)
          Gets the current Collection associated with the supplied property name.
 TypedValue getProperty(java.lang.String name)
          Gets the current value associated with the supplied property name.
 
Methods inherited from class com.ibm.websphere.fabric.types.PropertyMap
addOneValue, clear, equals, getOneValue, getPropertyNames, getValues, hashCode, isEmpty, iterator, removeValues, replaceValues, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyMap

public PropertyMap()
Method Detail

getProperty

public final TypedValue getProperty(java.lang.String name)
Gets the current value associated with the supplied property name. If the property is non-functional, any value from the Collection may be returned, but the operation should be deterministic.

Parameters:
name - non-null property name.
Returns:
the typed value associated with the property of interest, or null if the property has never been set.

getAllPropertyValues

public final java.util.Collection<TypedValue> getAllPropertyValues(java.lang.String name)
Gets the current Collection associated with the supplied property name.

Parameters:
name - A non-null property name.
Returns:
A Collection of TypedValue objects with the supplied name. Functional properties will return a Collection with exactly one TypedValue in the Collection.


Copyright © 2002-2009 IBM. All Rights Reserved.