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(PropertyDescriptor property) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object object) |
boolean |
isReadable() |
boolean |
isWritable() |
void |
set(Object object,
Object value) |
getActualTypeArguments
public MethodProperty(PropertyDescriptor property)
public boolean isWritable()
isWritable
in class Property
public boolean isReadable()
isReadable
in class Property
Copyright © 2008–2016. All rights reserved.