Class DefaultProcessing
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.lineage.DefaultProcessing
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
,org.opengis.metadata.lineage.Processing
public class DefaultProcessing
extends ISOMetadata
implements org.opengis.metadata.lineage.Processing
Comprehensive information about the procedure(s), process(es) and algorithm(s) applied in the process step.
The following properties are mandatory in a well-formed metadata according ISO 19115:
LE_Processing
└─identifier……
Information to identify the processing package that produced the data.
└─code…………
Alphanumeric value identifying an instance in the namespace.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
XML
instead.
- Since:
- 0.3
- Version:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection
<org.opengis.metadata.lineage.Algorithm> Details of the methodology by which geographic information was derived from the instrument readings.private Collection
<org.opengis.metadata.citation.Citation> Reference to documentation describing the processing.private org.opengis.util.InternationalString
Additional details about the processing procedures.private org.opengis.util.InternationalString
Parameters to control the processing operations, entered at run time.private static final long
Serial number for inter-operability with different versions.private Collection
<org.opengis.metadata.citation.Citation> Reference to document describing processing software.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty range element description.DefaultProcessing
(org.opengis.metadata.lineage.Processing object) Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultProcessing
castOrCopy
(org.opengis.metadata.lineage.Processing object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.Collection
<org.opengis.metadata.lineage.Algorithm> Returns the details of the methodology by which geographic information was derived from the instrument readings.Collection
<org.opengis.metadata.citation.Citation> Returns the reference to documentation describing the processing.org.opengis.metadata.Identifier
Returns the information to identify the processing package that produced the data.org.opengis.util.InternationalString
Returns the additional details about the processing procedures.org.opengis.util.InternationalString
Returns the parameters to control the processing operations, entered at run time.Collection
<org.opengis.metadata.citation.Citation> Returns the reference to document describing processing software.void
setAlgorithms
(Collection<? extends org.opengis.metadata.lineage.Algorithm> newValues) Sets the details of the methodology by which geographic information was derived from the instrument readings.void
setDocumentations
(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the reference to documentation describing the processing.void
setIdentifier
(org.opengis.metadata.Identifier newValue) Sets the information to identify the processing package that produced the data.void
setProcedureDescription
(org.opengis.util.InternationalString newValue) Sets the additional details about the processing procedures.void
setRunTimeParameters
(org.opengis.util.InternationalString newValue) Sets the parameters to control the processing operations, entered at run time.void
setSoftwareReferences
(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the reference to document describing processing software.Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifierMap, getIdentifiers, getStandard, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
softwareReferences
Reference to document describing processing software. -
procedureDescription
private org.opengis.util.InternationalString procedureDescriptionAdditional details about the processing procedures. -
documentations
Reference to documentation describing the processing. -
runTimeParameters
private org.opengis.util.InternationalString runTimeParametersParameters to control the processing operations, entered at run time. -
algorithms
Details of the methodology by which geographic information was derived from the instrument readings.
-
-
Constructor Details
-
DefaultProcessing
public DefaultProcessing()Constructs an initially empty range element description. -
DefaultProcessing
public DefaultProcessing(org.opengis.metadata.lineage.Processing object) Constructs 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, ornull
if none.- See Also:
-
-
Method Details
-
castOrCopy
Returns 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
DefaultProcessing
, then it is returned unchanged. - Otherwise a new
DefaultProcessing
instance 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, ornull
if none.- Returns:
- a SIS implementation containing the values of the given object (may be the
given object itself), or
null
if the argument was null.
- If the given object is
-
getIdentifier
public org.opengis.metadata.Identifier getIdentifier()Returns the information to identify the processing package that produced the data.- Specified by:
getIdentifier
in interfaceorg.opengis.metadata.lineage.Processing
- Overrides:
getIdentifier
in classISOMetadata
- Returns:
- identifier of the processing package that produced the data, or
null
.
-
setIdentifier
public void setIdentifier(org.opengis.metadata.Identifier newValue) Sets the information to identify the processing package that produced the data.- Overrides:
setIdentifier
in classISOMetadata
- Parameters:
newValue
- the new identifier value.
-
getSoftwareReferences
Returns the reference to document describing processing software.- Specified by:
getSoftwareReferences
in interfaceorg.opengis.metadata.lineage.Processing
- Returns:
- document describing processing software.
-
setSoftwareReferences
public void setSoftwareReferences(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the reference to document describing processing software.- Parameters:
newValues
- the new software references values.
-
getProcedureDescription
public org.opengis.util.InternationalString getProcedureDescription()Returns the additional details about the processing procedures.null
if unspecified.- Specified by:
getProcedureDescription
in interfaceorg.opengis.metadata.lineage.Processing
- Returns:
- processing procedures, or
null
.
-
setProcedureDescription
public void setProcedureDescription(org.opengis.util.InternationalString newValue) Sets the additional details about the processing procedures.- Parameters:
newValue
- the new procedure description value.
-
getDocumentations
Returns the reference to documentation describing the processing.- Specified by:
getDocumentations
in interfaceorg.opengis.metadata.lineage.Processing
- Returns:
- documentation describing the processing.
-
setDocumentations
public void setDocumentations(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the reference to documentation describing the processing.- Parameters:
newValues
- the new documentations values.
-
getRunTimeParameters
public org.opengis.util.InternationalString getRunTimeParameters()Returns the parameters to control the processing operations, entered at run time.- Specified by:
getRunTimeParameters
in interfaceorg.opengis.metadata.lineage.Processing
- Returns:
- parameters to control the processing operations, or
null
.
-
setRunTimeParameters
public void setRunTimeParameters(org.opengis.util.InternationalString newValue) Sets the parameters to control the processing operations, entered at run time.- Parameters:
newValue
- the new runtime parameter value.
-
getAlgorithms
Returns the details of the methodology by which geographic information was derived from the instrument readings.- Specified by:
getAlgorithms
in interfaceorg.opengis.metadata.lineage.Processing
- Returns:
- methodology by which geographic information was derived from the instrument readings.
-
setAlgorithms
Sets the details of the methodology by which geographic information was derived from the instrument readings.- Parameters:
newValues
- the new algorithms values.
-