Package dev.metaschema.oscal.lib.model
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 Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.MappedControlMatchinginstance with no metadata.MappedControlMatching(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.MappedControlMatchinginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Pattern".voidsetPattern(String value) Set the "Pattern".toString()
-
Constructor Details
-
MappedControlMatching
public MappedControlMatching()Constructs a newdev.metaschema.oscal.lib.model.MappedControlMatchinginstance with no metadata. -
MappedControlMatching
Constructs a newdev.metaschema.oscal.lib.model.MappedControlMatchinginstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getPattern
Get the "Pattern".A glob expression matching the IDs of one or more controls to be selected.
- Returns:
- the pattern value, or
nullif not set
-
setPattern
Set the "Pattern".A glob expression matching the IDs of one or more controls to be selected.
- Parameters:
value- the pattern value to set, ornullto clear
-
toString
-