@Immutable public class ClassAttribute extends Object implements Serializable
The purpose of this class is to carry information about single attribute of POJO class.
| Modifier and Type | Field and Description |
|---|---|
private Field |
attribute
The Set of fields belonging to this class
|
private Set<Method> |
getters
The Set of getters for this attribute in the class
|
private static long |
serialVersionUID |
private Set<Method> |
setters
The Set of setters for this attribute in the class
|
| Constructor and Description |
|---|
ClassAttribute(Field attribute,
Set<Method> getters,
Set<Method> setters)
Full constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Field |
getAttribute()
It returns the attribute
|
Set<Method> |
getGetters()
It returns the attribute getters
|
(package private) Set<Method> |
getRawGetters() |
(package private) Set<Method> |
getRawSetters() |
Set<Method> |
getSetters()
It returns the attribute setters
|
int |
hashCode() |
String |
toString() |
private static final long serialVersionUID
private final Field attribute
public Field getAttribute()
Copyright © 2015. All rights reserved.