Class DefaultPlatform
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultPlatform
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject,- Platform
Designation of the platform used to acquire the dataset.
 The following properties are mandatory in a well-formed metadata according ISO 19115:
 
 
MI_Platform
   ├─identifier……………… Unique identification of the platform.
   │   └─code…………………… Alphanumeric value identifying an instance in the namespace.
   ├─description…………… Narrative description of the platform supporting the instrument.
   └─instrument……………… Instrument(s) mounted on a platform.
       ├─identifier…… Unique identification of the instrument.
       └─type…………………… Name of the type of instrument.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty platform.DefaultPlatform(Platform object) Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DefaultPlatformcastOrCopy(Platform object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.Returns the source where information about the platform is described.Gets the narrative description of the platform supporting the instrument.Returns the unique identification of the platform.Gets the instrument(s) mounted on a platform.Returns the organization responsible for building, launch, or operation of the platform.voidsetCitation(Citation newValue) Sets the source where information about the platform is described.voidsetDescription(InternationalString newValue) Sets the narrative description of the platform supporting the instrument.voidsetIdentifier(Identifier newValue) Sets the unique identification of the platform.voidsetInstruments(Collection<? extends Instrument> newValues) Sets the instrument(s) mounted on a platform.voidsetSponsors(Collection<? extends ResponsibleParty> newValues) Sets the organization responsible for building, launch, or operation of the platform.Methods inherited from class ISOMetadatagetIdentifierMap, getIdentifiers, getStandard, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultPlatformpublic DefaultPlatform()Constructs an initially empty platform.
- 
DefaultPlatformConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
- See Also:
 
 
- 
- 
Method Details- 
castOrCopyReturns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:- If the given object is null, then this method returnsnull.
- Otherwise if the given object is already an instance of
       DefaultPlatform, then it is returned unchanged.
- Otherwise a new DefaultPlatforminstance is created using the copy constructor and returned. Note that this is a shallow copy operation, because the other metadata contained in the given object are not recursively copied.
 - Parameters:
- object- the object to get as a SIS implementation, or- nullif none.
- Returns:
- a SIS implementation containing the values of the given object (may be the
         given object itself), or nullif the argument was null.
 
- If the given object is 
- 
getCitationReturns the source where information about the platform is described.nullif unspecified.- Specified by:
- getCitationin interface- Platform
- Returns:
- source where information about the platform is described, or null.
 
- 
setCitationSets the source where information about the platform is described.- Parameters:
- newValue- the new citation value.
 
- 
getIdentifierReturns the unique identification of the platform.- Specified by:
- getIdentifierin interface- Platform
- Overrides:
- getIdentifierin class- ISOMetadata
- Returns:
- unique identification of the platform, or null.
 
- 
setIdentifierSets the unique identification of the platform.- Overrides:
- setIdentifierin class- ISOMetadata
- Parameters:
- newValue- the new identifier value.
 
- 
getDescriptionGets the narrative description of the platform supporting the instrument.- Specified by:
- getDescriptionin interface- Platform
- Returns:
- narrative description of the platform, or null.
 
- 
setDescriptionSets the narrative description of the platform supporting the instrument.- Parameters:
- newValue- the new description value.
 
- 
getSponsorsReturns the organization responsible for building, launch, or operation of the platform.Upcoming API change — generalization
 As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change will be tentatively applied in GeoAPI 4.0.- Specified by:
- getSponsorsin interface- Platform
- Returns:
- organization responsible for building, launch, or operation of the platform.
 
- 
setSponsorsSets the organization responsible for building, launch, or operation of the platform.Upcoming API change — generalization
 As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change will be tentatively applied in GeoAPI 4.0.- Parameters:
- newValues- the new sponsors values;
 
- 
getInstrumentsGets the instrument(s) mounted on a platform.- Specified by:
- getInstrumentsin interface- Platform
- Returns:
- instrument(s) mounted on a platform.
 
- 
setInstrumentsSets the instrument(s) mounted on a platform.- Parameters:
- newValues- the new instruments values.
 
 
-