Class AssessmentSubjectPlaceholder
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAssessment subjects will be identified while conducting the referenced activity-instance. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectPlaceholderinstance with no metadata.AssessmentSubjectPlaceholder(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectPlaceholderinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Assessment Subject Placeholder Description".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Assessment Subject Source".getUuid()Get the "Assessment Subject Placeholder 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 matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Assessment Subject Placeholder Description".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidSet the "Assessment Subject Source".voidSet the "Assessment Subject Placeholder Universally Unique Identifier".toString()
-
Constructor Details
-
AssessmentSubjectPlaceholder
public AssessmentSubjectPlaceholder()Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectPlaceholderinstance with no metadata. -
AssessmentSubjectPlaceholder
Constructs a newdev.metaschema.oscal.lib.model.AssessmentSubjectPlaceholderinstance 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 Subject Placeholder Universally Unique Identifier".A machine-oriented, globally unique identifier for a set of assessment subjects that will be identified by a task or an activity that is part of a task. The locally defined UUID of the
assessment subject placeholdercan 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 Subject Placeholder Universally Unique Identifier".A machine-oriented, globally unique identifier for a set of assessment subjects that will be identified by a task or an activity that is part of a task. The locally defined UUID of the
assessment subject placeholdercan 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
-
getDescription
Get the "Assessment Subject Placeholder Description".A human-readable description of intent of this assessment subject placeholder.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Assessment Subject Placeholder Description".A human-readable description of intent of this assessment subject placeholder.
- Parameters:
value- the description value to set, ornullto clear
-
getSources
Get the "Assessment Subject Source".Assessment subjects will be identified while conducting the referenced activity-instance.
- Returns:
- the source value
-
setSources
Set the "Assessment Subject Source".Assessment subjects will be identified while conducting the referenced activity-instance.
- Parameters:
value- the source value to set
-
addSource
Add a newAssessmentSubjectPlaceholder.Sourceitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSource
Remove the first matchingAssessmentSubjectPlaceholder.Sourceitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-
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
-