icb-utils API icb-utils-182 (20120309094326)

edu.cornell.med.icb.identifier
Interface PropertyMappable

All Known Implementing Classes:
IndexedIdentifier

public interface PropertyMappable

Classes that implement this interface are capable of storing and loading there state to and from property objects.


Method Summary
 void fromPropertyMap(Map<String,Properties> propertyMap)
          Set the current state of the object from a map of properties.
 Map<String,Properties> toPropertyMap()
          Store the current state of the object to a map of properties.
 

Method Detail

toPropertyMap

Map<String,Properties> toPropertyMap()
Store the current state of the object to a map of properties.

Returns:
A map of properties indexed by string key names that can be then used to reconstruct the object state at a later time.

fromPropertyMap

void fromPropertyMap(Map<String,Properties> propertyMap)
Set the current state of the object from a map of properties.

Parameters:
propertyMap - A map of properties indexed by string key names that can be then used to reconstruct the object state.

icb-utils API icb-utils-182 (20120309094326)

Copyright © 2005-2012 Institute for Computational Biomedicine, All Rights Reserved.