Package gov.nist.secauto.oscal.lib.model
Class ParameterSelection
java.lang.Object
gov.nist.secauto.oscal.lib.model.ParameterSelection
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Selection",
description="Presenting a choice among alternatives.",
name="parameter-selection",
moduleClass=OscalControlCommonModule.class,
remarks="A set of parameter value choices, that may be picked from to set the parameter value.")
public class ParameterSelection
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Presenting a choice among alternatives.
-
Constructor Summary
ConstructorDescriptionParameterSelection
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addChoice
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine item) Add a newMarkupLine
item to the underlying collection.List<gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine>
gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
removeChoice
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine item) Remove the first matchingMarkupLine
item from the underlying collection.void
void
setHowMany
(String value) toString()
-
Constructor Details
-
ParameterSelection
public ParameterSelection() -
ParameterSelection
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getHowMany
-
setHowMany
-
getChoice
-
setChoice
-
addChoice
Add a newMarkupLine
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeChoice
Remove the first matchingMarkupLine
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-