Class AssessmentAssets.AssessmentPlatform
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- AssessmentAssets
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe set of components that are used by the assessment platform. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentAssets.AssessmentPlatforminstance with no metadata.AssessmentPlatform(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentAssets.AssessmentPlatforminstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newAssessmentAssets.AssessmentPlatform.UsesComponentitem to the underlying collection.getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Assessment Platform Title".Get the "Uses Component".getUuid()Get the "Assessment Platform 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.booleanRemove the first matchingAssessmentAssets.AssessmentPlatform.UsesComponentitem from the underlying collection.voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Assessment Platform Title".voidSet the "Uses Component".voidSet the "Assessment Platform Universally Unique Identifier".toString()
-
Constructor Details
-
AssessmentPlatform
public AssessmentPlatform()Constructs a newdev.metaschema.oscal.lib.model.AssessmentAssets.AssessmentPlatforminstance with no metadata. -
AssessmentPlatform
Constructs a newdev.metaschema.oscal.lib.model.AssessmentAssets.AssessmentPlatforminstance 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 "Assessment Platform Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this assessment platform elsewhere in this or other OSCAL instances. The locally defined UUID of the
assessment platformcan 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 "Assessment Platform Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this assessment platform elsewhere in this or other OSCAL instances. The locally defined UUID of the
assessment platformcan 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 "Assessment Platform Title".The title or name for the assessment platform.
- Returns:
- the title value, or
nullif not set
-
setTitle
Set the "Assessment Platform Title".The title or name for the assessment platform.
- Parameters:
value- the title 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
-
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
-
getUsesComponents
Get the "Uses Component".The set of components that are used by the assessment platform.
- Returns:
- the uses-component value
-
setUsesComponents
public void setUsesComponents(@NonNull List<AssessmentAssets.AssessmentPlatform.UsesComponent> value) Set the "Uses Component".The set of components that are used by the assessment platform.
- Parameters:
value- the uses-component value to set
-
addUsesComponent
Add a newAssessmentAssets.AssessmentPlatform.UsesComponentitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeUsesComponent
Remove the first matchingAssessmentAssets.AssessmentPlatform.UsesComponentitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-