Interface UpdatableBaselineCollectionElementsField

All Superinterfaces:
BaselineCollectionElementsField, CanRender<Renderer<? extends Renderer<?>>>, Field, Iterable<BaselineCollectionElement>, IterableField<BaselineCollectionElement>, IterableWithSize<BaselineCollectionElement>

public interface UpdatableBaselineCollectionElementsField extends BaselineCollectionElementsField
Since:
3.20.1
  • Method Details

    • addElement

      BaselineCollectionElement addElement(@NotNull ModelObjectReference objectReference)
      Adds or updates the element for the given object.

      The element's revision is set or updated to the requested revision from the reference.

      Returns:
      the existing or created element for the object.
    • removeElement

      void removeElement(@NotNull ModelObjectReference objectReference)
      Removes the element for the given object if there is one. (Ignores revision.)