Interface BaseCmfEntity<T>

All Known Implementing Classes:
Facet, Namespace, Property, Subproperty, Type, Version

public interface BaseCmfEntity<T>
Interface for a model object that can be represented as a CMF object.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mitre.niem.cmf.CMFObject
    addToCmfModel(org.mitre.niem.cmf.Model cmfModel, boolean addDependencies, AddModelReason addModelReason, Test test)
    Add self to the given CMF model if not already there.
     
  • Method Details

    • toCmf

      T toCmf() throws org.mitre.niem.cmf.CMFException
      Throws:
      org.mitre.niem.cmf.CMFException
    • addToCmfModel

      org.mitre.niem.cmf.CMFObject addToCmfModel(org.mitre.niem.cmf.Model cmfModel, boolean addDependencies, AddModelReason addModelReason, Test test) throws org.mitre.niem.cmf.CMFException, EntityNotUniqueException
      Add self to the given CMF model if not already there.
      Parameters:
      cmfModel - The CMF model.
      addDependencies - True to also add dependencies if not already in the CMF model (namespace, type, group); false (default) to just add this property.
      addModelReason - Indicates the reason why a component is being added to the model, either directly due to a task like migration or transformation, or indirectly as a required dependency.
      test - If present, log info to given test object.
      Throws:
      org.mitre.niem.cmf.CMFException
      EntityNotUniqueException