io.sarl.api.naming.namespace
Interface IFieldAccessValidator
All Known Implementing Classes:
AnnotationFieldAccessValidator, CapacityFieldAccessValidator, CascadeFieldAccessValidator, OwnerTypeFieldAccessValidator, PublicFieldAccessValidator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or action reference.
@java.lang.FunctionalInterface
interface IFieldAccessValidator
A tool that is able to determine if a field is observable or not.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.naming
Since:
0.12
Action Summary
Modifier and type Action and description
abstract FieldAccessRight getFieldAccessRight(Object,Field)
Check and replies if the access right for the field.
Action Details
getFieldAccessRight(Object,Field)
def getFieldAccessRight(Object,Field) : FieldAccessRight
Check and replies if the access right for the field.
Parameters:
fieldOwner - the object that contains the given field.
field - the field to test.
Returns:
the access right for the given field, never null .