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 Object
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
Constructors Constructor Description AssessmentSubject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addExcludeSubject(SelectSubjectById item)
Add a newSelectSubjectById
item to the underlying collection.boolean
addIncludeSubject(SelectSubjectById item)
Add a newSelectSubjectById
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<SelectSubjectById>
getExcludeSubjects()
IncludeAll
getIncludeAll()
List<SelectSubjectById>
getIncludeSubjects()
List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
String
getType()
boolean
removeExcludeSubject(SelectSubjectById item)
Remove the first matchingSelectSubjectById
item from the underlying collection.boolean
removeIncludeSubject(SelectSubjectById item)
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.model.common.datatype.markup.MarkupMultiline value)
void
setExcludeSubjects(List<SelectSubjectById> value)
void
setIncludeAll(IncludeAll value)
void
setIncludeSubjects(List<SelectSubjectById> value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setType(String value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
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 newSelectSubjectById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeSubject
public boolean removeIncludeSubject(SelectSubjectById item)
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
public List<SelectSubjectById> getExcludeSubjects()
-
setExcludeSubjects
public void setExcludeSubjects(List<SelectSubjectById> value)
-
addExcludeSubject
public boolean addExcludeSubject(SelectSubjectById item)
Add a newSelectSubjectById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeSubject
public boolean removeExcludeSubject(SelectSubjectById item)
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
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)
-
-