Package gov.nist.secauto.oscal.lib.model
Class RelatedTask.IdentifiedSubject
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.RelatedTask.IdentifiedSubject
-
- Enclosing class:
- RelatedTask
@MetaschemaAssembly(formalName="Identified Subject", description="Used to detail assessment subjects that were identfied by this task.", name="identified-subject", metaschema=OscalAssessmentCommonMetaschema.class) public static class RelatedTask.IdentifiedSubject extends Object
Used to detail assessment subjects that were identfied by this task.
-
-
Constructor Summary
Constructors Constructor Description IdentifiedSubject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addSubject(AssessmentSubject item)
Add a newAssessmentSubject
item to the underlying collection.UUID
getSubjectPlaceholderUuid()
List<AssessmentSubject>
getSubjects()
boolean
removeSubject(AssessmentSubject item)
Remove the first matchingAssessmentSubject
item from the underlying collection.void
setSubjectPlaceholderUuid(UUID value)
void
setSubjects(List<AssessmentSubject> value)
String
toString()
-
-
-
Constructor Detail
-
IdentifiedSubject
public IdentifiedSubject()
-
-
Method Detail
-
getSubjectPlaceholderUuid
public UUID getSubjectPlaceholderUuid()
-
setSubjectPlaceholderUuid
public void setSubjectPlaceholderUuid(UUID value)
-
getSubjects
public List<AssessmentSubject> getSubjects()
-
setSubjects
public void setSubjects(List<AssessmentSubject> value)
-
addSubject
public boolean addSubject(AssessmentSubject item)
Add a newAssessmentSubject
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeSubject
public boolean removeSubject(AssessmentSubject item)
Remove the first matchingAssessmentSubject
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-