Class DefaultProcessStep
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- ISOMetadata
-
- DefaultProcessStep
-
- All Implemented Interfaces:
Serializable,Emptiable,LenientComparable,IdentifiedObject,ProcessStep
@TitleProperty(name="description") public class DefaultProcessStep extends ISOMetadata implements ProcessStep
Information about an event or transformation in the life of a resource. Includes the process used to maintain the resource. The following property is mandatory in a well-formed metadata according ISO 19115:LI_ProcessStep└─description……Description of the event, including related parameters or tolerances.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:
- Serialized Form
Defined in the
sis-metadatamodule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ModifiableMetadata
ModifiableMetadata.State
-
-
Field Summary
-
Fields inherited from class ISOMetadata
identifiers
-
-
Constructor Summary
Constructors Constructor Description DefaultProcessStep()Creates an initially empty process step.DefaultProcessStep(CharSequence description)Creates a process step initialized to the given description.DefaultProcessStep(ProcessStep object)Constructs a new instance initialized with the values from the specified metadata object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DefaultProcessStepcastOrCopy(ProcessStep object)Returns a SIS metadata implementation with the values of the given arbitrary implementation.DategetDate()Deprecated.As of ISO 19115-1:2014, replaced bygetStepDateTime().InternationalStringgetDescription()Returns the description of the event, including related parameters or tolerances.Collection<Source>getOutputs()Returns the description of the product generated as a result of the process step.ProcessinggetProcessingInformation()Returns the comprehensive information about the procedure by which the algorithm was applied to derive geographic data from the raw instrument measurements, such as datasets, software used, and the processing environment.Collection<ResponsibleParty>getProcessors()Returns the identification of, and means of communication with, person(s) and organization(s) associated with the process step.InternationalStringgetRationale()Returns the requirement or purpose for the process step.Collection<Citation>getReferences()Returns the process step documentation.Collection<ProcessStepReport>getReports()Returns the report generated by the process step.ScopegetScope()Returns the type of resource and / or extent to which the process step applies.Collection<Source>getSources()Returns the information about the source data used in creating the data specified by the scope.TemporalPrimitivegetStepDateTime()Returns the date, time or range of date and time over which the process step occurred.voidsetDate(Date newValue)Deprecated.As of ISO 19115-1:2014, replaced bysetStepDateTime(TemporalPrimitive).voidsetDescription(InternationalString newValue)Sets the description of the event, including related parameters or tolerances.voidsetOutputs(Collection<? extends Source> newValues)Sets the description of the product generated as a result of the process step.voidsetProcessingInformation(Processing newValue)Sets the comprehensive information about the procedure by which the algorithm was applied to derive geographic data from the raw instrument measurements, such as datasets, software used, and the processing environment.voidsetProcessors(Collection<? extends ResponsibleParty> newValues)Identification of, and means of communication with, person(s) and organization(s) associated with the process step.voidsetRationale(InternationalString newValue)Sets the requirement or purpose for the process step.voidsetReferences(Collection<? extends Citation> newValues)Sets the process step documentation.voidsetReports(Collection<? extends ProcessStepReport> newValues)Sets the report generated by the process step.voidsetScope(Scope newValue)Sets the type of resource and / or extent to which the process step applies.voidsetSources(Collection<? extends Source> newValues)Information about the source data used in creating the data specified by the scope.voidsetStepDateTime(TemporalPrimitive newValue)Sets the date, time or range of date and time over which the process step occurred.-
Methods inherited from class ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionTo
-
Methods inherited from class ModifiableMetadata
checkWritePermission, checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, unmodifiable, writeCollection, writeList, writeMap, writeSet
-
Methods inherited from class AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
-
-
-
Constructor Detail
-
DefaultProcessStep
public DefaultProcessStep()
Creates an initially empty process step.
-
DefaultProcessStep
public DefaultProcessStep(CharSequence description)
Creates a process step initialized to the given description.- Parameters:
description- description of the event, including related parameters or tolerances.
-
DefaultProcessStep
public DefaultProcessStep(ProcessStep object)
Constructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, since the other metadata contained in the given object are not recursively copied.- Parameters:
object- the metadata to copy values from, ornullif none.- See Also:
castOrCopy(ProcessStep)
-
-
Method Detail
-
castOrCopy
public static DefaultProcessStep castOrCopy(ProcessStep object)
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
DefaultProcessStep, then it is returned unchanged. - Otherwise a new
DefaultProcessStepinstance 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.
- Parameters:
object- the object to get as a SIS implementation, ornullif 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
-
getDescription
public InternationalString getDescription()
Returns the description of the event, including related parameters or tolerances.- Specified by:
getDescriptionin interfaceProcessStep- Returns:
- description of the event, or
null.
-
setDescription
public void setDescription(InternationalString newValue)
Sets the description of the event, including related parameters or tolerances.- Parameters:
newValue- the new description.
-
getRationale
public InternationalString getRationale()
Returns the requirement or purpose for the process step.- Specified by:
getRationalein interfaceProcessStep- Returns:
- requirement or purpose for the process step, or
null.
-
setRationale
public void setRationale(InternationalString newValue)
Sets the requirement or purpose for the process step.- Parameters:
newValue- the new rationale.
-
getStepDateTime
public TemporalPrimitive getStepDateTime()
Returns the date, time or range of date and time over which the process step occurred.- Returns:
- date, time or period over which the process step occurred, or
null. - Since:
- 1.0
-
setStepDateTime
public void setStepDateTime(TemporalPrimitive newValue)
Sets the date, time or range of date and time over which the process step occurred.- Parameters:
newValue- the new date, time or period.- Since:
- 1.0
-
getDate
@Deprecated public Date getDate()
Deprecated.As of ISO 19115-1:2014, replaced bygetStepDateTime().Returns the date and time or range of date and time on or over which the process step occurred.- Specified by:
getDatein interfaceProcessStep- Returns:
- date on or over which the process step occurred, or
null.
-
setDate
@Deprecated public void setDate(Date newValue)
Deprecated.As of ISO 19115-1:2014, replaced bysetStepDateTime(TemporalPrimitive).Sets the date and time or range of date and time on or over which the process step occurred.- Parameters:
newValue- the new date.
-
getProcessors
public Collection<ResponsibleParty> getProcessors()
Returns the identification of, and means of communication with, person(s) and organization(s) associated with the process step.Upcoming API change — generalization
As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change may be applied in GeoAPI 4.0.- Specified by:
getProcessorsin interfaceProcessStep- Returns:
- means of communication with person(s) and organization(s) associated with the process step.
-
setProcessors
public void setProcessors(Collection<? extends ResponsibleParty> newValues)
Identification of, and means of communication with, person(s) and organization(s) associated with the process step.Upcoming API change — generalization
As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change may be applied in GeoAPI 4.0.- Parameters:
newValues- the new processors.
-
getReferences
@UML(identifier="reference", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getReferences()
Returns the process step documentation.- Returns:
- process step documentation.
- Since:
- 0.5
-
setReferences
public void setReferences(Collection<? extends Citation> newValues)
Sets the process step documentation.- Parameters:
newValues- the new documentation.- Since:
- 0.5
-
getScope
@UML(identifier="scope", obligation=OPTIONAL, specification=ISO_19115) public Scope getScope()
Returns the type of resource and / or extent to which the process step applies.- Returns:
- type of resource, or
nullif none. - Since:
- 0.5
-
setScope
public void setScope(Scope newValue)
Sets the type of resource and / or extent to which the process step applies.- Parameters:
newValue- the new type of resource.- Since:
- 0.5
-
getSources
public Collection<Source> getSources()
Returns the information about the source data used in creating the data specified by the scope.- Specified by:
getSourcesin interfaceProcessStep- Returns:
- information about the source data used in creating the data.
-
setSources
public void setSources(Collection<? extends Source> newValues)
Information about the source data used in creating the data specified by the scope.- Parameters:
newValues- the new sources.
-
getOutputs
public Collection<Source> getOutputs()
Returns the description of the product generated as a result of the process step.- Specified by:
getOutputsin interfaceProcessStep- Returns:
- product generated as a result of the process step.
-
setOutputs
public void setOutputs(Collection<? extends Source> newValues)
Sets the description of the product generated as a result of the process step.- Parameters:
newValues- the new output values.
-
getProcessingInformation
public Processing getProcessingInformation()
Returns the comprehensive information about the procedure by which the algorithm was applied to derive geographic data from the raw instrument measurements, such as datasets, software used, and the processing environment.- Specified by:
getProcessingInformationin interfaceProcessStep- Returns:
- procedure by which the algorithm was applied to derive geographic data, or
null.
-
setProcessingInformation
public void setProcessingInformation(Processing newValue)
Sets the comprehensive information about the procedure by which the algorithm was applied to derive geographic data from the raw instrument measurements, such as datasets, software used, and the processing environment.- Parameters:
newValue- the new processing information value.
-
getReports
public Collection<ProcessStepReport> getReports()
Returns the report generated by the process step.- Specified by:
getReportsin interfaceProcessStep- Returns:
- report generated by the process step.
-
setReports
public void setReports(Collection<? extends ProcessStepReport> newValues)
Sets the report generated by the process step.- Parameters:
newValues- the new process step report values.
-
-