public abstract class PropertyAccessorSupport extends Object implements PropertyAccessor
PropertyAccessor implementations.| Constructor and Description |
|---|
PropertyAccessorSupport()
Constructs a new PropertyAccessorSupport.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructorArgumentIndex()
Returns the constructor argument index, or -1 if this property is
not a constructor argument.
|
boolean |
isConstructorArgument()
Returns whether this property is a constructor argument.
|
void |
setConstructorArgumentIndex(int index)
Sets the constructor argument index (starting at 0).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, setValuepublic PropertyAccessorSupport()
public boolean isConstructorArgument()
PropertyAccessorisConstructorArgument in interface PropertyAccessorpublic void setConstructorArgumentIndex(int index)
index - the constructor argument indexpublic int getConstructorArgumentIndex()
PropertyAccessorgetConstructorArgumentIndex in interface PropertyAccessor