@UML(identifier="MD_AssociatedResource", specification=ISO_19115) public class DefaultAssociatedResource extends ISOMetadata
MD_AssociatedResource
├─associationType………… Type of relation between the resources.
├─metadataReference…… Reference to the metadata of the associated resource.
│ ├─title………………………… Name by which the cited resource is known.
│ └─date…………………………… Reference date for the cited resource.
└─name……………………………………… Citation information about the associated resource.XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultAssociatedResource()
Constructs an initially empty associated resource.
|
DefaultAssociatedResource(Citation name,
AssociationType associationType)
Constructs an associated resource initialized to the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
AssociationType |
getAssociationType()
Returns the type of relation between the resources.
|
InitiativeType |
getInitiativeType()
Returns the type of initiative under which the associated resource was produced, or
null if none. |
Citation |
getMetadataReference()
Return a reference to the metadata of the associated resource, or
null if none. |
Citation |
getName()
Returns citation information about the associated resource, or
null if none. |
void |
setAssociationType(AssociationType newValue)
Sets the type of relation between the resources.
|
void |
setInitiativeType(InitiativeType newValue)
Sets a new type of initiative under which the associated resource was produced.
|
void |
setMetadataReference(Citation newValue)
Sets the reference to the metadata of the associated resource.
|
void |
setName(Citation newValue)
Sets citation information about the associated resource.
|
freeze, 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 DefaultAssociatedResource()
public DefaultAssociatedResource(Citation name, AssociationType associationType)
name - citation information about the associated resource.associationType - type of relation between the resources.@UML(identifier="name", obligation=CONDITIONAL, specification=ISO_19115) public Citation getName()
null if none.null if none.public void setName(Citation newValue)
newValue - the new citation information, or null.@UML(identifier="associationType", obligation=MANDATORY, specification=ISO_19115) public AssociationType getAssociationType()
public void setAssociationType(AssociationType newValue)
newValue - the new type of relation.@UML(identifier="initiativeType", obligation=OPTIONAL, specification=ISO_19115) public InitiativeType getInitiativeType()
null if none.null if none.public void setInitiativeType(InitiativeType newValue)
newValue - the new type of initiative.@UML(identifier="metadataReference", obligation=CONDITIONAL, specification=ISO_19115) public Citation getMetadataReference()
null if none.null if none.public void setMetadataReference(Citation newValue)
newValue - the new reference to the metadata.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.