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 Object
An 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 boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine
getText()
boolean
removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.boolean
removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setText(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupLine value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-