Package lumis.portal.monitor.impl
Class MonitorFieldInstance
- java.lang.Object
-
- lumis.portal.monitor.impl.MonitorFieldInstance
-
- All Implemented Interfaces:
IMonitorFieldInstance
public class MonitorFieldInstance extends Object implements IMonitorFieldInstance
Field instance. Represents a field in scope of an event.- Since:
- 9.0.0
- Version:
- $Revision: 24789 $ $Date: 2021-12-20 17:37:20 -0300 (Mon, 20 Dec 2021) $
-
-
Constructor Summary
Constructors Constructor Description MonitorFieldInstance(IMonitorField field, IMonitorEvent event, boolean isRequired)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMonitorField
getField()
Returns the field.boolean
isRequired()
Returns whether this field is required.void
setRequired(boolean required)
Sets whether this field instance is required.
-
-
-
Constructor Detail
-
MonitorFieldInstance
public MonitorFieldInstance(IMonitorField field, IMonitorEvent event, boolean isRequired)
-
-
Method Detail
-
isRequired
public boolean isRequired()
Description copied from interface:IMonitorFieldInstance
Returns whether this field is required. If not defined, the default value isfalse
.- Specified by:
isRequired
in interfaceIMonitorFieldInstance
- Returns:
- whether this field is required.
-
setRequired
public void setRequired(boolean required)
Sets whether this field instance is required.- Parameters:
required
- whether this field instance is required.- Since:
- 11.0.0
-
getField
public IMonitorField getField()
Description copied from interface:IMonitorFieldInstance
Returns the field.- Specified by:
getField
in interfaceIMonitorFieldInstance
- Returns:
- the field.
-
-