Class BackMatter.Resource
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- BackMatter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA resource encoded using the Base64 alphabet defined by RFC 2045.static classAn optional citation consisting of end note text using structured markup.static classA URL-based pointer to an external resource with an optional hash for verification and change detection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDocumentId(DocumentId item) Add a newDocumentIditem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newBackMatter.Resource.Rlinkitem to the underlying collection.Get the "Base64".Get the "Citation".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Resource Description".Get the "Document Identifier".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Resource link".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Resource Title".getUuid()Get the "Resource Universally Unique Identifier".booleanremoveDocumentId(DocumentId item) Remove the first matchingDocumentIditem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingBackMatter.Resource.Rlinkitem from the underlying collection.voidSet the "Base64".voidSet the "Citation".voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Resource Description".voidsetDocumentIds(List<DocumentId> value) Set the "Document Identifier".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetRlinks(List<BackMatter.Resource.Rlink> value) Set the "Resource link".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Resource Title".voidSet the "Resource Universally Unique Identifier".toString()
-
Constructor Details
-
Resource
public Resource()Constructs a newdev.metaschema.oscal.lib.model.BackMatter.Resourceinstance with no metadata. -
Resource
Constructs a newdev.metaschema.oscal.lib.model.BackMatter.Resourceinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getUuid
Get the "Resource Universally Unique Identifier".A unique identifier for a resource.
- Returns:
- the uuid value
-
setUuid
Set the "Resource Universally Unique Identifier".A unique identifier for a resource.
- Parameters:
value- the uuid value to set
-
getTitle
Get the "Resource Title".An optional name given to the resource, which may be used by a tool for display and navigation.
- Returns:
- the title value, or
nullif not set
-
setTitle
Set the "Resource Title".An optional name given to the resource, which may be used by a tool for display and navigation.
- Parameters:
value- the title value to set, ornullto clear
-
getDescription
Get the "Resource Description".An optional short summary of the resource used to indicate the purpose of the resource.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Resource Description".An optional short summary of the resource used to indicate the purpose of the resource.
- Parameters:
value- the description value to set, ornullto clear
-
getProps
Get the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Returns:
- the prop value
-
setProps
Set the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Parameters:
value- the prop value to set
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getDocumentIds
Get the "Document Identifier".A document identifier qualified by an identifier
scheme.- Returns:
- the document-id value
-
setDocumentIds
Set the "Document Identifier".A document identifier qualified by an identifier
scheme.- Parameters:
value- the document-id value to set
-
addDocumentId
Add a newDocumentIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeDocumentId
Remove the first matchingDocumentIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getCitation
Get the "Citation".An optional citation consisting of end note text using structured markup.
- Returns:
- the citation value, or
nullif not set
-
setCitation
Set the "Citation".An optional citation consisting of end note text using structured markup.
- Parameters:
value- the citation value to set, ornullto clear
-
getRlinks
Get the "Resource link".A URL-based pointer to an external resource with an optional hash for verification and change detection.
- Returns:
- the rlink value
-
setRlinks
Set the "Resource link".A URL-based pointer to an external resource with an optional hash for verification and change detection.
- Parameters:
value- the rlink value to set
-
addRlink
Add a newBackMatter.Resource.Rlinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRlink
Remove the first matchingBackMatter.Resource.Rlinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getBase64
Get the "Base64".A resource encoded using the Base64 alphabet defined by RFC 2045.
- Returns:
- the base64 value, or
nullif not set
-
setBase64
Set the "Base64".A resource encoded using the Base64 alphabet defined by RFC 2045.
- Parameters:
value- the base64 value to set, ornullto clear
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-