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 Object
Presenting a choice among alternatives.
-
-
Constructor Summary
Constructors Constructor Description ParameterSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)
Add a newMarkupLine
item to the underlying collection.List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine>
getChoice()
String
getHowMany()
boolean
removeChoice(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine item)
Remove the first matchingMarkupLine
item from the underlying collection.void
setChoice(List<gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine> value)
void
setHowMany(String value)
String
toString()
-
-
-
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 newMarkupLine
item 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 matchingMarkupLine
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-