Class RelatedTask.IdentifiedSubject
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- RelatedTask
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.RelatedTask.IdentifiedSubjectinstance with no metadata.IdentifiedSubject(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.RelatedTask.IdentifiedSubjectinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSubject(AssessmentSubject item) Add a newAssessmentSubjectitem to the underlying collection.dev.metaschema.core.model.IMetaschemaDataGet the "Assessment Subject Placeholder Universally Unique Identifier Reference".Get the "Subject of Assessment".booleanRemove the first matchingAssessmentSubjectitem from the underlying collection.voidsetSubjectPlaceholderUuid(UUID value) Set the "Assessment Subject Placeholder Universally Unique Identifier Reference".voidsetSubjects(List<AssessmentSubject> value) Set the "Subject of Assessment".toString()
-
Constructor Details
-
IdentifiedSubject
public IdentifiedSubject()Constructs a newdev.metaschema.oscal.lib.model.RelatedTask.IdentifiedSubjectinstance with no metadata. -
IdentifiedSubject
Constructs a newdev.metaschema.oscal.lib.model.RelatedTask.IdentifiedSubjectinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getSubjectPlaceholderUuid
Get the "Assessment Subject Placeholder Universally Unique Identifier Reference".A machine-oriented identifier reference to a unique assessment subject placeholder defined by this task.
- Returns:
- the subject-placeholder-uuid value
-
setSubjectPlaceholderUuid
Set the "Assessment Subject Placeholder Universally Unique Identifier Reference".A machine-oriented identifier reference to a unique assessment subject placeholder defined by this task.
- Parameters:
value- the subject-placeholder-uuid value to set
-
getSubjects
Get the "Subject of Assessment".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.
- Returns:
- the subject value
-
setSubjects
Set the "Subject of Assessment".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.
- Parameters:
value- the subject value to set
-
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
-