Package ontopoly.pojos
Class ModelBean
- java.lang.Object
-
- ontopoly.pojos.ModelBean
-
public class ModelBean extends Object
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getProperty1()
Returns the first property.String
getProperty2()
Returns the second property.String
getProperty3()
Returns the value of third property.String
getProperty4()
Returns the value of fourth propertyString
getProperty5()
Returns the value of fifth propertyString
getProperty6()
Returns the value of sixth property.void
setProperty1(String property1)
Sets the value of first property.void
setProperty2(String property2)
Sets the value of second propertyvoid
setProperty3(String property3)
Sets the value of third propertyvoid
setProperty4(String property4)
Sets the value of fourth propertyvoid
setProperty5(String property5)
Sets the value of fifth propertyvoid
setProperty6(String property6)
Sets the value of sixth property
-
-
-
Constructor Detail
-
ModelBean
public ModelBean(String s)
Creates the bean.- Parameters:
s
- String that will be suffix of each property.
-
-
Method Detail
-
getProperty1
public String getProperty1()
Returns the first property.- Returns:
- First property
-
setProperty1
public void setProperty1(String property1)
Sets the value of first property.- Parameters:
property1
- Mew value
-
getProperty2
public String getProperty2()
Returns the second property.- Returns:
- Second property
-
setProperty2
public void setProperty2(String property2)
Sets the value of second property- Parameters:
property2
- New value
-
getProperty3
public String getProperty3()
Returns the value of third property.- Returns:
- Third property
-
setProperty3
public void setProperty3(String property3)
Sets the value of third property- Parameters:
property3
- New value
-
getProperty4
public String getProperty4()
Returns the value of fourth property- Returns:
- Value of fourth property
-
setProperty4
public void setProperty4(String property4)
Sets the value of fourth property- Parameters:
property4
- New value
-
getProperty5
public String getProperty5()
Returns the value of fifth property- Returns:
- Value of fifth property
-
setProperty5
public void setProperty5(String property5)
Sets the value of fifth property- Parameters:
property5
- New value
-
getProperty6
public String getProperty6()
Returns the value of sixth property.- Returns:
- Value of sixth property
-
setProperty6
public void setProperty6(String property6)
Sets the value of sixth property- Parameters:
property6
- New value
-
-