ACCESS
metadata key. Function properties can be accessed in three ways. Any
combinations between them are possible:
ACCESS_READABLE - available for all properties, which can be read.
Function must provide a getter method for an access to the property value.ACCESS_WRITABLE - available for all properties, which can be
modified. Function must provide a setter method for a modification of the
property value.ACCESS_EVENTABLE - available for all properties, which can report
the property value. FunctionEvents are sent on property change.Function, PropertyMetadata
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ACCESS
Metadata key, which value represents the access to the function property. |
| public static final int | ACCESS_EVENTABLE
Marks the eventable function properties. |
| public static final int | ACCESS_READABLE
Marks the readable function properties. |
| public static final int | ACCESS_WRITABLE
Marks the writable function properties. |
| public static final String | DESCRIPTION
Metadata key, which value represents the property description. |
| public static final String | UNITS
Metadata key, which value represents the property supported units. |
| Modifier and Type | Method and Description |
|---|---|
| public FunctionData[] | Returns: The supported values according to the specified unit ornull if no such values are supported. The values must be
sorted in increasing order.The unit to align the supported values, can be unit)null.Returns the property possible values according to the specified unit. |
| public FunctionData | Returns: The maximum value according to the specified unit ornull
if no maximum value is supported.The unit to align the maximum value, can be unit)null .Returns the property maximum value according to the specified unit. |
| public Map | Returns: The property metadata ornull if no such metadata is
available.The unit to align the metadata if it's applicable. It can be
null, which means that the default unit will be used. unit)Returns metadata about the function property or operation parameter. |
| public FunctionData | Returns: The minimum value according to the specified unit ornull
if no minimum value is supported.The unit to align the minimum value, can be unit)null .Returns the property minimum value according to the specified unit. |
| public FunctionData |
| ACCESS | back to summary |
|---|---|
| public static final String ACCESS Metadata key, which value represents the access to the function property.
The property value is a bitmap of Integer(3) means that the property is readable
and writable, but not eventable.
The property access is available only for function properties and it's missing for the operation parameters. | |
| ACCESS_EVENTABLE | back to summary |
|---|---|
| public static final int ACCESS_EVENTABLE Marks the eventable function properties. The flag can be used as a part
of bitmap value of
| |
| ACCESS_READABLE | back to summary |
|---|---|
| public static final int ACCESS_READABLE Marks the readable function properties. The flag can be used as a part of
bitmap value of
| |
| ACCESS_WRITABLE | back to summary |
|---|---|
| public static final int ACCESS_WRITABLE Marks the writable function properties. The flag can be used as a part of
bitmap value of
| |
| DESCRIPTION | back to summary |
|---|---|
| public static final String DESCRIPTION Metadata key, which value represents the property description. The
property value type is | |
| UNITS | back to summary |
|---|---|
| public static final String UNITS Metadata key, which value represents the property supported units. The
property value type is
SIUnits interface.
| |
| getEnumValues | back to summary |
|---|---|
| public FunctionData[] getEnumValues(String unit) Returns the property possible values according to the specified unit. If
the unit is
| |
| getMaxValue | back to summary |
|---|---|
| public FunctionData getMaxValue(String unit) Returns the property maximum value according to the specified unit. If
the unit is
| |
| getMetadata | back to summary |
|---|---|
| public Map Returns metadata about the function property or operation parameter. The
keys of the
| |
| getMinValue | back to summary |
|---|---|
| public FunctionData getMinValue(String unit) Returns the property minimum value according to the specified unit. If
the unit is
| |
| getStep | back to summary |
|---|---|
| public FunctionData getStep(String unit) Returns the difference between two values in series. For example, if the range is [0, 100], the step can be 10.
| |