Class DataCollectionNode
java.lang.Object
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionEntityExpressions
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionNode
- All Implemented Interfaces:
Serializable
An object containing all the main entities to create a data collection node, such as:
- a type
DataCollectionNodeTypethat specifies the type of the node - a status
DataCollectionNodeStatus - the properties
DataCollectionNodePropertiesthat specifies color, description, code and notes - the expressions
DataCollectionNodeExpressions
Extends DataCollectionEntityExpressions to inherit expression management capabilities,
including expression evaluation and identification functionality.
- Since:
- 12.0
- See Also:
- GCApi:
- bo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataCollectionNodecopyOf(DataCollectionNode node) Creates a copy of the given node.Retrieves the localized description of this expression entity.Retrieves the unique identifier for this expression entity.getId()Returns the data collection node id.Returns the node properties.Returns the node status.getType()Returns the node type.voidSets the id of DataCollectionNode.voidsetProperties(DataCollectionNodeProperties properties) Sets the node properties.voidsetStatus(DataCollectionNodeStatus status) Sets the node status.voidSets the node type.voidValidate the constraints.voidValidate the threshold.voidValidate the value.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionEntityExpressions
getExpressions, setExpressions
-
Constructor Details
-
DataCollectionNode
public DataCollectionNode()
-
-
Method Details
-
getId
Returns the data collection node id.- Returns:
- the the data collection node id
-
setId
Sets the id of DataCollectionNode.- Parameters:
id- the id of DataCollectionNode
-
getType
Returns the node type.- Returns:
- the type
-
setType
Sets the node type.- Parameters:
type- the type
-
getProperties
Returns the node properties.- Returns:
- the properties
-
setProperties
Sets the node properties.- Parameters:
properties- the properties
-
validateValue
Validate the value.- Throws:
DAValidateException- the DA validate exception
-
validateConstraints
Validate the constraints.- Throws:
DAValidateException- the DA validate exception
-
validateThreshold
Validate the threshold.- Throws:
DAValidateException- the DA validate exception
-
getStatus
Returns the node status.- Returns:
- the status
-
setStatus
Sets the node status.- Parameters:
status- the status
-
copyOf
Creates a copy of the given node. The id, properties.code and expressions are nullified.- Parameters:
node- the node to be copied- Returns:
- a new node copy of the current except for id, properties.code and expressions that are nullified.
-
getExpressionId
Description copied from class:DataCollectionEntityExpressionsRetrieves the unique identifier for this expression entity.This method returns a unique identifier that distinguishes this expression entity from others within the data collection context. The identifier is typically used for expression evaluation, reference resolution, and tracking.
This property is excluded from JSON serialization.
- Specified by:
getExpressionIdin classDataCollectionEntityExpressions- Returns:
- the unique expression identifier as a String; should not be null
-
getExpressionDescription
Description copied from class:DataCollectionEntityExpressionsRetrieves the localized description of this expression entity.This method returns a human-readable description of the expression entity that can be displayed in different languages based on the user's locale. The description is typically used for UI display, logging, and debugging purposes.
This property is excluded from JSON serialization.
- Specified by:
getExpressionDescriptionin classDataCollectionEntityExpressions- Returns:
- the localized description as a
LocalizedString; should not be null
-
getChildExpressions
-