About property constraints
This section explains various property constraints that are provided in HULFT IoT EdgeStreaming.
The classes that represent property constraints are contained in the package com.appresso.ds.common.spi.constraint.
The classes that represent all property constraints are derived from the com.appresso.ds.common.spi.constraint.FieldConstraint class.
Table 5.1 Common methods of property constraints
Name of method |
Function |
---|---|
setLabel(String) |
Set a display name for the area. |
setShortcut(String) |
Set a shortcut for the area. |
setDescription(String) |
Set a description for the area. |
setRequired(boolean) |
Set whether setting a value in the area is mandatory or not. |
setEnabled(boolean) |
Set whether setting of the area is available or not. |
setVisible(boolean) |
Set whether the area is displayed or not. |
setEditable(boolean) |
Set whether editing the area is available or not. |
setSelective(boolean) |
Set whether the area has options or not. |
setItems(Item[]) |
Set static options in the area. |
setInitialValue(String) |
Set the default value of the attribute value. |