public class DefaultInstrument extends ISOMetadata implements Instrument
Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultInstrument()
Constructs an initially empty instrument.
|
DefaultInstrument(Instrument object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultInstrument |
castOrCopy(Instrument object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<Citation> |
getCitations()
Returns the complete citation of the instrument.
|
InternationalString |
getDescription()
Returns the textual description of the instrument.
|
Identifier |
getIdentifier()
Returns the unique identification of the instrument.
|
Platform |
getMountedOn()
Returns the platform on which the instrument is mounted.
|
InternationalString |
getType()
Returns the name of the type of instrument.
|
void |
setCitations(Collection<? extends Citation> newValues)
Sets the complete citation of the instrument.
|
void |
setDescription(InternationalString newValue)
Sets the textual description of the instrument.
|
void |
setIdentifier(Identifier newValue)
Sets the unique identification of the instrument.
|
void |
setMountedOn(Platform newValue)
Sets the platform on which the instrument is mounted.
|
void |
setType(InternationalString newValue)
Sets the name of the type of instrument.
|
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 DefaultInstrument()
public DefaultInstrument(Instrument object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Instrument)
public static DefaultInstrument castOrCopy(Instrument object)
null
, then this method returns null
.DefaultInstrument
, then it is returned unchanged.DefaultInstrument
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 Collection<Citation> getCitations()
getCitations
in interface Instrument
public void setCitations(Collection<? extends Citation> newValues)
newValues
- The new citation values.public Identifier getIdentifier()
getIdentifier
in interface Instrument
null
.public void setIdentifier(Identifier newValue)
newValue
- The new identifier value.public InternationalString getType()
getType
in interface Instrument
null
.public void setType(InternationalString newValue)
newValue
- The new type value.public InternationalString getDescription()
null
if unspecified.getDescription
in interface Instrument
null
.public void setDescription(InternationalString newValue)
newValue
- The new description value.public Platform getMountedOn()
null
if unspecified.getMountedOn
in interface Instrument
null
.public void setMountedOn(Platform newValue)
newValue
- The new platform value.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.