Package dev.metaschema.oscal.lib.model
Class ProfileMatching
java.lang.Object
dev.metaschema.oscal.lib.model.control.AbstractControlMatching
dev.metaschema.oscal.lib.model.ProfileMatching
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject,IControlMatching
@MetaschemaAssembly(formalName="Match Controls by Pattern",
description="Selecting a set of controls by matching their IDs with a wildcard pattern.",
name="matching",
moduleClass=OscalControlCommonModule.class)
public class ProfileMatching
extends AbstractControlMatching
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".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".voidsetPattern(String value) Set the "Pattern".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".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.
- Specified by:
getPatternin interfaceIControlMatching- 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
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-