public class DefaultResponsibleParty extends DefaultResponsibility implements ResponsibleParty
CI_ResponsibleParty
├─role…………………………… Function performed by the responsible party.
└─party………………………… Information about the parties.
└─name………………… Name of the party.ResponsibleParty type has been replaced by Responsibility
to allow more flexible associations of individuals, organisations, and roles.
This ResponsibleParty interface may be deprecated in GeoAPI 4.0.
Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultResponsibleParty()
Constructs an initially empty responsible party.
|
DefaultResponsibleParty(DefaultResponsibility object)
Constructs a new instance initialized with the values from the specified metadata object.
|
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()
Deprecated.
As of ISO 19115:2014, replaced by
AbstractParty.getContactInfo(). |
String |
getIndividualName()
Deprecated.
As of ISO 19115:2014, replaced by
getName() in DefaultIndividual. |
InternationalString |
getOrganisationName()
Deprecated.
As of ISO 19115:2014, replaced by
getName() in DefaultOrganisation. |
InternationalString |
getPositionName()
Deprecated.
As of ISO 19115:2014, replaced by
DefaultIndividual.getPositionName(). |
Role |
getRole()
Returns the function performed by the responsible party.
|
void |
setContactInfo(Contact newValue)
Deprecated.
As of ISO 19115:2014, replaced by
AbstractParty.setContactInfo(Collection). |
void |
setIndividualName(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setName(InternationalString) in DefaultIndividual. |
void |
setOrganisationName(InternationalString newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setName(InternationalString) in DefaultOrganisation. |
void |
setPositionName(InternationalString newValue)
Deprecated.
As of ISO 19115:2014, replaced by
DefaultIndividual.setPositionName(InternationalString). |
void |
setRole(Role newValue)
Sets the function performed by the responsible party.
|
getExtents, getParties, setExtents, setPartiesfreeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultResponsibleParty()
public DefaultResponsibleParty(Role role)
role - the function performed by the responsible party, or null.public DefaultResponsibleParty(DefaultResponsibility object)
object - the metadata to copy values from, or null if none.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.@Deprecated public String getIndividualName()
getName() in DefaultIndividual.individualName, organisationName
and positionName shall be provided.
This implementation returns the name of the first Individual found in the collection of
parties. If no individual is found in the parties, then this method fallbacks
on the first organisation member.
getIndividualName in interface ResponsiblePartynull.@Deprecated public void setIndividualName(String newValue)
setName(InternationalString) in DefaultIndividual.individualName, organisationName
and positionName shall be provided.
This implementation sets the name of the first Individual found in the collection of
parties, or create a new individual if no existing instance was found.
newValue - the new individual name, or null if none.@Deprecated public InternationalString getOrganisationName()
getName() in DefaultOrganisation.individualName, organisationName
and positionName shall be provided.
This implementation returns the name of the first Organisation
found in the collection of parties.
getOrganisationName in interface ResponsiblePartynull.@Deprecated public void setOrganisationName(InternationalString newValue)
setName(InternationalString) in DefaultOrganisation.individualName, organisationName
and positionName shall be provided.
This implementation sets the name of the first Organisation found in the collection of
parties, or create a new organization if no existing instance was found.
newValue - the new organization name, or null if none.@Deprecated public InternationalString getPositionName()
DefaultIndividual.getPositionName().individualName, organisationName
and positionName shall be provided.
This implementation returns the position of the first Individual found in the collection of
parties. If no individual is found in the parties, then this method fallbacks
on the first organisation member.
getPositionName in interface ResponsiblePartynull@Deprecated public void setPositionName(InternationalString newValue)
DefaultIndividual.setPositionName(InternationalString).individualName, organisationName
and positionName shall be provided.
This implementation sets the position name of the first Individual found in the collection of
parties, or create a new individual if no existing instance was found.
newValue - the new position name, or null if none.@Deprecated public Contact getContactInfo()
AbstractParty.getContactInfo().This implementation returns the first non-null contact found in the collection of parties.
getContactInfo in interface ResponsiblePartynull.@Deprecated public void setContactInfo(Contact newValue)
AbstractParty.setContactInfo(Collection).This implementation sets the contact info in the first party found in the collection of parties.
newValue - the new contact info, or null if none.public Role getRole()
getRole in interface ResponsiblePartygetRole in class DefaultResponsibilitypublic void setRole(Role newValue)
setRole in class DefaultResponsibilitynewValue - the new role.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.