Class GIConfiguration
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocallapp.wfm.core.bl.schedule.intervention.outcome.interventiongroup.configuration.GIConfiguration
- All Implemented Interfaces:
Serializable
Root of the intervention group configuration
- Since:
- 9.2
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInputLabel(String name) Gets the label of the input with the given namegetInputStatus(String name) Gets the status of the input with the given name.getSection(int position) Gets the intervention group section in the given position.getSection(String name) Retrieve a section via nameGets the intervention group versionbooleanisFormInputVisible(String name) Gets the visibility of the input with the given namebooleanisFormSectionVisible(String name) Gets the visibility of the section with the given namebooleanGets the read only valuevoidsetAttributes(GIConfiguration sourceInterventionGroup) Copy the attributes of the given intervention group to this intervention group.voidsetReadOnly(boolean isReadOnly) Sets if the whole intervention group is in read onlyvoidsetVERSION(String version) Sets the intervention group versionBuild the XML string of the intervention group
-
Field Details
-
isReadOnly
protected boolean isReadOnly -
version
-
-
Constructor Details
-
GIConfiguration
public GIConfiguration()
-
-
Method Details
-
getSection
Retrieve a section via name- Parameters:
name- the name of the section to find- Returns:
- the intervention group section with the given name if exists, null otherwise.
-
isFormInputVisible
Gets the visibility of the input with the given name- Parameters:
name- the name of the input for which retrieve the visibility- Returns:
- the visibility of the input with the given name
-
getInputStatus
Gets the status of the input with the given name.- Parameters:
name- the name of the input for which retrieve the status- Returns:
- the status of the input with the given name
-
getInputLabel
Gets the label of the input with the given name- Parameters:
name- the name of the input for which retrieve the label- Returns:
- the label of the input with the given name
-
isFormSectionVisible
Gets the visibility of the section with the given name- Parameters:
name- the section name- Returns:
trueif the section is visible,falseotherwise
-
getSection
Gets the intervention group section in the given position.- Parameters:
position- the position of the section to retrieve- Returns:
- the intervention group section in the given position
-
toXMLString
Build the XML string of the intervention group- Returns:
- the XML string of the intervention group
-
setAttributes
Copy the attributes of the given intervention group to this intervention group.- Parameters:
sourceInterventionGroup- the new attributes
-
setReadOnly
public void setReadOnly(boolean isReadOnly) Sets if the whole intervention group is in read only- Parameters:
isReadOnly- the read only value to set
-
isReadOnly
public boolean isReadOnly()Gets the read only value- Returns:
- the read only value
-
getVersion
Gets the intervention group version- Returns:
- the intervention group version
-
setVERSION
Sets the intervention group version- Parameters:
version- the intervention group version
-