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
ConstructorsConstructorDescriptionAssessmentSubject(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectSubjectByIditem to the underlying collection.booleanAdd a newSelectSubjectByIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetType()booleanRemove the first matchingSelectSubjectByIditem from the underlying collection.booleanRemove the first matchingSelectSubjectByIditem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetExcludeSubjects(List<SelectSubjectById> value) voidsetIncludeAll(IncludeAll value) voidsetIncludeSubjects(List<SelectSubjectById> value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidtoString()
-
Constructor Details
-
AssessmentSubject
public AssessmentSubject() -
AssessmentSubject
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getType
-
setType
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getIncludeAll
-
setIncludeAll
-
getIncludeSubjects
-
setIncludeSubjects
-
addIncludeSubject
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeSubject
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeSubjects
-
setExcludeSubjects
-
addExcludeSubject
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeSubject
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-