Class RestProduct
java.lang.Object
de.dlr.proseo.ingestor.rest.model.RestProduct
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IngestorProduct
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionId values of the component productsprotected RestConfiguredProcessorThe generating processor and its configurationprotected List<RestDownloadHistory> The download history for this productprotected LongId value of the enclosing productprotected StringProduct eviction time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)protected StringFile class as defined for the enclosing mission (optional)protected StringProduct generation time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)protected LongThe persistent id of this objectprotected StringThe mission code of the Product class this products instantiatesprotected StringProcessing modes as defined for the enclosing mission (only if generated by this mission)protected OrbitOrbit relationship of this product, if anyprotected List<RestParameter> A collection of mission-specific parameters for this objectprotected StringThe level of processing required for this product's product class (L0, L1, L1A, L1B, L2, L2A etc.; output only)protected StringProduct type of the Product class this products instantiatesprotected List<RestProductFile> Product files for this productprotected StringType of production process generating this product (SYSTEMATIC, ON_DEMAND_DEFAULT, ON_DEMAND_NON_DEFAULT)protected StringIndicator for the suitability of this product for general use (NOMINAL, EXPERIMENTAL, TEST; default NOMINAL)protected StringProduct ingestion time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)protected StringSatellite raw data availability time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)protected StringPlanned start time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS), default same as sensingStartTimeprotected StringPlanned stop time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS), default same as sensingStopTimeprotected StringSensing start time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)protected StringSensing stop time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)(package private) static final longprotected StringUniversally unique product identifierprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts) -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestProduct.RestProduct(Long id, Long version, String uuid, String missionCode, String productClass, String processingLevel, String fileClass, String mode, String productQuality, String requestedStartTime, String requestedStopTime, String sensingStartTime, String sensingStopTime, String rawDataAvailabilityTime, String generationTime, String publicationTime, String evictionTime, List<RestDownloadHistory> downloadHistory, String productionType, List<Long> componentProductIds, Long enclosingProductId, Orbit orbit, List<RestProductFile> productFile, RestConfiguredProcessor configuredProcessor, List<RestParameter> parameters) Creates a new RestProduct. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the componentProductIds.@Valid RestConfiguredProcessorReturns the configuredProcessor.@Valid List<RestDownloadHistory> Returns the downloadHistory.Returns the enclosingProductId.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the evictionTime.Returns the fileClass.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the generationTime.getId()Returns the id.@NotNull StringReturns the missionCode.getMode()Returns the mode.@Valid OrbitgetOrbit()Returns the orbit.@NotNull @Valid List<RestParameter> Returns the parameters.Returns the processingLevel.@NotNull StringReturns the productClass.@Valid List<RestProductFile> Returns the productFile.Returns the productionType.Returns the productQuality.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the publicationTime.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the rawDataAvailabilityTime.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the requestedStartTime.@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the requestedStopTime.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the sensingStartTime.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") StringReturns the sensingStopTime.@Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") StringgetUuid()Returns the uuid.Returns the version.inthashCode()voidsetComponentProductIds(List<Long> componentProductIds) Set the componentProductIds.voidsetConfiguredProcessor(RestConfiguredProcessor configuredProcessor) Set the configuredProcessor.voidsetDownloadHistory(List<RestDownloadHistory> downloadHistory) Set the downloadHistory.voidsetEnclosingProductId(Long enclosingProductId) Set the enclosingProductId.voidsetEvictionTime(String evictionTime) Set the evictionTime.voidsetFileClass(String fileClass) Set the fileClass.voidsetGenerationTime(String generationTime) Set the generationTime.voidSet the id.voidsetMissionCode(String missionCode) Set the missionCode.voidSet the mode.voidSet the orbit.voidsetParameters(List<RestParameter> parameters) Set the parameters.voidsetProcessingLevel(String processingLevel) Set the processingLevel.voidsetProductClass(String productClass) Set the productClass.voidsetProductFile(List<RestProductFile> productFile) Set the productFile.voidsetProductionType(String productionType) Set the productionType.voidsetProductQuality(String productQuality) Set the productQuality.voidsetPublicationTime(String publicationTime) Set the publicationTime.voidsetRawDataAvailabilityTime(String rawDataAvailabilityTime) Set the rawDataAvailabilityTime.voidsetRequestedStartTime(String requestedStartTime) Set the requestedStartTime.voidsetRequestedStopTime(String requestedStopTime) Set the requestedStopTime.voidsetSensingStartTime(String sensingStartTime) Set the sensingStartTime.voidsetSensingStopTime(String sensingStopTime) Set the sensingStopTime.voidSet the uuid.voidsetVersion(Long version) Set the version.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
uuid
Universally unique product identifier -
missionCode
The mission code of the Product class this products instantiates -
productClass
Product type of the Product class this products instantiates -
processingLevel
The level of processing required for this product's product class (L0, L1, L1A, L1B, L2, L2A etc.; output only) -
fileClass
File class as defined for the enclosing mission (optional) -
mode
Processing modes as defined for the enclosing mission (only if generated by this mission) -
productQuality
Indicator for the suitability of this product for general use (NOMINAL, EXPERIMENTAL, TEST; default NOMINAL) -
requestedStartTime
Planned start time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS), default same as sensingStartTime -
requestedStopTime
Planned stop time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS), default same as sensingStopTime -
sensingStartTime
Sensing start time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
sensingStopTime
Sensing stop time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
rawDataAvailabilityTime
Satellite raw data availability time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
generationTime
Product generation time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
publicationTime
Product ingestion time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
evictionTime
Product eviction time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS) -
downloadHistory
The download history for this product -
productionType
Type of production process generating this product (SYSTEMATIC, ON_DEMAND_DEFAULT, ON_DEMAND_NON_DEFAULT) -
componentProductIds
Id values of the component products -
enclosingProductId
Id value of the enclosing product -
orbit
Orbit relationship of this product, if any -
productFile
Product files for this product -
configuredProcessor
The generating processor and its configuration -
parameters
A collection of mission-specific parameters for this object
-
-
Constructor Details
-
RestProduct
public RestProduct()Creates a new RestProduct. -
RestProduct
public RestProduct(Long id, Long version, String uuid, String missionCode, String productClass, String processingLevel, String fileClass, String mode, String productQuality, String requestedStartTime, String requestedStopTime, String sensingStartTime, String sensingStopTime, String rawDataAvailabilityTime, String generationTime, String publicationTime, String evictionTime, List<RestDownloadHistory> downloadHistory, String productionType, List<Long> componentProductIds, Long enclosingProductId, Orbit orbit, List<RestProductFile> productFile, RestConfiguredProcessor configuredProcessor, List<RestParameter> parameters) Creates a new RestProduct.
-
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getVersion
Returns the version.- Returns:
- version
-
setVersion
Set the version.- Parameters:
version- the new version
-
getUuid
@Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") public @Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") String getUuid()Returns the uuid.- Returns:
- uuid
-
setUuid
Set the uuid.- Parameters:
uuid- the new uuid
-
getMissionCode
Returns the missionCode.- Returns:
- missionCode
-
setMissionCode
Set the missionCode.- Parameters:
missionCode- the new missionCode
-
getProductClass
Returns the productClass.- Returns:
- productClass
-
setProductClass
Set the productClass.- Parameters:
productClass- the new productClass
-
getProcessingLevel
Returns the processingLevel.- Returns:
- processingLevel
-
setProcessingLevel
Set the processingLevel.- Parameters:
processingLevel- the new processingLevel
-
getFileClass
Returns the fileClass.- Returns:
- fileClass
-
setFileClass
Set the fileClass.- Parameters:
fileClass- the new fileClass
-
getMode
Returns the mode.- Returns:
- mode
-
setMode
Set the mode.- Parameters:
mode- the new mode
-
getProductQuality
Returns the productQuality.- Returns:
- productQuality
-
setProductQuality
Set the productQuality.- Parameters:
productQuality- the new productQuality
-
getRequestedStartTime
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getRequestedStartTime()Returns the requestedStartTime.- Returns:
- requestedStartTime
-
setRequestedStartTime
Set the requestedStartTime.- Parameters:
requestedStartTime- the new requestedStartTime
-
getRequestedStopTime
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getRequestedStopTime()Returns the requestedStopTime.- Returns:
- requestedStopTime
-
setRequestedStopTime
Set the requestedStopTime.- Parameters:
requestedStopTime- the new requestedStopTime
-
getSensingStartTime
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getSensingStartTime()Returns the sensingStartTime.- Returns:
- sensingStartTime
-
setSensingStartTime
Set the sensingStartTime.- Parameters:
sensingStartTime- the new sensingStartTime
-
getSensingStopTime
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getSensingStopTime()Returns the sensingStopTime.- Returns:
- sensingStopTime
-
setSensingStopTime
Set the sensingStopTime.- Parameters:
sensingStopTime- the new sensingStopTime
-
getRawDataAvailabilityTime
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getRawDataAvailabilityTime()Returns the rawDataAvailabilityTime.- Returns:
- rawDataAvailabilityTime
-
setRawDataAvailabilityTime
Set the rawDataAvailabilityTime.- Parameters:
rawDataAvailabilityTime- the new rawDataAvailabilityTime
-
getGenerationTime
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getGenerationTime()Returns the generationTime.- Returns:
- generationTime
-
setGenerationTime
Set the generationTime.- Parameters:
generationTime- the new generationTime
-
getPublicationTime
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getPublicationTime()Returns the publicationTime.- Returns:
- publicationTime
-
setPublicationTime
Set the publicationTime.- Parameters:
publicationTime- the new publicationTime
-
getEvictionTime
@Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getEvictionTime()Returns the evictionTime.- Returns:
- evictionTime
-
setEvictionTime
Set the evictionTime.- Parameters:
evictionTime- the new evictionTime
-
getDownloadHistory
Returns the downloadHistory.- Returns:
- downloadHistory
-
setDownloadHistory
Set the downloadHistory.- Parameters:
downloadHistory- the new downloadHistory
-
getProductionType
Returns the productionType.- Returns:
- productionType
-
setProductionType
Set the productionType.- Parameters:
productionType- the new productionType
-
getComponentProductIds
Returns the componentProductIds.- Returns:
- componentProductIds
-
setComponentProductIds
Set the componentProductIds.- Parameters:
componentProductIds- the new componentProductIds
-
getEnclosingProductId
Returns the enclosingProductId.- Returns:
- enclosingProductId
-
setEnclosingProductId
Set the enclosingProductId.- Parameters:
enclosingProductId- the new enclosingProductId
-
getOrbit
Returns the orbit.- Returns:
- orbit
-
setOrbit
Set the orbit.- Parameters:
orbit- the new orbit
-
getProductFile
Returns the productFile.- Returns:
- productFile
-
setProductFile
Set the productFile.- Parameters:
productFile- the new productFile
-
getConfiguredProcessor
Returns the configuredProcessor.- Returns:
- configuredProcessor
-
setConfiguredProcessor
Set the configuredProcessor.- Parameters:
configuredProcessor- the new configuredProcessor
-
getParameters
Returns the parameters.- Returns:
- parameters
-
setParameters
Set the parameters.- Parameters:
parameters- the new parameters
-
hashCode
public int hashCode() -
equals
-
toString
-