Class FieldInstance

java.lang.Object
ontopoly.model.FieldInstance

public final class FieldInstance extends Object
Represents a populated field attached to an instance topic.
  • Constructor Details

  • Method Details

    • getFieldAssignment

      public FieldAssignment getFieldAssignment()
      Returns the assigned field of which this is an instance.
    • getInstance

      public Topic getInstance()
      Returns the topic this field instance is attached to.
    • getValues

      public Collection<? extends Object> getValues()
      Returns a collection of Objects.
    • addValue

      public void addValue(Object value, LifeCycleListener listener)
      Add a new FieldValue object.
    • removeValue

      public void removeValue(Object value, LifeCycleListener listener)
      Removes the value.