Class MetaItemDescriptor<T>

java.lang.Object
org.openremote.model.value.AbstractNameValueDescriptorHolder<T>
org.openremote.model.value.MetaItemDescriptor<T>
All Implemented Interfaces:
NameHolder, ValueDescriptorHolder<T>

public class MetaItemDescriptor<T> extends AbstractNameValueDescriptorHolder<T>
Describes a MetaItem that can be added to an Attribute; the AbstractNameValueDescriptorHolder.getName() must match the AbstractNameValueHolder.getName(), it also indicates what the ValueDescriptor is for the MetaItem. The MetaItemDescriptor applies to the Asset type it is associated with and all subtypes of this type (i.e. a MetaItemDescriptor associated with the base Asset type will be available to all Asset types (e.g. MetaItemType.READ_ONLY can be applied to any Asset's Attribute).

AbstractNameValueDescriptorHolder.getName() must be globally unique within the context of the manager it is registered with.