|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.beans.result.BeanMethodInformation
public class BeanMethodInformation
Information object for methods of bean classes.
| Field Summary | |
|---|---|
protected boolean |
isGetter
|
protected boolean |
isGetterWithAdditionalArguments
|
protected boolean |
isSetter
|
protected boolean |
isSetterWithAdditionalArguments
|
protected Method |
method
|
protected String |
referencedFieldName
|
| Constructor Summary | |
|---|---|
BeanMethodInformation(boolean isGetter,
boolean isSetter,
boolean isGetterWithAdditionalArguments,
boolean isSetterWithAdditionalArguments,
String referencedFieldName,
Method method)
|
|
| Method Summary | |
|---|---|
Method |
getMethod()
Returns the underlying Method. |
String |
getPropertyName()
Get the field name which is referenced by this method. |
boolean |
isFieldAccessMethod()
Returns true, if the given method is a field access method. |
boolean |
isGetter()
Returns true, if the method has no parameters but a return type. |
boolean |
isGetterWithAdditionalArguments()
Returns true, if a method begins with "get" or "is" and has more than one parameter and at least two and has a return type. |
boolean |
isSetter()
Is true, if a method has only one parameter and begins with "set". |
boolean |
isSetterWithAdditionalArguments()
Returns true, if a method begins with "set" and has at least two parameter or more. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean isGetter
protected boolean isSetter
protected boolean isGetterWithAdditionalArguments
protected boolean isSetterWithAdditionalArguments
protected String referencedFieldName
protected Method method
| Constructor Detail |
|---|
public BeanMethodInformation(boolean isGetter,
boolean isSetter,
boolean isGetterWithAdditionalArguments,
boolean isSetterWithAdditionalArguments,
String referencedFieldName,
Method method)
isGetter - isSetter - isGetterWithAdditionalArguments - isSetterWithAdditionalArguments - referencedFieldName - method - | Method Detail |
|---|
public boolean isFieldAccessMethod()
public boolean isGetter()
public boolean isSetter()
public String getPropertyName()
public Method getMethod()
Method.
public boolean isGetterWithAdditionalArguments()
public boolean isSetterWithAdditionalArguments()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||