Class ResponsibleParty
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ResponsiblePartyinstance with no metadata.ResponsibleParty(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ResponsiblePartyinstance with the specified metadata. -
Method Summary
Modifier 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()Get the "Link".dev.metaschema.core.model.IMetaschemaDataGet the "Party Universally Unique Identifier Reference".getProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Responsible Role".booleanremoveLink(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.voidSet the "Link".voidsetPartyUuids(List<UUID> value) Set the "Party Universally Unique Identifier Reference".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidSet the "Responsible Role".toString()
-
Constructor Details
-
ResponsibleParty
public ResponsibleParty()Constructs a newdev.metaschema.oscal.lib.model.ResponsiblePartyinstance with no metadata. -
ResponsibleParty
Constructs a newdev.metaschema.oscal.lib.model.ResponsiblePartyinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getRoleId
Get the "Responsible Role".A reference to a
roleperformed by aparty.- Returns:
- the role-id value
-
setRoleId
Set the "Responsible Role".A reference to a
roleperformed by aparty.- Parameters:
value- the role-id value to set
-
getPartyUuids
Get the "Party Universally Unique Identifier Reference".Specifies one or more parties responsible for performing the associated
role.- Returns:
- the party-uuid value
-
setPartyUuids
Set the "Party Universally Unique Identifier Reference".Specifies one or more parties responsible for performing the associated
role.- Parameters:
value- the party-uuid value to set
-
addPartyUuid
Add a newUUIDitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePartyUuid
Remove the first matchingUUIDitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-
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
-