org.omnaest.utils.structure.hierarchy.tree.object
Class ObjectTreeNode.ObjectModel
java.lang.Object
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
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
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.