Class ByComponent
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies content intended for external consumption, such as with leveraged organizations.static classDescribes a control implementation inherited by a leveraging system.static classDescribes how this system satisfies a responsibility imposed by a leveraged system. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ByComponentinstance with no metadata.ByComponent(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ByComponentinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newByComponent.Inheriteditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newResponsibleRoleitem to the underlying collection.booleanAdd a newByComponent.Satisfieditem to the underlying collection.booleanaddSetParameter(SetParameter item) Add a newSetParameteritem to the underlying collection.Get the "Component Universally Unique Identifier Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Control Implementation Description".Get the "Export".Get the "Implementation Status".Get the "Inherited Control Implementation".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Responsible Role".Get the "Satisfied Control Implementation Responsibility".Get the "Set Parameter Value".getUuid()Get the "By-Component Universally Unique Identifier".booleanRemove the first matchingByComponent.Inheriteditem from the underlying collection.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 matchingResponsibleRoleitem from the underlying collection.booleanRemove the first matchingByComponent.Satisfieditem from the underlying collection.booleanRemove the first matchingSetParameteritem from the underlying collection.voidsetComponentUuid(UUID value) Set the "Component Universally Unique Identifier Reference".voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Control Implementation Description".voidsetExport(ByComponent.Export value) Set the "Export".voidSet the "Implementation Status".voidsetInherited(List<ByComponent.Inherited> value) Set the "Inherited Control Implementation".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetResponsibleRoles(List<ResponsibleRole> value) Set the "Responsible Role".voidsetSatisfied(List<ByComponent.Satisfied> value) Set the "Satisfied Control Implementation Responsibility".voidsetSetParameters(List<SetParameter> value) Set the "Set Parameter Value".voidSet the "By-Component Universally Unique Identifier".toString()
-
Constructor Details
-
ByComponent
public ByComponent()Constructs a newdev.metaschema.oscal.lib.model.ByComponentinstance with no metadata. -
ByComponent
Constructs a newdev.metaschema.oscal.lib.model.ByComponentinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getComponentUuid
Get the "Component Universally Unique Identifier Reference".A machine-oriented identifier reference to the
componentthat is implementing a given control.- Returns:
- the component-uuid value
-
setComponentUuid
Set the "Component Universally Unique Identifier Reference".A machine-oriented identifier reference to the
componentthat is implementing a given control.- Parameters:
value- the component-uuid value to set
-
getUuid
Get the "By-Component Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this by-component entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
by-componententry can 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 "By-Component Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this by-component entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
by-componententry can 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 "Control Implementation Description".An implementation statement that describes how a control or a control statement is implemented within the referenced system component.
- Returns:
- the description value
-
setDescription
Set the "Control Implementation Description".An implementation statement that describes how a control or a control statement is implemented within the referenced system component.
- Parameters:
value- the description 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
-
getSetParameters
Get the "Set Parameter Value".Identifies the parameter that will be set by the enclosed value.
- Returns:
- the set-parameter value
-
setSetParameters
Set the "Set Parameter Value".Identifies the parameter that will be set by the enclosed value.
- Parameters:
value- the set-parameter value to set
-
addSetParameter
Add a newSetParameteritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSetParameter
Remove the first matchingSetParameteritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-
getExport
Get the "Export".Identifies content intended for external consumption, such as with leveraged organizations.
- Returns:
- the export value, or
nullif not set
-
setExport
Set the "Export".Identifies content intended for external consumption, such as with leveraged organizations.
- Parameters:
value- the export value to set, ornullto clear
-
getInherited
Get the "Inherited Control Implementation".Describes a control implementation inherited by a leveraging system.
- Returns:
- the inherited value
-
setInherited
Set the "Inherited Control Implementation".Describes a control implementation inherited by a leveraging system.
- Parameters:
value- the inherited value to set
-
addInherited
Add a newByComponent.Inheriteditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInherited
Remove the first matchingByComponent.Inheriteditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getSatisfied
Get the "Satisfied Control Implementation Responsibility".Describes how this system satisfies a responsibility imposed by a leveraged system.
- Returns:
- the satisfied value
-
setSatisfied
Set the "Satisfied Control Implementation Responsibility".Describes how this system satisfies a responsibility imposed by a leveraged system.
- Parameters:
value- the satisfied value to set
-
addSatisfied
Add a newByComponent.Satisfieditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSatisfied
Remove the first matchingByComponent.Satisfieditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getResponsibleRoles
Get the "Responsible Role".A reference to a role with responsibility for performing a function relative to the containing object, optionally associated with a set of persons and/or organizations that perform that role.
- Returns:
- the responsible-role value
-
setResponsibleRoles
Set the "Responsible Role".A reference to a role with responsibility for performing a function relative to the containing object, optionally associated with a set of persons and/or organizations that perform that role.
- Parameters:
value- the responsible-role value to set
-
addResponsibleRole
Add a newResponsibleRoleitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibleRole
Remove the first matchingResponsibleRoleitem 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
-