Class RestProductClass
java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.RestProductClass
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionSet of component product classesprotected LongDuration of a slice in seconds (only if defaultSlicingType == "TIME_SLICE")protected StringDefault slicing method to apply for the generation of products of this type (ORBIT, CALENDAR_DAY, CALENDAR_MONTH, CALENDAR_YEAR, TIME_SLICE)protected StringProduct type for which this product class is a componentprotected LongThe persistent id of this objectprotected StringThe mission code (e. g.protected StringThe level of processing required for this product class (L0, L1, L1A, L1B, L2, L2A etc.)protected StringUser-defined unique processor class name for the processor class that can generate products of this classprotected StringTemplate for the generation of product files, overrides file naming convention for missionprotected StringThe product type as it is agreed in the mission specification documents (e. g.protected List<RestSimpleSelectionRule> The (set of) selection rules applicable for this product class(package private) static final longprotected StringA short description of the product type to display as informational text on the user interfaceprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts)protected StringVisibility of products of this class to external users (INTERNAL, RESTRICTED, PUBLIC) -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestProductClass.RestProductClass(Long id, Long version, String missionCode, String productType, String typeDescription, String processingLevel, String visibility, String defaultSlicingType, Long defaultSliceDuration, String productFileTemplate, List<String> componentClasses, String enclosingClass, String processorClass, List<RestSimpleSelectionRule> selectionRule) Creates a new RestProductClass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the componentClasses.Returns the defaultSliceDuration.Returns the defaultSlicingType.Returns the enclosingClass.getId()Returns the id.@NotNull StringReturns the missionCode.Returns the processingLevel.Returns the processorClass.Returns the productFileTemplate.@NotNull StringReturns the productType.@Valid List<RestSimpleSelectionRule> Returns the selectionRule.Returns the typeDescription.Returns the version.@NotNull StringReturns the visibility.inthashCode()voidsetComponentClasses(List<String> componentClasses) Set the componentClasses.voidsetDefaultSliceDuration(Long defaultSliceDuration) Set the defaultSliceDuration.voidsetDefaultSlicingType(String defaultSlicingType) Set the defaultSlicingType.voidsetEnclosingClass(String enclosingClass) Set the enclosingClass.voidSet the id.voidsetMissionCode(String missionCode) Set the missionCode.voidsetProcessingLevel(String processingLevel) Set the processingLevel.voidsetProcessorClass(String processorClass) Set the processorClass.voidsetProductFileTemplate(String productFileTemplate) Set the productFileTemplate.voidsetProductType(String productType) Set the productType.voidsetSelectionRule(List<RestSimpleSelectionRule> selectionRule) Set the selectionRule.voidsetTypeDescription(String typeDescription) Set the typeDescription.voidsetVersion(Long version) Set the version.voidsetVisibility(String visibility) Set the visibility.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) -
missionCode
The mission code (e. g. S5P) -
productType
The product type as it is agreed in the mission specification documents (e. g. L2_CLOUD___); unique within a mission -
typeDescription
A short description of the product type to display as informational text on the user interface -
processingLevel
The level of processing required for this product class (L0, L1, L1A, L1B, L2, L2A etc.) -
visibility
Visibility of products of this class to external users (INTERNAL, RESTRICTED, PUBLIC) -
defaultSlicingType
Default slicing method to apply for the generation of products of this type (ORBIT, CALENDAR_DAY, CALENDAR_MONTH, CALENDAR_YEAR, TIME_SLICE) -
defaultSliceDuration
Duration of a slice in seconds (only if defaultSlicingType == "TIME_SLICE") -
productFileTemplate
Template for the generation of product files, overrides file naming convention for mission -
componentClasses
Set of component product classes -
enclosingClass
Product type for which this product class is a component -
processorClass
User-defined unique processor class name for the processor class that can generate products of this class -
selectionRule
The (set of) selection rules applicable for this product class
-
-
Constructor Details
-
RestProductClass
public RestProductClass()Creates a new RestProductClass. -
RestProductClass
public RestProductClass(Long id, Long version, String missionCode, String productType, String typeDescription, String processingLevel, String visibility, String defaultSlicingType, Long defaultSliceDuration, String productFileTemplate, List<String> componentClasses, String enclosingClass, String processorClass, List<RestSimpleSelectionRule> selectionRule) Creates a new RestProductClass.
-
-
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
-
getMissionCode
Returns the missionCode.- Returns:
- missionCode
-
setMissionCode
Set the missionCode.- Parameters:
missionCode- the new missionCode
-
getProductType
Returns the productType.- Returns:
- productType
-
setProductType
Set the productType.- Parameters:
productType- the new productType
-
getTypeDescription
Returns the typeDescription.- Returns:
- typeDescription
-
setTypeDescription
Set the typeDescription.- Parameters:
typeDescription- the new typeDescription
-
getProcessingLevel
Returns the processingLevel.- Returns:
- processingLevel
-
setProcessingLevel
Set the processingLevel.- Parameters:
processingLevel- the new processingLevel
-
getVisibility
Returns the visibility.- Returns:
- visibility
-
setVisibility
Set the visibility.- Parameters:
visibility- the new visibility
-
getDefaultSlicingType
Returns the defaultSlicingType.- Returns:
- defaultSlicingType
-
setDefaultSlicingType
Set the defaultSlicingType.- Parameters:
defaultSlicingType- the new defaultSlicingType
-
getDefaultSliceDuration
Returns the defaultSliceDuration.- Returns:
- defaultSliceDuration
-
setDefaultSliceDuration
Set the defaultSliceDuration.- Parameters:
defaultSliceDuration- the new defaultSliceDuration
-
getProductFileTemplate
Returns the productFileTemplate.- Returns:
- productFileTemplate
-
setProductFileTemplate
Set the productFileTemplate.- Parameters:
productFileTemplate- the new productFileTemplate
-
getComponentClasses
Returns the componentClasses.- Returns:
- componentClasses
-
setComponentClasses
Set the componentClasses.- Parameters:
componentClasses- the new componentClasses
-
getEnclosingClass
Returns the enclosingClass.- Returns:
- enclosingClass
-
setEnclosingClass
Set the enclosingClass.- Parameters:
enclosingClass- the new enclosingClass
-
getProcessorClass
Returns the processorClass.- Returns:
- processorClass
-
setProcessorClass
Set the processorClass.- Parameters:
processorClass- the new processorClass
-
getSelectionRule
Returns the selectionRule.- Returns:
- selectionRule
-
setSelectionRule
Set the selectionRule.- Parameters:
selectionRule- the new selectionRule
-
hashCode
public int hashCode() -
equals
-
toString
-