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, wait
getValue, setValue
public PropertyAccessorSupport()
public boolean isConstructorArgument()
PropertyAccessor
isConstructorArgument
in interface PropertyAccessor
public void setConstructorArgumentIndex(int index)
index
- the constructor argument indexpublic int getConstructorArgumentIndex()
PropertyAccessor
getConstructorArgumentIndex
in interface PropertyAccessor