public interface IMonitorFieldSPI extends IMonitorField, IMonitorElementSPI<IMonitorFieldSPI>
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.
|
Boolean |
getIdentifiesUserOverride()
Returns whether this field identifies the user and must have its value modified when anonymized according to
configuration of the current environment.
|
IMonitorField |
getParent()
Returns the parent field.
|
boolean |
isIdentifiesUserDefinition()
Returns whether this field identifies the user and must have its value modified when anonymized according to the
definition of this 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 |
setIdentifiesUserDefinition(boolean identifiesUserDefinition)
Sets whether this field identifies the user and must have its value modified when anonymized according to the
definition of this field.
|
IMonitorFieldSPI |
setIdentifiesUserOverride(Boolean identifiesUserOverride)
Sets whether this field identifies the user and must have its value modified when anonymized, according to
configuration of the current environment.
|
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, identifiesUser
getId, getServiceInstanceId, setServiceInstanceId
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()
IMonitorFieldSPI setIdentifiesUserOverride(Boolean identifiesUserOverride)
identifiesUserDefinition
- true
if the field was set as identifies user in the current
configurations, false
if set as does not identify user in the current configurations, or null
if
there is nothing explicit in the current configuration and it must use the
definition default.Boolean getIdentifiesUserOverride()
true
if the field was set as identifies user in the current configurations, false
if set
as does not identify user in the current configurations, or null
if there is nothing explicit in the
current configuration and it must use the definition default.IMonitorFieldSPI setIdentifiesUserDefinition(boolean identifiesUserDefinition)
anonymousDefinition
- true
if the definition of this field declares it as identifies user,
false
otherwise.boolean isIdentifiesUserDefinition()
true
if the definition of this field declares it as identifies user, false
otherwise.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.