Package dev.metaschema.oscal.lib.model
Class ProfileMatching
java.lang.Object
dev.metaschema.oscal.lib.model.ProfileMatching
- 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=OscalProfileModule.class)
public class ProfileMatching
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.ProfileMatchinginstance with no metadata.ProfileMatching(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ProfileMatchinginstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Pattern".voidsetPattern(String value) Set the "Pattern".toString()
-
Constructor Details
-
ProfileMatching
public ProfileMatching()Constructs a newdev.metaschema.oscal.lib.model.ProfileMatchinginstance with no metadata. -
ProfileMatching
Constructs a newdev.metaschema.oscal.lib.model.ProfileMatchinginstance 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
-