Class ImportComponentDefinition

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

@MetaschemaAssembly(formalName="Import Component Definition", description="Loads a component definition from another resource.", name="import-component-definition", moduleClass=OscalComponentDefinitionModule.class) public class ImportComponentDefinition extends Object implements dev.metaschema.core.model.IBoundObject
Loads a component definition from another resource.
  • Constructor Details

    • ImportComponentDefinition

      Constructs a new dev.metaschema.oscal.lib.model.ImportComponentDefinition instance with no metadata.
    • ImportComponentDefinition

      public ImportComponentDefinition(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.ImportComponentDefinition 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 "Hyperlink Reference".

      A link to a resource that defines a set of components and/or capabilities to import into this collection.

      Returns:
      the href value
    • setHref

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

      A link to a resource that defines a set of components and/or capabilities to import into this collection.

      Parameters:
      value - the href value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object