Class Metadata.Party
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Metadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn identifier for a person or organization using a designated scheme. e.g. an Open Researcher and Contributor ID (ORCID). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAddress(Address item) Add a newAddressitem to the underlying collection.booleanaddEmailAddress(String item) Add a newStringitem to the underlying collection.booleanAdd a newMetadata.Party.ExternalIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanaddLocationUuid(UUID item) Add a newUUIDitem to the underlying collection.booleanaddMemberOfOrganization(UUID item) Add a newUUIDitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newTelephoneNumberitem to the underlying collection.Get the "Address".Get the "Email Address".Get the "Party External Identifier".getLinks()Get the "Link".Get the "Location Universally Unique Identifier Reference".Get the "Organizational Affiliation".dev.metaschema.core.model.IMetaschemaDatagetName()Get the "Party Name".getProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Party Short Name".Get the "Telephone Number".getType()Get the "Party Type".getUuid()Get the "Party Universally Unique Identifier".booleanremoveAddress(Address item) Remove the first matchingAddressitem from the underlying collection.booleanremoveEmailAddress(String item) Remove the first matchingStringitem from the underlying collection.booleanRemove the first matchingMetadata.Party.ExternalIditem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveLocationUuid(UUID item) Remove the first matchingUUIDitem from the underlying collection.booleanRemove the first matchingUUIDitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingTelephoneNumberitem from the underlying collection.voidsetAddresses(List<Address> value) Set the "Address".voidsetEmailAddresses(List<String> value) Set the "Email Address".voidSet the "Party External Identifier".voidSet the "Link".voidsetLocationUuids(List<UUID> value) Set the "Location Universally Unique Identifier Reference".voidsetMemberOfOrganizations(List<UUID> value) Set the "Organizational Affiliation".voidSet the "Party Name".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetShortName(String value) Set the "Party Short Name".voidsetTelephoneNumbers(List<TelephoneNumber> value) Set the "Telephone Number".voidSet the "Party Type".voidSet the "Party Universally Unique Identifier".toString()
-
Constructor Details
-
Party
public Party()Constructs a newdev.metaschema.oscal.lib.model.Metadata.Partyinstance with no metadata. -
Party
Constructs a newdev.metaschema.oscal.lib.model.Metadata.Partyinstance 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 "Party Universally Unique Identifier".A unique identifier for the party.
- Returns:
- the uuid value
-
setUuid
Set the "Party Universally Unique Identifier".A unique identifier for the party.
- Parameters:
value- the uuid value to set
-
getType
Get the "Party Type".A category describing the kind of party the object describes.
- Returns:
- the type value
-
setType
Set the "Party Type".A category describing the kind of party the object describes.
- Parameters:
value- the type value to set
-
getName
Get the "Party Name".The full name of the party. This is typically the legal name associated with the party.
- Returns:
- the name value, or
nullif not set
-
setName
Set the "Party Name".The full name of the party. This is typically the legal name associated with the party.
- Parameters:
value- the name value to set, ornullto clear
-
getShortName
Get the "Party Short Name".A short common name, abbreviation, or acronym for the party.
- Returns:
- the short-name value, or
nullif not set
-
setShortName
Set the "Party Short Name".A short common name, abbreviation, or acronym for the party.
- Parameters:
value- the short-name value to set, ornullto clear
-
getExternalIds
Get the "Party External Identifier".An identifier for a person or organization using a designated scheme. e.g. an Open Researcher and Contributor ID (ORCID).
- Returns:
- the external-id value
-
setExternalIds
Set the "Party External Identifier".An identifier for a person or organization using a designated scheme. e.g. an Open Researcher and Contributor ID (ORCID).
- Parameters:
value- the external-id value to set
-
addExternalId
Add a newMetadata.Party.ExternalIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExternalId
Remove the first matchingMetadata.Party.ExternalIditem 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
-
getEmailAddresses
Get the "Email Address".An email address as defined by RFC 5322 Section 3.4.1.
- Returns:
- the email-address value
-
setEmailAddresses
Set the "Email Address".An email address as defined by RFC 5322 Section 3.4.1.
- Parameters:
value- the email-address value to set
-
addEmailAddress
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeEmailAddress
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getTelephoneNumbers
Get the "Telephone Number".A telephone service number as defined by ITU-T E.164.
- Returns:
- the telephone-number value
-
setTelephoneNumbers
Set the "Telephone Number".A telephone service number as defined by ITU-T E.164.
- Parameters:
value- the telephone-number value to set
-
addTelephoneNumber
Add a newTelephoneNumberitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeTelephoneNumber
Remove the first matchingTelephoneNumberitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getAddresses
Get the "Address".A postal address for the location.
- Returns:
- the address value
-
setAddresses
Set the "Address".A postal address for the location.
- Parameters:
value- the address value to set
-
addAddress
Add a newAddressitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeAddress
Remove the first matchingAddressitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLocationUuids
Get the "Location Universally Unique Identifier Reference".Reference to a location by UUID.
- Returns:
- the location-uuid value
-
setLocationUuids
Set the "Location Universally Unique Identifier Reference".Reference to a location by UUID.
- Parameters:
value- the location-uuid value to set
-
addLocationUuid
Add a newUUIDitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLocationUuid
Remove the first matchingUUIDitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getMemberOfOrganizations
Get the "Organizational Affiliation".A reference to another
partyby UUID, typically an organization, that this subject is associated with.- Returns:
- the member-of-organization value
-
setMemberOfOrganizations
Set the "Organizational Affiliation".A reference to another
partyby UUID, typically an organization, that this subject is associated with.- Parameters:
value- the member-of-organization value to set
-
addMemberOfOrganization
Add a newUUIDitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeMemberOfOrganization
Remove the first matchingUUIDitem 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
-