Package gov.nist.secauto.oscal.lib.model
Class ParameterSelection
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ParameterSelection
-
@MetaschemaAssembly(formalName="Selection", description="Presenting a choice among alternatives.", name="parameter-selection", metaschema=OscalControlCommonMetaschema.class, remarks="A set of parameter value choices, that may be picked from to set the parameter value.") public class ParameterSelection extends ObjectPresenting a choice among alternatives.
-
-
Constructor Summary
Constructors Constructor Description ParameterSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)Add a newMarkupLineitem to the underlying collection.List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine>getChoice()StringgetHowMany()booleanremoveChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)Remove the first matchingMarkupLineitem from the underlying collection.voidsetChoice(List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine> value)voidsetHowMany(String value)StringtoString()
-
-
-
Constructor Detail
-
ParameterSelection
public ParameterSelection()
-
-
Method Detail
-
getHowMany
public String getHowMany()
-
setHowMany
public void setHowMany(String value)
-
getChoice
public List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine> getChoice()
-
setChoice
public void setChoice(List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine> value)
-
addChoice
public boolean addChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)
Add a newMarkupLineitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeChoice
public boolean removeChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)
Remove the first matchingMarkupLineitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-