Interface MetadataStore

All Known Implementing Classes:
TMACoreObject

public interface MetadataStore
Interface that may be used to indicate that a PathObject (or other object) can store metadata.

Implementing classes should ensure that entries are stored in insertion order.

Author:
Pete Bankhead
  • Method Details

    • putMetadataValue

      Object putMetadataValue(String key, String value)
      Store a new metadata value.
      Parameters:
      key -
      value -
      Returns:
    • getMetadataString

      String getMetadataString(String key)
      Get a metadata value, cast as a String if possible.
      Parameters:
      key -
      Returns:
    • getMetadataValue

      Object getMetadataValue(String key)
      Get a metadata value of any kind.
      Parameters:
      key -
      Returns:
    • getMetadataKeys

      Set<String> getMetadataKeys()
      Get all metadata keys.
      Returns:
    • getMetadataMap

      Map<String,String> getMetadataMap()
      Returns an unmodifiable map containing the metadata.
      Returns: