Package hec.rss.model.reports
Class AltInputReportItem
java.lang.Object
hec.rss.model.reports.AltInputReportItem
The Class AltInputReportItem.
-
Constructor Summary
ConstructorsConstructorDescriptionAltInputReportItem(String name, AltInputReportEnums type, boolean selected, AltInputReportItem parent) Instantiates a new alt input report item. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(AltInputReportItem child) Adds the child.Gets the children.Gets the parent.booleanGets the selected.getType()Gets the type.booleanChecks if is selected.voidsetSelected(boolean selected) Sets the selected.toString()
-
Constructor Details
-
AltInputReportItem
public AltInputReportItem(String name, AltInputReportEnums type, boolean selected, AltInputReportItem parent) Instantiates a new alt input report item.- Parameters:
name- the nametype- the typeselected- the selectedparent- the parent
-
-
Method Details
-
setSelected
public void setSelected(boolean selected) Sets the selected.- Parameters:
selected- the new selected
-
isSelected
public boolean isSelected()Checks if is selected.- Returns:
- true, if is selected
-
getSelected
public boolean getSelected()Gets the selected.- Returns:
- the selected
-
getParent
Gets the parent.- Returns:
- the parent
-
addChild
Adds the child.- Parameters:
child- the child
-
getChildren
Gets the children.- Returns:
- the children
-
getType
Gets the type.- Returns:
- the type
-
toString
-