public interface IAccess
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
accepted(Object target,
String name,
Object... args)
Get the accepted type(s) for a feature assignment or arguments.
|
Class<?> |
expected(Object target,
String name,
Object... args)
Get the expected type(s) for a feature.
|
Object |
get(Object target,
String name,
Object... args)
Get the feature value.
|
Annotation[] |
getAnnotations()
Get the annotation information of a given access.
|
boolean |
hasFeature()
Check if access has feature associated or null.
|
void |
set(Object target,
String name,
Object... args)
Set the value to a given feature.
|
boolean |
valid(Object target,
String name,
Object... args)
Check if the given arguments are compatible with the feature named.
|
void set(Object target, String name, Object... args) throws Exception
target - The target object.name - The feature reference.args - The arguments.Exception - On processing errors.Object get(Object target, String name, Object... args) throws Exception
target - The target object.name - The feature reference.args - The arguments, if any.Exception - On processing errors.boolean valid(Object target, String name, Object... args)
target - The target object.name - The feature reference.args - The arguments.Class<?> expected(Object target, String name, Object... args)
target - The target object.name - The feature reference.args - The arguments.Class<?>[] accepted(Object target, String name, Object... args)
target - The target object.name - The feature reference.args - The arguments.boolean hasFeature()
Annotation[] getAnnotations()
Copyright © 2016. All rights reserved.