Package org.openhab.core.items
Class Metadata
java.lang.Object
org.openhab.core.items.Metadata
- All Implemented Interfaces:
 Identifiable<MetadataKey>
This is a data class for storing meta-data for a given item and namespace.
 It is the entity used for within the 
MetadataRegistry.- Author:
 - Kai Kreuzer - Initial contribution
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Metadata
 
 - 
 - 
Method Details
- 
getUID
Description copied from interface:IdentifiableGet the unique identifier.- Specified by:
 getUIDin interfaceIdentifiable<MetadataKey>- Returns:
 - the unique identifier
 
 - 
getConfiguration
Provides the configuration meta-data.- Returns:
 - configuration as a map of key-value pairs
 
 - 
getValue
Provides the main value of the meta-data.- Returns:
 - the main meta-data as a string
 
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -