Package lumis.portal.monitor.impl
Class MonitorFieldInstance
- java.lang.Object
-
- lumis.portal.monitor.impl.MonitorFieldInstance
-
- All Implemented Interfaces:
IMonitorFieldInstance
public class MonitorFieldInstance extends java.lang.Object implements IMonitorFieldInstance
Field instance. Represents a field in scope of an event.- Since:
- 9.0.0
- Version:
- $Revision$ $Date$
-
-
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.
-
-