Package gov.nist.secauto.oscal.lib.model
Class BackMatter
java.lang.Object
gov.nist.secauto.oscal.lib.model.metadata.AbstractBackMatter
gov.nist.secauto.oscal.lib.model.BackMatter
- All Implemented Interfaces:
 gov.nist.secauto.metaschema.core.model.IBoundObject,IBackMatter
@MetaschemaAssembly(formalName="Back matter",
                    description="A collection of resources that may be referenced from within the OSCAL document instance.",
                    name="back-matter",
                    moduleClass=OscalMetadataModule.class,
                    remarks="Provides a collection of identified `resource` objects that can be referenced by a `link` with a `rel` value of \"reference\" and an `href` value that is a fragment \"#\" followed by a reference to a reference\'s `uuid`. Other specialized link \"rel\" values also use this pattern when indicated in that context of use.",
                    modelConstraints=@AssemblyConstraints(index=@Index(level=ERROR,target="resource",name="index-back-matter-resource",keyFields=@KeyField(target="@uuid"))))
public class BackMatter
extends AbstractBackMatter
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A collection of resources that may be referenced from within the OSCAL document instance.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA resource associated with content in the containing document instance. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newBackMatter.Resourceitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingBackMatter.Resourceitem from the underlying collection.voidsetResources(List<BackMatter.Resource> value) toString()Methods inherited from class gov.nist.secauto.oscal.lib.model.metadata.AbstractBackMatter
getResourceByUuid 
- 
Constructor Details
- 
BackMatter
public BackMatter() - 
BackMatter
 
 - 
 - 
Method Details
- 
getMetaschemaData
- Specified by:
 getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
 - 
getResources
- Specified by:
 getResourcesin interfaceIBackMatter
 - 
setResources
 - 
addResource
Add a newBackMatter.Resourceitem to the underlying collection.- Parameters:
 item- the item to add- Returns:
 true
 - 
removeResource
Remove the first matchingBackMatter.Resourceitem from the underlying collection.- Parameters:
 item- the item to remove- Returns:
 trueif the item was removed orfalseotherwise
 - 
toString
 
 -