Interface ModelManager<Model>

All Known Implementing Classes:
ModelManagerDefault

public interface ModelManager<Model>
Can be used to create new instances of a model and copy the value of one model into another
  • Method Summary

    Modifier and Type Method Description
    void copyModel​(Model src, Model dst)
    Turns 'dst' into an exact copy of 'src'.
    Model createModelInstance()
    Creates a new instance of the model
  • Method Details

    • createModelInstance

      Model createModelInstance()
      Creates a new instance of the model
      Returns:
      New model instance
    • copyModel

      void copyModel​(Model src, Model dst)
      Turns 'dst' into an exact copy of 'src'. If the model has a variable structure then it is assumed that the two models have the same structure.
      Parameters:
      src - Original model. Not modified.
      dst - Where the copy is written to. Modified.