Class MappedControlMatching

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

@MetaschemaAssembly(formalName="Match Controls by Pattern", description="Selecting a set of controls by matching their IDs with a wildcard pattern.", name="matching", moduleClass=OscalMappingCommonModule.class) public class MappedControlMatching extends Object implements dev.metaschema.core.model.IBoundObject
Selecting a set of controls by matching their IDs with a wildcard pattern.
  • Constructor Details

    • MappedControlMatching

      Constructs a new dev.metaschema.oscal.lib.model.MappedControlMatching instance with no metadata.
    • MappedControlMatching

      public MappedControlMatching(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.MappedControlMatching 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
    • getPattern

      @Nullable public String getPattern()
      Get the "Pattern".

      A glob expression matching the IDs of one or more controls to be selected.

      Returns:
      the pattern value, or null if not set
    • setPattern

      public void setPattern(@Nullable String value)
      Set the "Pattern".

      A glob expression matching the IDs of one or more controls to be selected.

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

      public String toString()
      Overrides:
      toString in class Object