public class MethodProperty extends GenericProperty
A MethodProperty
is a Property
which is accessed
through accessor methods (setX, getX). It is possible to have a
MethodProperty
which has only setter, only getter, or both. It
is not possible to have a MethodProperty
which has neither
setter nor getter.
Constructor and Description |
---|
MethodProperty(java.beans.PropertyDescriptor property) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.Object object) |
boolean |
isReadable() |
boolean |
isWritable() |
void |
set(java.lang.Object object,
java.lang.Object value) |
getActualTypeArguments
public void set(java.lang.Object object, java.lang.Object value) throws java.lang.Exception
public boolean isWritable()
isWritable
in class Property
public boolean isReadable()
isReadable
in class Property