BDVal API 20110316173314

edu.cornell.med.icb.geo
Interface PropertyMappable

All Known Implementing Classes:
GEOPlatformIndexed

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.

BDVal API 20110316173314

Copyright © 2007-2011 Institute for Computational Biomedicine, All Rights Reserved.