Package gov.nist.secauto.oscal.lib.model
Class AssessmentSubjectPlaceholder
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AssessmentSubjectPlaceholder
-
@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", metaschema=OscalAssessmentCommonMetaschema.class) public class AssessmentSubjectPlaceholder extends ObjectUsed 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 Classes Modifier and Type Class Description static classAssessmentSubjectPlaceholder.SourceAssessment subjects will be identified while conducting the referenced activity-instance.
-
Constructor Summary
Constructors Constructor Description AssessmentSubjectPlaceholder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.booleanaddSource(AssessmentSubjectPlaceholder.Source item)Add a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()List<AssessmentSubjectPlaceholder.Source>getSources()UUIDgetUuid()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.booleanremoveSource(AssessmentSubjectPlaceholder.Source item)Remove the first matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetSources(List<AssessmentSubjectPlaceholder.Source> value)voidsetUuid(UUID value)StringtoString()
-
-
-
Constructor Detail
-
AssessmentSubjectPlaceholder
public AssessmentSubjectPlaceholder()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getSources
public List<AssessmentSubjectPlaceholder.Source> getSources()
-
setSources
public void setSources(List<AssessmentSubjectPlaceholder.Source> value)
-
addSource
public boolean addSource(AssessmentSubjectPlaceholder.Source item)
Add a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSource
public boolean removeSource(AssessmentSubjectPlaceholder.Source item)
Remove the first matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-