Interface ObjectPropertyMap<T extends Saveable>

Type Parameters:
T - Saveable implementation type
All Superinterfaces:
PropertyMap<T>
All Known Implementing Classes:
ObjectPropertyMapDB

public interface ObjectPropertyMap<T extends Saveable> extends PropertyMap<T>
Property manager that deals with properties that are of Object type.
  • Method Details

    • add

      void add(Address addr, T value) throws IllegalArgumentException
      Add an object value at the specified address.
      Parameters:
      addr - address for the property
      value - value of the property
      Throws:
      IllegalArgumentException - if value is type is inconsistent with map
    • add

      default void add(Address addr, Object value)
      Description copied from interface: PropertyMap
      Add a map-specific value type to the specified address
      Specified by:
      add in interface PropertyMap<T extends Saveable>
      Parameters:
      addr - property address
      value - property value or null (null remove value at address)