uk.org.ogsadai.common.properties
Interface Properties

All Superinterfaces:
java.util.Map
All Known Implementing Classes:
PropertiesImpl

public interface Properties
extends java.util.Map


Method Summary
 Property put(Property property)
          Maps the Name held inside the Property object to the Property object specified.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

put

public Property put(Property property)
Maps the Name held inside the Property object to the Property object specified. Neither the Property object nor its Name attribute can be null.

Parameters:
property - - the Property to add to the Properties map
Returns:
the previous Property object mapped to this Name in the Properties map, or null if no mapping exists
Throws:
java.lang.NullPointerException - if the Property object or its Name attribute are null.