Class Profile
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject,IOscalInstance
profile element.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddImport(ProfileImport item) Add a newProfileImportitem to the underlying collection.Get the "Back matter".Get the "Import Resource".getMerge()Get the "Merge Controls".Get the "Document Metadata".dev.metaschema.core.model.IMetaschemaDataGet the "Modify Controls".getUuid()Get the "Profile Universally Unique Identifier".booleanremoveImport(ProfileImport item) Remove the first matchingProfileImportitem from the underlying collection.voidsetBackMatter(BackMatter value) Set the "Back matter".voidsetImports(List<ProfileImport> value) Set the "Import Resource".voidSet the "Merge Controls".voidsetMetadata(Metadata value) Set the "Document Metadata".voidSet the "Modify Controls".voidSet the "Profile Universally Unique Identifier".toString()Methods inherited from class dev.metaschema.oscal.lib.model.AbstractOscalInstance
getResourceByUuid
-
Constructor Details
-
Profile
public Profile()Constructs a newdev.metaschema.oscal.lib.model.Profileinstance with no metadata. -
Profile
Constructs a newdev.metaschema.oscal.lib.model.Profileinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getUuid
Get the "Profile Universally Unique Identifier".Provides a globally unique means to identify a given profile instance.
- Specified by:
getUuidin interfaceIOscalInstance- Returns:
- the uuid value
-
setUuid
Set the "Profile Universally Unique Identifier".Provides a globally unique means to identify a given profile instance.
- Parameters:
value- the uuid value to set
-
getMetadata
Get the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Specified by:
getMetadatain interfaceIOscalInstance- Returns:
- the metadata value
-
setMetadata
Set the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Parameters:
value- the metadata value to set
-
getImports
Get the "Import Resource".Designates a referenced source catalog or profile that provides a source of control information for use in creating a new overlay or baseline.
- Returns:
- the import value
-
setImports
Set the "Import Resource".Designates a referenced source catalog or profile that provides a source of control information for use in creating a new overlay or baseline.
- Parameters:
value- the import value to set
-
addImport
Add a newProfileImportitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeImport
Remove the first matchingProfileImportitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getMerge
Get the "Merge Controls".Provides structuring directives that instruct how controls are organized after profile resolution.
- Returns:
- the merge value, or
nullif not set
-
setMerge
Set the "Merge Controls".Provides structuring directives that instruct how controls are organized after profile resolution.
- Parameters:
value- the merge value to set, ornullto clear
-
getModify
Get the "Modify Controls".Set parameters or amend controls in resolution.
- Returns:
- the modify value, or
nullif not set
-
setModify
Set the "Modify Controls".Set parameters or amend controls in resolution.
- Parameters:
value- the modify value to set, ornullto clear
-
getBackMatter
Get the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Specified by:
getBackMatterin interfaceIOscalInstance- Returns:
- the back-matter value, or
nullif not set
-
setBackMatter
Set the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Parameters:
value- the back-matter value to set, ornullto clear
-
toString
-