public interface IPropertySource extends IArrayProvider
IProperty
.Modifier and Type | Method and Description |
---|---|
Object |
getBaseSource() |
Class<?> |
getBaseSourceType() |
Object |
getCurArg()
Get current arg's current source.
|
Class<?> |
getCurArgType()
Get current arg's current source, knowing that it will never give null value,
but Void.class instead.
|
Object |
getCurSource() |
Class<?> |
getCurSourceType() |
boolean |
hasSavedState()
Tells if states have been previously saved.
|
void |
popArgState()
Restores internal argument data saved by
pushArgState() . |
void |
popState()
Restores internal data saved by
pushState() . |
void |
pushArgState()
Saves internal argument data, to be able to restore them with
popArgState() . |
void |
pushState()
Saves internal data, to be able to restore them with
popState() . |
void |
reset(Object source,
Class<?> defaultSourceType)
Resets internal data and states with the provided source and / or type.
|
void |
setCurArg(Object curArg)
Set current arg's current source.
|
void |
setCurArgType(Class<?> curArgType)
Set current arg's current source type.
|
void |
setCurSource(Object curSource) |
void |
setCurSourceType(Class<?> curSourceType) |
getArray, getArray, getArray
void reset(Object source, Class<?> defaultSourceType)
void pushState()
popState()
.pushArgState()
method does it.void popState()
pushState()
.
Arguments are not restored: the popArgState()
method does it.boolean hasSavedState()
Object getCurSource()
void setCurSource(Object curSource)
Object getBaseSource()
Class<?> getCurSourceType()
void setCurSourceType(Class<?> curSourceType)
Class<?> getBaseSourceType()
void pushArgState()
popArgState()
.void popArgState()
pushArgState()
.void setCurArg(Object curArg)
Object getCurArg()
void setCurArgType(Class<?> curArgType)
Class<?> getCurArgType()