Class ImportProfile

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

@MetaschemaAssembly(formalName="Import Profile", description="Used to import the OSCAL profile representing the system\'s control baseline.", name="import-profile", moduleClass=OscalSspModule.class) public class ImportProfile extends Object implements dev.metaschema.core.model.IBoundObject
Used to import the OSCAL profile representing the system's control baseline.
  • Constructor Summary

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

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

    Methods inherited from class java.lang.Object

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

    • ImportProfile

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

      public ImportProfile(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.ImportProfile 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
    • getHref

      @NonNull public URI getHref()
      Get the "Profile Reference".

      A resolvable URL reference to the profile or catalog to use as the system's control baseline.

      Returns:
      the href value
    • setHref

      public void setHref(@NonNull URI value)
      Set the "Profile Reference".

      A resolvable URL reference to the profile or catalog to use as the system's control baseline.

      Parameters:
      value - the href 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