V
- the type of value containedpublic interface DefinitionAccessor<V>
ParamDefinition
. Used to change
parameter values in an automated way without knowing the specific class.Modifier and Type | Interface and Description |
---|---|
static interface |
DefinitionAccessor.Identifier<T>
An identifier wrapping a key object to get a value from a
DefinitionAccessor . |
Modifier and Type | Method and Description |
---|---|
V |
get(DefinitionAccessor.Identifier<?> identifier)
Gets the value the given identifier is pointing at.
|
Set<? extends DefinitionAccessor.Identifier<?>> |
identifiers()
Returns the set of identifiers associated with a value.
|
V |
set(DefinitionAccessor.Identifier<?> identifier,
Object value)
Sets a value pointed at by a given identifier with a given one.
|
Set<? extends DefinitionAccessor.Identifier<?>> identifiers()
V get(DefinitionAccessor.Identifier<?> identifier)
identifier
- the identifier to get the value forIllegalArgumentException
- if the given identifier is invalid or null
NotAutomatable.IllegalAutomationException
- if the given identifier cannot be automatedV set(DefinitionAccessor.Identifier<?> identifier, Object value)
identifier
- the identifier pointing to the value to be setvalue
- the value the identifier is to point atIllegalArgumentException
- if the given identifier is invalid or null
ClassCastException
- if given value's type does not match VNotAutomatable.IllegalAutomationException
- if the given identifier cannot be automated