Package gov.nist.secauto.oscal.lib.model
Class ProfileImport
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ProfileImport
-
@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", metaschema=OscalProfileMetaschema.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 ObjectDesignates a referenced source catalog or profile that provides a source of control information for use in creating a new overlay or baseline.
-
-
Constructor Summary
Constructors Constructor Description ProfileImport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddExcludeControls(ProfileSelectControlById item)Add a newProfileSelectControlByIditem to the underlying collection.booleanaddIncludeControls(ProfileSelectControlById item)Add a newProfileSelectControlByIditem to the underlying collection.List<ProfileSelectControlById>getExcludeControls()URIgetHref()IncludeAllgetIncludeAll()List<ProfileSelectControlById>getIncludeControls()booleanremoveExcludeControls(ProfileSelectControlById item)Remove the first matchingProfileSelectControlByIditem from the underlying collection.booleanremoveIncludeControls(ProfileSelectControlById item)Remove the first matchingProfileSelectControlByIditem from the underlying collection.voidsetExcludeControls(List<ProfileSelectControlById> value)voidsetHref(URI value)voidsetIncludeAll(IncludeAll value)voidsetIncludeControls(List<ProfileSelectControlById> value)StringtoString()
-
-
-
Constructor Detail
-
ProfileImport
public ProfileImport()
-
-
Method Detail
-
getIncludeAll
public IncludeAll getIncludeAll()
-
setIncludeAll
public void setIncludeAll(IncludeAll value)
-
getIncludeControls
public List<ProfileSelectControlById> getIncludeControls()
-
setIncludeControls
public void setIncludeControls(List<ProfileSelectControlById> value)
-
addIncludeControls
public boolean addIncludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeControls
public boolean removeIncludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeControls
public List<ProfileSelectControlById> getExcludeControls()
-
setExcludeControls
public void setExcludeControls(List<ProfileSelectControlById> value)
-
addExcludeControls
public boolean addExcludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeControls
public boolean removeExcludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-