public class FieldAccess extends Object
Constructor and Description |
---|
FieldAccess(name : SarlName,
field : Field,
instance : Object)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get()
Replies the value of the field.
|
Field |
getField() |
Object |
getInstance() |
SarlName |
getName() |
Object |
set(value : Object)
Change the value of the field.
|
String |
toString() |
@Pure
public def
get() : Object
FieldAccess
public def
set(value : Object) : Object
throws IllegalArgumentException
FieldAccess
value
- the field's value.IllegalArgumentException
- if the given value cannot be assigned to the field.@Pure
public def
getName() : SarlName
@Pure
public def
getField() : Field
@Pure
public def
getInstance() : Object
Copyright © 2020 the original authors or authors.