Package gov.nist.secauto.oscal.lib.model
Class AssessmentSubject
java.lang.Object
gov.nist.secauto.oscal.lib.model.AssessmentSubject
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Subject of Assessment",
description="Identifies system elements being assessed, such as components, inventory items, and locations. In the assessment plan, this identifies a planned assessment subject. In the assessment results this is an actual assessment subject, and reflects any changes from the plan. exactly what will be the focus of this assessment. Any subjects not identified in this way are out-of-scope.",
name="assessment-subject",
moduleClass=OscalAssessmentCommonModule.class,
remarks="Processing of an include/exclude pair starts with processing the include, then removing matching entries in the exclude.")
public class AssessmentSubject
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies system elements being assessed, such as components, inventory items, and locations. In the assessment plan, this identifies a planned assessment subject. In the assessment results this is an actual assessment subject, and reflects any changes from the plan. exactly what will be the focus of this assessment. Any subjects not identified in this way are out-of-scope.
-
Constructor Summary
ConstructorDescriptionAssessmentSubject
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newSelectSubjectById
item to the underlying collection.boolean
Add a newSelectSubjectById
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getType()
boolean
Remove the first matchingSelectSubjectById
item from the underlying collection.boolean
Remove the first matchingSelectSubjectById
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setExcludeSubjects
(List<SelectSubjectById> value) void
setIncludeAll
(IncludeAll value) void
setIncludeSubjects
(List<SelectSubjectById> value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
toString()
-
Constructor Details
-
AssessmentSubject
public AssessmentSubject() -
AssessmentSubject
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getType
-
setType
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getIncludeAll
-
setIncludeAll
-
getIncludeSubjects
-
setIncludeSubjects
-
addIncludeSubject
Add a newSelectSubjectById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeSubject
Remove the first matchingSelectSubjectById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getExcludeSubjects
-
setExcludeSubjects
-
addExcludeSubject
Add a newSelectSubjectById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeSubject
Remove the first matchingSelectSubjectById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-