org.apache.wicket.examples.ajax.builtin.tree
Class ModelBean

java.lang.Object
  extended by org.apache.wicket.examples.ajax.builtin.tree.ModelBean
All Implemented Interfaces:
java.io.Serializable

public class ModelBean
extends java.lang.Object
implements java.io.Serializable

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
See Also:
Serialized Form

Constructor Summary
ModelBean(java.lang.String s)
          Creates the bean.
 
Method Summary
 java.lang.String getProperty1()
          Returns the first property.
 java.lang.String getProperty2()
          Returns the second property.
 java.lang.String getProperty3()
          Returns the value of third property.
 java.lang.String getProperty4()
          Returns the value of fourth property
 java.lang.String getProperty5()
          Returns the value of fifth property
 java.lang.String getProperty6()
          Returns the value of sixth property.
 void setProperty1(java.lang.String property1)
          Sets the value of first property.
 void setProperty2(java.lang.String property2)
          Sets the value of second property
 void setProperty3(java.lang.String property3)
          Sets the value of third property
 void setProperty4(java.lang.String property4)
          Sets the value of fourth property
 void setProperty5(java.lang.String property5)
          Sets the value of fifth property
 void setProperty6(java.lang.String property6)
          Sets the value of sixth property
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelBean

public ModelBean(java.lang.String s)
Creates the bean.

Parameters:
s - String that will be suffix of each property.
Method Detail

getProperty1

public java.lang.String getProperty1()
Returns the first property.

Returns:
First property

setProperty1

public void setProperty1(java.lang.String property1)
Sets the value of first property.

Parameters:
property1 - Mew value

getProperty2

public java.lang.String getProperty2()
Returns the second property.

Returns:
Second property

setProperty2

public void setProperty2(java.lang.String property2)
Sets the value of second property

Parameters:
property2 - New value

getProperty3

public java.lang.String getProperty3()
Returns the value of third property.

Returns:
Third property

setProperty3

public void setProperty3(java.lang.String property3)
Sets the value of third property

Parameters:
property3 - New value

getProperty4

public java.lang.String getProperty4()
Returns the value of fourth property

Returns:
Value of fourth property

setProperty4

public void setProperty4(java.lang.String property4)
Sets the value of fourth property

Parameters:
property4 - New value

getProperty5

public java.lang.String getProperty5()
Returns the value of fifth property

Returns:
Value of fifth property

setProperty5

public void setProperty5(java.lang.String property5)
Sets the value of fifth property

Parameters:
property5 - New value

getProperty6

public java.lang.String getProperty6()
Returns the value of sixth property.

Returns:
Value of sixth property

setProperty6

public void setProperty6(java.lang.String property6)
Sets the value of sixth property

Parameters:
property6 - New value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.