Package gov.nist.secauto.oscal.lib.model
Class BackMatter.Resource.Citation
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.BackMatter.Resource.Citation
-
- Enclosing class:
- BackMatter.Resource
@MetaschemaAssembly(formalName="Citation", description="An optional citation consisting of end note text using structured markup.", name="citation", metaschema=OscalMetadataMetaschema.class) public static class BackMatter.Resource.Citation extends ObjectAn optional citation consisting of end note text using structured markup.
-
-
Constructor Summary
Constructors Constructor Description Citation()
-
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.List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLinegetText()booleanremoveLink(Link item)Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item)Remove the first matchingPropertyitem from the underlying collection.voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetText(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)StringtoString()
-
-
-
Constructor Detail
-
Citation
public Citation()
-
-
Method Detail
-
getText
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine getText()
-
setText
public void setText(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
-
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
-
-