001 package biz.hammurapi.properties; 002 003 /** 004 * Instantiates property sets. 005 * @author Pavel 006 */ 007 public interface PropertySetFactory { 008 009 /** 010 * Creates new property set. 011 * @param chain Property sets can be chained. Chaining allows to 012 * build hierarchies of property sets. New property set access operations 013 * delegate to chains if the property set itself does not contain requested 014 * values. All update and remove operations are local to the property 015 * set - chains are never modified. 016 * @return New property set. 017 */ 018 PropertySet createPropertySet(PropertySet[] chain); 019 }