@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Variable
A Variable is serialised as part of the model output only after setup has been run. This means that it is safe to depend upon state that is initialized as part of setup from a @Variable method (such as an AgentSystem).
Modifier and Type | Optional Element and Description |
---|---|
long |
group
Specify the grouping of the this variable.
|
boolean |
initializable
Specify if the variable can be assigned to before setup.
|
java.lang.String |
name
Specify the human-friendly name for this variable.
|
public abstract java.lang.String name