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 Object
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
Constructors Constructor Description ProfileImport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addExcludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlById
item to the underlying collection.boolean
addIncludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlById
item to the underlying collection.List<ProfileSelectControlById>
getExcludeControls()
URI
getHref()
IncludeAll
getIncludeAll()
List<ProfileSelectControlById>
getIncludeControls()
boolean
removeExcludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlById
item from the underlying collection.boolean
removeIncludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlById
item from the underlying collection.void
setExcludeControls(List<ProfileSelectControlById> value)
void
setHref(URI value)
void
setIncludeAll(IncludeAll value)
void
setIncludeControls(List<ProfileSelectControlById> value)
String
toString()
-
-
-
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 newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControls
public boolean removeIncludeControls(ProfileSelectControlById item)
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
public List<ProfileSelectControlById> getExcludeControls()
-
setExcludeControls
public void setExcludeControls(List<ProfileSelectControlById> value)
-
addExcludeControls
public boolean addExcludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControls
public boolean removeExcludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-