Package gov.nist.secauto.oscal.lib.model
Class ResponsibleParty
java.lang.Object
gov.nist.secauto.oscal.lib.model.ResponsibleParty
- All Implemented Interfaces:
- gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Responsible Party",
                    description="A reference to a set of persons and/or organizations that have responsibility for performing the referenced role in the context of the containing object.",
                    name="responsible-party",
                    moduleClass=OscalMetadataModule.class,
                    remarks="A `responsible-party` requires one or more `party-uuid` references creating a strong relationship arc between the referenced `role-id` and the reference parties. This differs in semantics from `responsible-role` which doesn\'t require that a `party-uuid` is referenced.\n\nThe scope of use of this object determines if the responsibility has been performed or will be performed in the future. The containing object will describe the intent.",
                    valueConstraints=@ValueConstraints(indexHasKey=@IndexHasKey(level=ERROR,indexName="index-metadata-role-id",keyFields=@KeyField(target="@role-id"))))
public class ResponsibleParty
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A reference to a set of persons and/or organizations that have responsibility for performing the referenced role in the context of the containing object.
- 
Constructor SummaryConstructorsConstructorDescriptionResponsibleParty(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanaddPartyUuid(UUID item) Add a newUUIDitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremovePartyUuid(UUID item) Remove the first matchingUUIDitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidvoidsetPartyUuids(List<UUID> value) voidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidtoString()
- 
Constructor Details- 
ResponsiblePartypublic ResponsibleParty()
- 
ResponsibleParty
 
- 
- 
Method Details- 
getMetaschemaData- Specified by:
- getMetaschemaDatain interface- gov.nist.secauto.metaschema.core.model.IBoundObject
 
- 
getRoleId
- 
setRoleId
- 
getPartyUuids
- 
setPartyUuids
- 
addPartyUuidAdd a newUUIDitem to the underlying collection.- Parameters:
- item- the item to add
- Returns:
- true
 
- 
removePartyUuidRemove the first matchingUUIDitem from the underlying collection.- Parameters:
- item- the item to remove
- Returns:
- trueif the item was removed or- falseotherwise
 
- 
getProps
- 
setProps
- 
addPropAdd a newPropertyitem to the underlying collection.- Parameters:
- item- the item to add
- Returns:
- true
 
- 
removePropRemove the first matchingPropertyitem from the underlying collection.- Parameters:
- item- the item to remove
- Returns:
- trueif the item was removed or- falseotherwise
 
- 
getLinks
- 
setLinks
- 
addLinkAdd a newLinkitem to the underlying collection.- Parameters:
- item- the item to add
- Returns:
- true
 
- 
removeLinkRemove the first matchingLinkitem from the underlying collection.- Parameters:
- item- the item to remove
- Returns:
- trueif the item was removed or- falseotherwise
 
- 
getRemarks
- 
setRemarks
- 
toString
 
-