Package qupath.lib.objects
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 Summary
Modifier and TypeMethodDescriptionGet all metadata keys.Returns an unmodifiable map containing the metadata.getMetadataString
(String key) Get a metadata value, cast as a String if possible.getMetadataValue
(String key) Get a metadata value of any kind.putMetadataValue
(String key, String value) Store a new metadata value.
-
Method Details
-
putMetadataValue
Store a new metadata value.- Parameters:
key
-value
-- Returns:
-
getMetadataString
Get a metadata value, cast as a String if possible.- Parameters:
key
-- Returns:
-
getMetadataValue
Get a metadata value of any kind.- Parameters:
key
-- Returns:
-
getMetadataKeys
Get all metadata keys.- Returns:
-
getMetadataMap
Returns an unmodifiable map containing the metadata.- Returns:
-