Class DataCollectionNodeStatus
java.lang.Object
overit.geocallapp.wfm.mobileforms.bl.node.DataCollectionNodeStatus
- All Implemented Interfaces:
Serializable
An object that defines the status of the data collection node.
- Since:
- 12.0
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Class that defines the default values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the node status is mandatory.booleanChecks if the node status is readonly.booleanChecks if the node status is visible.static DataCollectionNodeStatusSets the default value to the status.voidsetMandatory(boolean mandatory) Sets whether the node status is mandatory.voidsetReadonly(boolean readonly) Sets whether the node status is readonly.voidsetVisible(boolean visible) Sets whether the node status is the visible.
-
Constructor Details
-
DataCollectionNodeStatus
public DataCollectionNodeStatus()
-
-
Method Details
-
makeDefault
Sets the default value to the status.- Parameters:
node- theDataCollectionNode- Returns:
- the data collection node status
-
isVisible
public boolean isVisible()Checks if the node status is visible.- Returns:
- true, if is visible
-
setVisible
public void setVisible(boolean visible) Sets whether the node status is the visible.- Parameters:
visible- the visible
-
isReadonly
public boolean isReadonly()Checks if the node status is readonly.- Returns:
- true, if the node status is readonly
-
setReadonly
public void setReadonly(boolean readonly) Sets whether the node status is readonly.- Parameters:
readonly- the readonly
-
isMandatory
public boolean isMandatory()Checks if the node status is mandatory.- Returns:
- true, if is mandatory
-
setMandatory
public void setMandatory(boolean mandatory) Sets whether the node status is mandatory.- Parameters:
mandatory- the mandatory
-