public class DefaultAssociatedResource extends ISOMetadata
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
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.
|
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 DefaultAssociatedResource()
public DefaultAssociatedResource(Citation name, AssociationType associationType)
name
- Citation information about the associated resource.associationType
- Type of relation between the resources.public Citation getName()
null
if none.null
if none.public void setName(Citation newValue)
newValue
- The new citation information, or null
.public AssociationType getAssociationType()
public void setAssociationType(AssociationType newValue)
newValue
- The new type of relation.public InitiativeType getInitiativeType()
null
if none.null
if none.public void setInitiativeType(InitiativeType newValue)
newValue
- The new type of initiative.public Citation getMetadataReference()
null
if none.null
if none.public void setMetadataReference(Citation newValue)
newValue
- The new reference to the metadata.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.