public final class FieldInstance extends Object
Constructor and Description |
---|
FieldInstance(Topic instance,
FieldAssignment fieldAssignment) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object value,
LifeCycleListener listener)
Add a new FieldValue object.
|
FieldAssignment |
getFieldAssignment()
Returns the assigned field of which this is an instance.
|
Topic |
getInstance()
Returns the topic this field instance is attached to.
|
Collection<? extends Object> |
getValues()
Returns a collection of Objects.
|
void |
removeValue(Object value,
LifeCycleListener listener)
Removes the value.
|
public FieldInstance(Topic instance, FieldAssignment fieldAssignment)
public FieldAssignment getFieldAssignment()
public Topic getInstance()
public Collection<? extends Object> getValues()
public void addValue(Object value, LifeCycleListener listener)
public void removeValue(Object value, LifeCycleListener listener)