Package gov.nist.secauto.oscal.lib.model
Class AssessmentSubjectPlaceholder
java.lang.Object
gov.nist.secauto.oscal.lib.model.AssessmentSubjectPlaceholder
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Assessment Subject Placeholder",
description="Used when the assessment subjects will be determined as part of one or more other assessment activities. These assessment subjects will be recorded in the assessment results in the assessment log.",
name="assessment-subject-placeholder",
moduleClass=OscalAssessmentCommonModule.class)
public class AssessmentSubjectPlaceholder
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Used when the assessment subjects will be determined as part of one or more other assessment activities. These assessment subjects will be recorded in the assessment results in the assessment log.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAssessment subjects will be identified while conducting the referenced activity-instance. -
Constructor Summary
ConstructorsConstructorDescriptionAssessmentSubjectPlaceholder(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetUuid()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidtoString()
-
Constructor Details
-
AssessmentSubjectPlaceholder
public AssessmentSubjectPlaceholder() -
AssessmentSubjectPlaceholder
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getDescription
-
setDescription
-
getSources
-
setSources
-
addSource
Add a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSource
Remove the first matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-