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
ConstructorsConstructorDescriptionIdentifiedSubject(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSubject(AssessmentSubject item) Add a newAssessmentSubjectitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingAssessmentSubjectitem from the underlying collection.voidsetSubjectPlaceholderUuid(UUID value) voidsetSubjects(List<AssessmentSubject> value) toString()
-
Constructor Details
-
IdentifiedSubject
public IdentifiedSubject() -
IdentifiedSubject
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getSubjectPlaceholderUuid
-
setSubjectPlaceholderUuid
-
getSubjects
-
setSubjects
-
addSubject
Add a newAssessmentSubjectitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSubject
Remove the first matchingAssessmentSubjectitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-