Class 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.
    • Method Detail

      • 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 new MarkupLine 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 matching MarkupLine item from the underlying collection.
        Parameters:
        item - the item to remove
        Returns:
        true if the item was removed or false otherwise