Package ontopoly.pojos
Class ModelBean
java.lang.Object
ontopoly.pojos.ModelBean
Bean that is set to every node of tree as user object. This bean has
properties that are used to hold values for the cells.
- Author:
- Matej Knopp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the first property.Returns the second property.Returns the value of third property.Returns the value of fourth propertyReturns the value of fifth propertyReturns the value of sixth property.voidsetProperty1(String property1) Sets the value of first property.voidsetProperty2(String property2) Sets the value of second propertyvoidsetProperty3(String property3) Sets the value of third propertyvoidsetProperty4(String property4) Sets the value of fourth propertyvoidsetProperty5(String property5) Sets the value of fifth propertyvoidsetProperty6(String property6) Sets the value of sixth property
-
Constructor Details
-
ModelBean
Creates the bean.- Parameters:
s- String that will be suffix of each property.
-
-
Method Details
-
getProperty1
Returns the first property.- Returns:
- First property
-
setProperty1
Sets the value of first property.- Parameters:
property1- Mew value
-
getProperty2
Returns the second property.- Returns:
- Second property
-
setProperty2
Sets the value of second property- Parameters:
property2- New value
-
getProperty3
Returns the value of third property.- Returns:
- Third property
-
setProperty3
Sets the value of third property- Parameters:
property3- New value
-
getProperty4
Returns the value of fourth property- Returns:
- Value of fourth property
-
setProperty4
Sets the value of fourth property- Parameters:
property4- New value
-
getProperty5
Returns the value of fifth property- Returns:
- Value of fifth property
-
setProperty5
Sets the value of fifth property- Parameters:
property5- New value
-
getProperty6
Returns the value of sixth property.- Returns:
- Value of sixth property
-
setProperty6
Sets the value of sixth property- Parameters:
property6- New value
-