Class SystemImplementation.LeveragedAuthorization
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- SystemImplementation
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.SystemImplementation.LeveragedAuthorizationinstance with no metadata.LeveragedAuthorization(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.SystemImplementation.LeveragedAuthorizationinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.dev.metaschema.core.datatype.object.AmbiguousDateGet the "System Authorization Date".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDataGet the "party-uuid field".getProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "title field".getUuid()Get the "Leveraged Authorization Universally Unique Identifier".booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDateAuthorized(dev.metaschema.core.datatype.object.AmbiguousDate value) Set the "System Authorization Date".voidSet the "Link".voidsetPartyUuid(UUID value) Set the "party-uuid field".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "title field".voidSet the "Leveraged Authorization Universally Unique Identifier".toString()
-
Constructor Details
-
LeveragedAuthorization
public LeveragedAuthorization()Constructs a newdev.metaschema.oscal.lib.model.SystemImplementation.LeveragedAuthorizationinstance with no metadata. -
LeveragedAuthorization
Constructs a newdev.metaschema.oscal.lib.model.SystemImplementation.LeveragedAuthorizationinstance 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 "Leveraged Authorization Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope and can be used to reference this leveraged authorization elsewhere in this or other OSCAL instances. The locally defined UUID of the
leveraged authorizationcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Returns:
- the uuid value
-
setUuid
Set the "Leveraged Authorization Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope and can be used to reference this leveraged authorization elsewhere in this or other OSCAL instances. The locally defined UUID of the
leveraged authorizationcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance). This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Parameters:
value- the uuid value to set
-
getTitle
Get the "title field".A human readable name for the leveraged authorization in the context of the system.
- Returns:
- the title value
-
setTitle
Set the "title field".A human readable name for the leveraged authorization in the context of the system.
- Parameters:
value- the title value to set
-
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
-
getLinks
Get the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Returns:
- the link value
-
setLinks
Set the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Parameters:
value- the link value to set
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getPartyUuid
Get the "party-uuid field".A machine-oriented identifier reference to the
partythat manages the leveraged system.- Returns:
- the party-uuid value
-
setPartyUuid
Set the "party-uuid field".A machine-oriented identifier reference to the
partythat manages the leveraged system.- Parameters:
value- the party-uuid value to set
-
getDateAuthorized
Get the "System Authorization Date".The date the system received its authorization.
- Returns:
- the date-authorized value
-
setDateAuthorized
Set the "System Authorization Date".The date the system received its authorization.
- Parameters:
value- the date-authorized value to set
-
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
-