Class Merge

java.lang.Object
dev.metaschema.oscal.lib.model.Merge
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Merge Controls", description="Provides structuring directives that instruct how controls are organized after profile resolution.", name="merge", moduleClass=OscalProfileModule.class) public class Merge extends Object implements dev.metaschema.core.model.IBoundObject
Provides structuring directives that instruct how controls are organized after profile resolution.
  • Constructor Details

    • Merge

      public Merge()
      Constructs a new dev.metaschema.oscal.lib.model.Merge instance with no metadata.
    • Merge

      public Merge(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Merge instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getCombine

      @Nullable public Merge.Combine getCombine()
      Get the "Combination Rule".

      A Combine element defines how to resolve duplicate instances of the same control (e.g., controls with the same ID).

      Returns:
      the combine value, or null if not set
    • setCombine

      public void setCombine(@Nullable Merge.Combine value)
      Set the "Combination Rule".

      A Combine element defines how to resolve duplicate instances of the same control (e.g., controls with the same ID).

      Parameters:
      value - the combine value to set, or null to clear
    • getFlat

      @Nullable public Merge.Flat getFlat()
      Get the "Flat Without Grouping".

      Directs that controls appear without any grouping structure.

      Returns:
      the flat value, or null if not set
    • setFlat

      public void setFlat(@Nullable Merge.Flat value)
      Set the "Flat Without Grouping".

      Directs that controls appear without any grouping structure.

      Parameters:
      value - the flat value to set, or null to clear
    • getAsIs

      @Nullable public Boolean getAsIs()
      Get the "Group As-Is".

      Indicates that the controls selected should retain their original grouping as defined in the import source.

      Returns:
      the as-is value, or null if not set
    • setAsIs

      public void setAsIs(@Nullable Boolean value)
      Set the "Group As-Is".

      Indicates that the controls selected should retain their original grouping as defined in the import source.

      Parameters:
      value - the as-is value to set, or null to clear
    • getCustom

      @Nullable public Merge.Custom getCustom()
      Get the "Custom Grouping".

      Provides an alternate grouping structure that selected controls will be placed in.

      Returns:
      the custom value, or null if not set
    • setCustom

      public void setCustom(@Nullable Merge.Custom value)
      Set the "Custom Grouping".

      Provides an alternate grouping structure that selected controls will be placed in.

      Parameters:
      value - the custom value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object