Package gov.nist.secauto.oscal.lib.model
Class Observation.RelevantEvidence
java.lang.Object
gov.nist.secauto.oscal.lib.model.Observation.RelevantEvidence
- All Implemented Interfaces:
- gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Observation
@MetaschemaAssembly(formalName="Relevant Evidence",
                    description="Links this observation to relevant evidence.",
                    name="relevant-evidence",
                    moduleClass=OscalAssessmentCommonModule.class)
public static class Observation.RelevantEvidence
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Links this observation to relevant evidence.
- 
Constructor SummaryConstructorsConstructorDescriptionRelevantEvidence(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetHref()getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
- 
Constructor Details- 
RelevantEvidencepublic RelevantEvidence()
- 
RelevantEvidence
 
- 
- 
Method Details- 
getMetaschemaData- Specified by:
- getMetaschemaDatain interface- gov.nist.secauto.metaschema.core.model.IBoundObject
 
- 
getHref
- 
setHref
- 
getDescription
- 
setDescription
- 
getProps
- 
setProps
- 
addPropAdd a newPropertyitem to the underlying collection.- Parameters:
- item- the item to add
- Returns:
- true
 
- 
removePropRemove the first matchingPropertyitem from the underlying collection.- Parameters:
- item- the item to remove
- Returns:
- trueif the item was removed or- falseotherwise
 
- 
getLinks
- 
setLinks
- 
addLinkAdd a newLinkitem to the underlying collection.- Parameters:
- item- the item to add
- Returns:
- true
 
- 
removeLinkRemove the first matchingLinkitem from the underlying collection.- Parameters:
- item- the item to remove
- Returns:
- trueif the item was removed or- falseotherwise
 
- 
getRemarks
- 
setRemarks
- 
toString
 
-