public class DefaultInstrument extends ISOMetadata implements Instrument
MI_Instrument
├─identifier…… Unique identification of the instrument.
│ └─code………… Alphanumeric value identifying an instance in the namespace.
└─type…………………… Name of the type of instrument.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| 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.
|
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 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 Instrumentpublic void setCitations(Collection<? extends Citation> newValues)
newValues - the new citation values.public Identifier getIdentifier()
getIdentifier in interface Instrumentnull.public void setIdentifier(Identifier newValue)
newValue - the new identifier value.public InternationalString getType()
getType in interface Instrumentnull.public void setType(InternationalString newValue)
newValue - the new type value.public InternationalString getDescription()
null if unspecified.getDescription in interface Instrumentnull.public void setDescription(InternationalString newValue)
newValue - the new description value.public Platform getMountedOn()
null if unspecified.getMountedOn in interface Instrumentnull.public void setMountedOn(Platform newValue)
newValue - the new platform value.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.