Class DataCollectionNode

java.lang.Object
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionEntityExpressions
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionNode
All Implemented Interfaces:
Serializable

public class DataCollectionNode extends DataCollectionEntityExpressions implements Serializable
An object containing all the main entities to create a data collection node, such as:

Extends DataCollectionEntityExpressions to inherit expression management capabilities, including expression evaluation and identification functionality.

Since:
12.0
See Also:
GCApi:
bo
  • Constructor Details

    • DataCollectionNode

      public DataCollectionNode()
  • Method Details

    • getId

      public Long getId()
      Returns the data collection node id.
      Returns:
      the the data collection node id
    • setId

      public void setId(Long id)
      Sets the id of DataCollectionNode.
      Parameters:
      id - the id of DataCollectionNode
    • getType

      public DataCollectionNodeType getType()
      Returns the node type.
      Returns:
      the type
    • setType

      public void setType(DataCollectionNodeType type)
      Sets the node type.
      Parameters:
      type - the type
    • getProperties

      public DataCollectionNodeProperties getProperties()
      Returns the node properties.
      Returns:
      the properties
    • setProperties

      public void setProperties(DataCollectionNodeProperties properties)
      Sets the node properties.
      Parameters:
      properties - the properties
    • validateValue

      public void validateValue() throws DAValidateException
      Validate the value.
      Throws:
      DAValidateException - the DA validate exception
    • validateConstraints

      public void validateConstraints() throws DAValidateException
      Validate the constraints.
      Throws:
      DAValidateException - the DA validate exception
    • validateThreshold

      public void validateThreshold() throws DAValidateException
      Validate the threshold.
      Throws:
      DAValidateException - the DA validate exception
    • getStatus

      public DataCollectionNodeStatus getStatus()
      Returns the node status.
      Returns:
      the status
    • setStatus

      public void setStatus(DataCollectionNodeStatus status)
      Sets the node status.
      Parameters:
      status - the status
    • copyOf

      public static DataCollectionNode copyOf(DataCollectionNode node)
      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

      public String getExpressionId()
      Description copied from class: DataCollectionEntityExpressions
      Retrieves 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:
      getExpressionId in class DataCollectionEntityExpressions
      Returns:
      the unique expression identifier as a String; should not be null
    • getExpressionDescription

      public LocalizedString getExpressionDescription()
      Description copied from class: DataCollectionEntityExpressions
      Retrieves 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:
      getExpressionDescription in class DataCollectionEntityExpressions
      Returns:
      the localized description as a LocalizedString; should not be null
    • getChildExpressions

      public List<DataCollectionEntityExpressions> getChildExpressions()