Class FindingTarget
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA determination of if the objective is satisfied or not within a given system. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.FindingTargetinstance with no metadata.FindingTarget(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.FindingTargetinstance 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.markup.MarkupMultilineGet the "Objective Status Description".Get the "Implementation Status".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Objective Status".Get the "Finding Target Identifier Reference".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "Objective Status Title".getType()Get the "Finding Target Type".booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Objective Status Description".voidSet the "Implementation Status".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetStatus(FindingTarget.Status value) Set the "Objective Status".voidsetTargetId(String value) Set the "Finding Target Identifier Reference".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "Objective Status Title".voidSet the "Finding Target Type".toString()
-
Constructor Details
-
FindingTarget
public FindingTarget()Constructs a newdev.metaschema.oscal.lib.model.FindingTargetinstance with no metadata. -
FindingTarget
Constructs a newdev.metaschema.oscal.lib.model.FindingTargetinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getType
Get the "Finding Target Type".Identifies the type of the target.
- Returns:
- the type value
-
setType
Set the "Finding Target Type".Identifies the type of the target.
- Parameters:
value- the type value to set
-
getTargetId
Get the "Finding Target Identifier Reference".A machine-oriented identifier reference for a specific target qualified by the
type.- Returns:
- the target-id value
-
setTargetId
Set the "Finding Target Identifier Reference".A machine-oriented identifier reference for a specific target qualified by the
type.- Parameters:
value- the target-id value to set
-
getTitle
Get the "Objective Status Title".The title for this objective status.
- Returns:
- the title value, or
nullif not set
-
setTitle
Set the "Objective Status Title".The title for this objective status.
- Parameters:
value- the title value to set, ornullto clear
-
getDescription
Get the "Objective Status Description".A human-readable description of the assessor's conclusions regarding the degree to which an objective is satisfied.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Objective Status Description".A human-readable description of the assessor's conclusions regarding the degree to which an objective is satisfied.
- 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
-
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
-
getStatus
Get the "Objective Status".A determination of if the objective is satisfied or not within a given system.
- Returns:
- the status value
-
setStatus
Set the "Objective Status".A determination of if the objective is satisfied or not within a given system.
- Parameters:
value- the status value to set
-
getImplementationStatus
Get the "Implementation Status".Indicates the degree to which the a given control is implemented.
- Returns:
- the implementation-status value, or
nullif not set
-
setImplementationStatus
Set the "Implementation Status".Indicates the degree to which the a given control is implemented.
- Parameters:
value- the implementation-status 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
-