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
Modifier and TypeClassDescriptionstatic class
A resource associated with content in the containing document instance. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newBackMatter.Resource
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingBackMatter.Resource
item from the underlying collection.void
setResources
(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:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getResources
- Specified by:
getResources
in interfaceIBackMatter
-
setResources
-
addResource
Add a newBackMatter.Resource
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResource
Remove the first matchingBackMatter.Resource
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-