Class ByComponent.Inherited
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- ByComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newResponsibleRoleitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Inherited Control Implementation Description".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".Get the "Provided UUID".Get the "Responsible Role".getUuid()Get the "Inherited 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 matchingResponsibleRoleitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Inherited Control Implementation Description".voidSet the "Link".voidSet the "Property".voidsetProvidedUuid(UUID value) Set the "Provided UUID".voidsetResponsibleRoles(List<ResponsibleRole> value) Set the "Responsible Role".voidSet the "Inherited Universally Unique Identifier".toString()
-
Constructor Details
-
Inherited
public Inherited()Constructs a newdev.metaschema.oscal.lib.model.ByComponent.Inheritedinstance with no metadata. -
Inherited
Constructs a newdev.metaschema.oscal.lib.model.ByComponent.Inheritedinstance 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 "Inherited Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this inherited entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
inherited control implementationcan 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 "Inherited Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this inherited entry elsewhere in this or other OSCAL instances. The locally defined UUID of the
inherited control implementationcan 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
-
getProvidedUuid
Get the "Provided UUID".A machine-oriented identifier reference to an inherited control implementation that a leveraging system is inheriting from a leveraged system.
- Returns:
- the provided-uuid value, or
nullif not set
-
setProvidedUuid
Set the "Provided UUID".A machine-oriented identifier reference to an inherited control implementation that a leveraging system is inheriting from a leveraged system.
- Parameters:
value- the provided-uuid value to set, ornullto clear
-
getDescription
Get the "Inherited Control Implementation Description".An implementation statement that describes the aspects of a control or control statement implementation that a leveraging system is inheriting from a leveraged system.
- Returns:
- the description value
-
setDescription
Set the "Inherited Control Implementation Description".An implementation statement that describes the aspects of a control or control statement implementation that a leveraging system is inheriting from a leveraged system.
- 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
-
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
-
toString
-