public abstract class Accessor extends Object implements Comparable<Accessor>
DObject to provide dynamic access to its fields. This class is an implementation
detail that can be safely ignored. It is only a public top-level class to ensure that bindings
for other languages can make use of it without complications.| Modifier and Type | Class and Description |
|---|---|
static class |
Accessor.ByField
An accessor that assumes DObject fields are public Java fields.
|
| Modifier and Type | Field and Description |
|---|---|
String |
name
The name of this attribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Accessor other) |
abstract Object |
get(DObject obj)
Gets the current value of this attribute.
|
abstract void |
set(DObject obj,
Object value)
Updates the current value of this attribute.
|
Copyright © 2015. All rights reserved.