Package dev.metaschema.oscal.lib.model
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Combine element defines how to resolve duplicate instances of the same control (e.g., controls with the same ID).static classProvides an alternate grouping structure that selected controls will be placed in.static classDirects that controls appear without any grouping structure. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAsIs()Get the "Group As-Is".Get the "Combination Rule".Get the "Custom Grouping".getFlat()Get the "Flat Without Grouping".dev.metaschema.core.model.IMetaschemaDatavoidSet the "Group As-Is".voidsetCombine(Merge.Combine value) Set the "Combination Rule".voidsetCustom(Merge.Custom value) Set the "Custom Grouping".voidsetFlat(Merge.Flat value) Set the "Flat Without Grouping".toString()
-
Constructor Details
-
Merge
public Merge()Constructs a newdev.metaschema.oscal.lib.model.Mergeinstance with no metadata. -
Merge
Constructs a newdev.metaschema.oscal.lib.model.Mergeinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
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
nullif not set
-
setCombine
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, ornullto clear
-
getFlat
Get the "Flat Without Grouping".Directs that controls appear without any grouping structure.
- Returns:
- the flat value, or
nullif not set
-
setFlat
Set the "Flat Without Grouping".Directs that controls appear without any grouping structure.
- Parameters:
value- the flat value to set, ornullto clear
-
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
nullif not set
-
setAsIs
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, ornullto clear
-
getCustom
Get the "Custom Grouping".Provides an alternate grouping structure that selected controls will be placed in.
- Returns:
- the custom value, or
nullif not set
-
setCustom
Set the "Custom Grouping".Provides an alternate grouping structure that selected controls will be placed in.
- Parameters:
value- the custom value to set, ornullto clear
-
toString
-