Package gov.nist.secauto.oscal.lib.model
Class RelatedTask.IdentifiedSubject
java.lang.Object
gov.nist.secauto.oscal.lib.model.RelatedTask.IdentifiedSubject
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- RelatedTask
@MetaschemaAssembly(formalName="Identified Subject",
description="Used to detail assessment subjects that were identfied by this task.",
name="identified-subject",
moduleClass=OscalAssessmentCommonModule.class)
public static class RelatedTask.IdentifiedSubject
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Used to detail assessment subjects that were identfied by this task.
-
Constructor Summary
ConstructorDescriptionIdentifiedSubject
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addSubject
(AssessmentSubject item) Add a newAssessmentSubject
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingAssessmentSubject
item from the underlying collection.void
setSubjectPlaceholderUuid
(UUID value) void
setSubjects
(List<AssessmentSubject> value) toString()
-
Constructor Details
-
IdentifiedSubject
public IdentifiedSubject() -
IdentifiedSubject
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getSubjectPlaceholderUuid
-
setSubjectPlaceholderUuid
-
getSubjects
-
setSubjects
-
addSubject
Add a newAssessmentSubject
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeSubject
Remove the first matchingAssessmentSubject
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-