Package gov.nist.secauto.oscal.lib.model
Class AssessmentSubject
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentSubject
-
@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", metaschema=OscalAssessmentCommonMetaschema.class, remarks="Processing of an include/exclude pair starts with processing the include, then removing matching entries in the exclude.") public class AssessmentSubject extends ObjectIdentifies 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
Constructors Constructor Description AssessmentSubject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddExcludeSubject(SelectSubjectById item)Add a newSelectSubjectByIditem to the underlying collection.booleanaddIncludeSubject(SelectSubjectById item)Add a newSelectSubjectByIditem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<SelectSubjectById>getExcludeSubjects()IncludeAllgetIncludeAll()List<SelectSubjectById>getIncludeSubjects()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()StringgetType()booleanremoveExcludeSubject(SelectSubjectById item)Remove the first matchingSelectSubjectByIditem from the underlying collection.booleanremoveIncludeSubject(SelectSubjectById item)Remove 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.model.common.datatype.markup.MarkupMultiline value)voidsetExcludeSubjects(List<SelectSubjectById> value)voidsetIncludeAll(IncludeAll value)voidsetIncludeSubjects(List<SelectSubjectById> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetType(String value)StringtoString()
-
-
-
Constructor Detail
-
AssessmentSubject
public AssessmentSubject()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getIncludeAll
public IncludeAll getIncludeAll()
-
setIncludeAll
public void setIncludeAll(IncludeAll value)
-
getIncludeSubjects
public List<SelectSubjectById> getIncludeSubjects()
-
setIncludeSubjects
public void setIncludeSubjects(List<SelectSubjectById> value)
-
addIncludeSubject
public boolean addIncludeSubject(SelectSubjectById item)
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeSubject
public boolean removeIncludeSubject(SelectSubjectById item)
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeSubjects
public List<SelectSubjectById> getExcludeSubjects()
-
setExcludeSubjects
public void setExcludeSubjects(List<SelectSubjectById> value)
-
addExcludeSubject
public boolean addExcludeSubject(SelectSubjectById item)
Add a newSelectSubjectByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeSubject
public boolean removeExcludeSubject(SelectSubjectById item)
Remove the first matchingSelectSubjectByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-