public interface PropertyInformation
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of the property.
|
Method |
getReadMethod()
Get the public read method of the property; its getter method.
|
Type |
getReadMethodReturnType()
Get the return type of the read method (getter method) of the property.
|
Method |
getWriteMethod()
Get the public write method of the property; its setter method.
|
Type |
getWriteMethodParameterType()
Get the parameter type of the write method (setter method) of the property.
|
boolean |
isReadable()
Is the property publicly readable?
That is, does the property have a public getter method?
|
boolean |
isReadableWritable()
Is the property both publicly readable and writable?
That is, does the property have both a public getter and public setter method?
|
boolean |
isWritable()
Is the property publicly writable?
That is, does the property have a public setter method?
|
String getName()
boolean isReadable()
true if the property is publicly readable; false otherwise.boolean isWritable()
true if the property is publicly writable; false otherwise.boolean isReadableWritable()
true if the property is publicly readable and publicly writable; false
otherwise.Method getReadMethod()
null is
returned.Method getWriteMethod()
null is
returned.Type getReadMethodReturnType()
nullType getWriteMethodParameterType() throws IllegalArgumentException
nullIllegalArgumentException - If the write method takes more than one parameter, or zero parameters.Copyright © 2010–2020 meanbean. All rights reserved.