org.omnaest.utils.structure.hierarchy.tree.object
Class ObjectTreeNode.ObjectModel

java.lang.Object
  extended by org.omnaest.utils.structure.hierarchy.tree.object.ObjectTreeNode.ObjectModel
Enclosing interface:
ObjectTreeNode

public static class ObjectTreeNode.ObjectModel
extends Object

Model of the ObjectTreeNode

Author:
Omnaest

Constructor Summary
ObjectTreeNode.ObjectModel(Object object)
           
ObjectTreeNode.ObjectModel(Object object, Method getterMethod, Method setterMethod, Field field, String propertyName)
           
 
Method Summary
 boolean equals(Object obj)
           
 Field getField()
           
 Method getGetterMethod()
           
 Object getObject()
           
 String getPropertyName()
           
 Method getSetterMethod()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectTreeNode.ObjectModel

public ObjectTreeNode.ObjectModel(Object object,
                                  Method getterMethod,
                                  Method setterMethod,
                                  Field field,
                                  String propertyName)
Parameters:
object -
getterMethod -
setterMethod -
field -
propertyName -
See Also:
ObjectTreeNode.ObjectModel

ObjectTreeNode.ObjectModel

public ObjectTreeNode.ObjectModel(Object object)
Parameters:
object -
See Also:
ObjectTreeNode.ObjectModel
Method Detail

getObject

public Object getObject()
Returns:
the object

getField

public Field getField()
Returns:
the field

toString

public String toString()
Overrides:
toString in class Object

getSetterMethod

public Method getSetterMethod()
Returns:
the setterMethod

getGetterMethod

public Method getGetterMethod()
Returns:
the getterMethod

getPropertyName

public String getPropertyName()
Returns:
the propertyName

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.