public interface IMonitorFieldSPI extends IMonitorField
event
.
This definition will be used to define a big data field
where the data related will be saved.IMonitorField.DataType
Modifier and Type | Method and Description |
---|---|
IMonitorFieldSPI |
addInnerField(IMonitorField innerField)
Adds the given inner field.
|
IMonitorFieldSPI |
clearInnerFields()
Removes all inner fields.
|
IMonitorField |
getParent()
Returns the parent field.
|
boolean |
isStandard()
Returns whether this is a standard field.
|
IMonitorFieldSPI |
removeInnerField(String innerFieldId)
Removes the given inner field.
|
IMonitorFieldSPI |
setDataType(IMonitorField.DataType dataType)
Sets the data type for this field.
|
IMonitorFieldSPI |
setDescription(String description)
Sets the (localizable description).
|
IMonitorFieldSPI |
setName(String name)
Sets the (localizable) name of this field.
|
IMonitorFieldSPI |
setStandard(boolean isStandard)
Sets this field either as standard or custom (non-standard).
|
IMonitorFieldSPI |
setStringResourcePath(String stringResourcePath)
Sets this field string resource path (used, if present, to localize strings).
|
IMonitorFieldSPI |
setUnit(String unit)
Sets the (localizable) unit of this field.
|
getDataType, getDescription, getId, getInnerFields, getLocalizedDescription, getLocalizedName, getLocalizedUnit, getName, getStringResourcePath, getUnit
IMonitorFieldSPI setName(String name)
name
- the (localizable) name of this field.IMonitorFieldSPI setDescription(String description)
description
- the (localizable description).IMonitorFieldSPI setUnit(String unit)
unit
- the (localizable) unit of this field.IMonitorFieldSPI setStringResourcePath(String stringResourcePath)
stringResourcePath
- this field string resource path (used, if present, to localize strings).IMonitorFieldSPI addInnerField(IMonitorField innerField)
innerField
- the inner field.IllegalStateException
- if this field is not a complex
field.IllegalArgumentException
- if the given inner field's identifier does not start with this field's identifier.IMonitorFieldSPI removeInnerField(String innerFieldId)
innerFieldId
- the inner field identifier.IllegalStateException
- if this field is not a complex
field.IMonitorFieldSPI clearInnerFields()
IMonitorFieldSPI setDataType(IMonitorField.DataType dataType)
dataType
- the data type.IllegalArgumentException
- if the data type is changed.IMonitorFieldSPI setStandard(boolean isStandard)
isStandard
- true to mark this field as standard, false to custom.boolean isStandard()
IMonitorField getParent()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.