Package gov.nist.secauto.oscal.lib.model
Class ProfileImport
java.lang.Object
gov.nist.secauto.oscal.lib.model.ProfileImport
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Import Resource",
description="Designates a referenced source catalog or profile that provides a source of control information for use in creating a new overlay or baseline.",
name="import",
moduleClass=OscalProfileModule.class,
remarks="The contents of the `import` element indicate which controls from the source will be included. Controls from the source catalog or profile may be either selected, using the `include-all` or `include-controls` directives, or de-selected (using an `exclude-controls` directive).")
public class ProfileImport
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Designates a referenced source catalog or profile that provides a source of control information for use in creating a new overlay or baseline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newProfileSelectControlById
item to the underlying collection.boolean
Add a newProfileSelectControlById
item to the underlying collection.getHref()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingProfileSelectControlById
item from the underlying collection.boolean
Remove the first matchingProfileSelectControlById
item from the underlying collection.void
void
void
setIncludeAll
(IncludeAll value) void
toString()
-
Constructor Details
-
ProfileImport
public ProfileImport() -
ProfileImport
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getHref
-
setHref
-
getIncludeAll
-
setIncludeAll
-
getIncludeControls
-
setIncludeControls
-
addIncludeControls
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControls
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getExcludeControls
-
setExcludeControls
-
addExcludeControls
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControls
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-