|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ontopoly.model.FieldInstance
public final class FieldInstance
Represents a populated field attached to an instance topic.
Constructor Summary | |
---|---|
FieldInstance(Topic instance,
FieldAssignment fieldAssignment)
|
Method Summary | |
---|---|
void |
addValue(java.lang.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. |
java.util.Collection<? extends java.lang.Object> |
getValues()
Returns a collection of Objects. |
void |
removeValue(java.lang.Object value,
LifeCycleListener listener)
Removes the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldInstance(Topic instance, FieldAssignment fieldAssignment)
Method Detail |
---|
public FieldAssignment getFieldAssignment()
public Topic getInstance()
public java.util.Collection<? extends java.lang.Object> getValues()
public void addValue(java.lang.Object value, LifeCycleListener listener)
public void removeValue(java.lang.Object value, LifeCycleListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |