public class DefaultResponsibleParty extends ISOMetadata implements ResponsibleParty
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultResponsibleParty()
Constructs an initially empty responsible party.
|
DefaultResponsibleParty(ResponsibleParty object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultResponsibleParty(Role role)
Constructs a responsibility party with the given role.
|
Modifier and Type | Method and Description |
---|---|
static DefaultResponsibleParty |
castOrCopy(ResponsibleParty object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Contact |
getContactInfo()
Returns the address of the responsible party.
|
String |
getIndividualName()
Returns the name of the responsible person- surname, given name, title separated by a delimiter.
|
InternationalString |
getOrganisationName()
Returns the name of the responsible organization.
|
InternationalString |
getPositionName()
Returns the role or position of the responsible person Only one of
individualName , organisationName
and positionName shall be provided. |
Role |
getRole()
Returns the function performed by the responsible party.
|
void |
setContactInfo(Contact newValue)
Sets the address of the responsible party.
|
void |
setIndividualName(String newValue)
Sets the name of the responsible person- surname, given name, title separated by a delimiter.
|
void |
setOrganisationName(InternationalString newValue)
Sets the name of the responsible organization.
|
void |
setPositionName(InternationalString newValue)
set the role or position of the responsible person Only one of
individualName , organisationName
and positionName shall be provided. |
void |
setRole(Role newValue)
Sets the function performed by the responsible party.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultResponsibleParty()
public DefaultResponsibleParty(Role role)
role
- The function performed by the responsible party, or null
.public DefaultResponsibleParty(ResponsibleParty object)
object
- The metadata to copy values from, or null
if none.castOrCopy(ResponsibleParty)
public static DefaultResponsibleParty castOrCopy(ResponsibleParty object)
null
, then this method returns null
.DefaultResponsibleParty
, then it is returned unchanged.DefaultResponsibleParty
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public String getIndividualName()
individualName
, organisationName
and positionName
shall be provided.getIndividualName
in interface ResponsibleParty
null
.public void setIndividualName(String newValue)
individualName
, organisationName
and positionName
shall be provided.newValue
- The new individual name, or null
if none.public InternationalString getOrganisationName()
individualName
, organisationName
and positionName
shall be provided.getOrganisationName
in interface ResponsibleParty
null
.public void setOrganisationName(InternationalString newValue)
individualName
, organisationName
and positionName
shall be provided.newValue
- The new organization name, or null
if none.public InternationalString getPositionName()
individualName
, organisationName
and positionName
shall be provided.getPositionName
in interface ResponsibleParty
null
public void setPositionName(InternationalString newValue)
individualName
, organisationName
and positionName
shall be provided.newValue
- The new position name, or null
if none.public Contact getContactInfo()
getContactInfo
in interface ResponsibleParty
null
.public void setContactInfo(Contact newValue)
newValue
- The new contact info, or null
if none.public Role getRole()
getRole
in interface ResponsibleParty
null
.public void setRole(Role newValue)
newValue
- The new role, or null
if none.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.