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
ConstructorsConstructorDescriptionParameterSelection(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddChoice(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine item) Add a newMarkupLineitem to the underlying collection.List<gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine>gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanremoveChoice(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine item) Remove the first matchingMarkupLineitem from the underlying collection.voidvoidsetHowMany(String value) toString()
-
Constructor Details
-
ParameterSelection
public ParameterSelection() -
ParameterSelection
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getHowMany
-
setHowMany
-
getChoice
-
setChoice
-
addChoice
Add a newMarkupLineitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeChoice
Remove the first matchingMarkupLineitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-