Package dev.metaschema.oscal.lib.model
Class Merge.Combine
java.lang.Object
dev.metaschema.oscal.lib.model.Merge.Combine
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Merge
@MetaschemaAssembly(formalName="Combination Rule",
description="A Combine element defines how to resolve duplicate instances of the same control (e.g., controls with the same ID).",
name="combine",
moduleClass=OscalProfileModule.class,
valueConstraints=@ValueConstraints(expect=@Expect(id="oscal-profile-req-merge-combine",level=ERROR,test="not(@method=\'merge\')")))
public static class Merge.Combine
extends Object
implements dev.metaschema.core.model.IBoundObject
A Combine element defines how to resolve duplicate instances of the same control (e.g., controls with the same ID).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Combine
public Combine()Constructs a newdev.metaschema.oscal.lib.model.Merge.Combineinstance with no metadata. -
Combine
Constructs a newdev.metaschema.oscal.lib.model.Merge.Combineinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getMethod
Get the "Combination Method".Declare how clashing controls should be handled.
- Returns:
- the method value, or
nullif not set
-
setMethod
Set the "Combination Method".Declare how clashing controls should be handled.
- Parameters:
value- the method value to set, ornullto clear
-
toString
-