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 Details

  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getHowMany

      public String getHowMany()
    • setHowMany

      public void setHowMany(String value)
    • getChoice

      public List<gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine> getChoice()
    • setChoice

      public void setChoice(List<gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine> value)
    • addChoice

      public boolean addChoice(gov.nist.secauto.metaschema.core.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.core.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
    • toString

      public String toString()
      Overrides:
      toString in class Object