Package dev.metaschema.oscal.lib.model
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 Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ImportComponentDefinitioninstance with no metadata.ImportComponentDefinition(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ImportComponentDefinitioninstance with the specified metadata. -
Method Summary
-
Constructor Details
-
ImportComponentDefinition
public ImportComponentDefinition()Constructs a newdev.metaschema.oscal.lib.model.ImportComponentDefinitioninstance with no metadata. -
ImportComponentDefinition
Constructs a newdev.metaschema.oscal.lib.model.ImportComponentDefinitioninstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
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
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
-