Package gov.nist.secauto.oscal.lib.model
Class ByComponent.Inherited
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ByComponent.Inherited
-
- Enclosing class:
- ByComponent
@MetaschemaAssembly(formalName="Inherited Control Implementation", description="Describes a control implementation inherited by a leveraging system.", name="inherited", metaschema=OscalSspMetaschema.class) @AssemblyConstraints(isUnique=@IsUnique(id="unique-inherited-responsible-role",level=ERROR,target="responsible-role",keyFields=@KeyField(target="@role-id"),remarks="Since `responsible-role` associates multiple `party-uuid` entries with a single `role-id`, each role-id must be referenced only once.")) public static class ByComponent.Inherited extends Object
Describes a control implementation inherited by a leveraging system.
-
-
Constructor Summary
Constructors Constructor Description Inherited()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.boolean
addResponsibleRole(ResponsibleRole item)
Add a newResponsibleRole
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<Link>
getLinks()
List<Property>
getProps()
UUID
getProvidedUuid()
List<ResponsibleRole>
getResponsibleRoles()
UUID
getUuid()
boolean
removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.boolean
removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.boolean
removeResponsibleRole(ResponsibleRole item)
Remove the first matchingResponsibleRole
item from the underlying collection.void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setProvidedUuid(UUID value)
void
setResponsibleRoles(List<ResponsibleRole> value)
void
setUuid(UUID value)
String
toString()
-
-
-
Constructor Detail
-
Inherited
public Inherited()
-
-
Method Detail
-
getProvidedUuid
public UUID getProvidedUuid()
-
setProvidedUuid
public void setProvidedUuid(UUID value)
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getResponsibleRoles
public List<ResponsibleRole> getResponsibleRoles()
-
setResponsibleRoles
public void setResponsibleRoles(List<ResponsibleRole> value)
-
addResponsibleRole
public boolean addResponsibleRole(ResponsibleRole item)
Add a newResponsibleRole
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleRole
public boolean removeResponsibleRole(ResponsibleRole item)
Remove the first matchingResponsibleRole
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-