|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultInstrument
@ThreadSafe public class DefaultInstrument
Designations for the measuring instruments.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultInstrument()
Constructs an initially empty instrument. |
|
DefaultInstrument(Instrument source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultInstrument |
castOrCopy(Instrument object)
Returns a Geotk metadata implementation with the same values than 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. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultInstrument()
public DefaultInstrument(Instrument source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultInstrument castOrCopy(Instrument object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk 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 InstrumentgetIdentifier in class MetadataEntitynull if none.public void setIdentifier(Identifier newValue)
newValue - The new identifier value.public InternationalString getType()
getType in interface Instrumentpublic void setType(InternationalString newValue)
newValue - The new type value.public InternationalString getDescription()
null if unspecified.
getDescription in interface Instrumentpublic void setDescription(InternationalString newValue)
newValue - The new description value.public Platform getMountedOn()
null if unspecified.
getMountedOn in interface Instrumentpublic void setMountedOn(Platform newValue)
newValue - The new platform value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||