Interface BaseRuntimeChildDefinition.IMutator

All Known Implementing Classes:
BaseRuntimeDeclaredChildDefinition.FieldListMutator, BaseRuntimeDeclaredChildDefinition.FieldPlainMutator
Enclosing class:
BaseRuntimeChildDefinition

public static interface BaseRuntimeChildDefinition.IMutator
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addValue(IBase theTarget, IBase theValue)
     
    default void
    remove(IBase theTarget, int theIndex)
    Remove an item from a list of values
    void
    setValue(IBase theTarget, IBase theValue)
     
  • Method Details

    • addValue

      void addValue(IBase theTarget, IBase theValue)
    • setValue

      void setValue(IBase theTarget, IBase theValue)
    • remove

      default void remove(IBase theTarget, int theIndex)
      Remove an item from a list of values
      Parameters:
      theTarget - field to remove the item from (e.g. patient.name)
      theIndex - the index of the item to be removed (e.g. 1 for patient.name[1])