Class Status

java.lang.Object
dev.metaschema.oscal.lib.model.Status
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Status", description="Describes the operational status of the system.", name="status", moduleClass=OscalSspModule.class, remarks="If \'other\' is selected, a remark must be included to describe the current state.") public class Status extends Object implements dev.metaschema.core.model.IBoundObject
Describes the operational status of the system.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new dev.metaschema.oscal.lib.model.Status instance with no metadata.
    Status(dev.metaschema.core.model.IMetaschemaData data)
    Constructs a new dev.metaschema.oscal.lib.model.Status instance with the specified metadata.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.metaschema.core.model.IMetaschemaData
     
    dev.metaschema.core.datatype.markup.MarkupMultiline
    Get the "Remarks".
    Get the "State".
    void
    setRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value)
    Set the "Remarks".
    void
    Set the "State".
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Status

      public Status()
      Constructs a new dev.metaschema.oscal.lib.model.Status instance with no metadata.
    • Status

      public Status(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Status instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getState

      @NonNull public String getState()
      Get the "State".

      The current operating status.

      Returns:
      the state value
    • setState

      public void setState(@NonNull String value)
      Set the "State".

      The current operating status.

      Parameters:
      value - the state value to set
    • getRemarks

      @Nullable public dev.metaschema.core.datatype.markup.MarkupMultiline getRemarks()
      Get the "Remarks".

      Additional commentary about the containing object.

      Returns:
      the remarks value, or null if not set
    • setRemarks

      public void setRemarks(@Nullable dev.metaschema.core.datatype.markup.MarkupMultiline value)
      Set the "Remarks".

      Additional commentary about the containing object.

      Parameters:
      value - the remarks value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object