Class RestSimpleSelectionRule
java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.RestSimpleSelectionRule
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of identifiers for processor configurations, for which this rule is applicableprotected List<RestParameter> Parameter values to filter the selected products (triple of parameter key, parameter type and parameter value); checked against product parameter values by equality.protected LongThe persistent id of this objectprotected BooleanIndicates whether the required source product is mandatory for the production of the target productprotected ShortMinimum percentage of coverage of the desired validity period for fulfilment of this rule (default 0)protected StringProcessing modes as defined for the enclosing missionprotected StringThe rule string of this selection rule(package private) static final longprotected List<RestSimplePolicy> The selection policies applied for selecting target products (the first applicable policy in the list holds)protected StringThe product class which is selected by this ruleprotected StringThe product class which uses the selection ruleprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts) -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RestSimpleSelectionRule.RestSimpleSelectionRule(Long id, Long version, String mode, Boolean isMandatory, Short minimumCoverage, List<RestParameter> filterConditions, String targetProductClass, String sourceProductClass, List<String> configuredProcessors, List<RestSimplePolicy> simplePolicies, String ruleString) Creates a new RestSimpleSelectionRule. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the configuredProcessors.@NotNull @Valid List<RestParameter> Returns the filterConditions.getId()Returns the id.@NotNull BooleanReturns the isMandatory.Returns the minimumCoverage.getMode()Returns the mode.@NotNull StringReturns the ruleString.@NotNull @Valid List<RestSimplePolicy> Returns the simplePolicies.@NotNull StringReturns the sourceProductClass.@NotNull StringReturns the targetProductClass.Returns the version.inthashCode()voidsetConfiguredProcessors(List<String> configuredProcessors) Set the configuredProcessors.voidsetFilterConditions(List<RestParameter> filterConditions) Set the filterConditions.voidSet the id.voidsetIsMandatory(Boolean isMandatory) Set the isMandatory.voidsetMinimumCoverage(Short minimumCoverage) Set the minimumCoverage.voidSet the mode.voidsetRuleString(String ruleString) Set the ruleString.voidsetSimplePolicies(List<RestSimplePolicy> simplePolicies) Set the simplePolicies.voidsetSourceProductClass(String sourceProductClass) Set the sourceProductClass.voidsetTargetProductClass(String targetProductClass) Set the targetProductClass.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) -
mode
Processing modes as defined for the enclosing mission -
isMandatory
Indicates whether the required source product is mandatory for the production of the target product -
minimumCoverage
Minimum percentage of coverage of the desired validity period for fulfilment of this rule (default 0) -
filterConditions
Parameter values to filter the selected products (triple of parameter key, parameter type and parameter value); checked against product parameter values by equality. -
targetProductClass
The product class which uses the selection rule -
sourceProductClass
The product class which is selected by this rule -
configuredProcessors
A list of identifiers for processor configurations, for which this rule is applicable -
simplePolicies
The selection policies applied for selecting target products (the first applicable policy in the list holds) -
ruleString
The rule string of this selection rule
-
-
Constructor Details
-
RestSimpleSelectionRule
public RestSimpleSelectionRule()Creates a new RestSimpleSelectionRule. -
RestSimpleSelectionRule
public RestSimpleSelectionRule(Long id, Long version, String mode, Boolean isMandatory, Short minimumCoverage, List<RestParameter> filterConditions, String targetProductClass, String sourceProductClass, List<String> configuredProcessors, List<RestSimplePolicy> simplePolicies, String ruleString) Creates a new RestSimpleSelectionRule.
-
-
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
-
getMode
Returns the mode.- Returns:
- mode
-
setMode
Set the mode.- Parameters:
mode- the new mode
-
getIsMandatory
Returns the isMandatory.- Returns:
- isMandatory
-
setIsMandatory
Set the isMandatory.- Parameters:
isMandatory- the new isMandatory
-
getMinimumCoverage
Returns the minimumCoverage.- Returns:
- minimumCoverage
-
setMinimumCoverage
Set the minimumCoverage.- Parameters:
minimumCoverage- the new minimumCoverage
-
getFilterConditions
Returns the filterConditions.- Returns:
- filterConditions
-
setFilterConditions
Set the filterConditions.- Parameters:
filterConditions- the new filterConditions
-
getTargetProductClass
Returns the targetProductClass.- Returns:
- targetProductClass
-
setTargetProductClass
Set the targetProductClass.- Parameters:
targetProductClass- the new targetProductClass
-
getSourceProductClass
Returns the sourceProductClass.- Returns:
- sourceProductClass
-
setSourceProductClass
Set the sourceProductClass.- Parameters:
sourceProductClass- the new sourceProductClass
-
getConfiguredProcessors
Returns the configuredProcessors.- Returns:
- configuredProcessors
-
setConfiguredProcessors
Set the configuredProcessors.- Parameters:
configuredProcessors- the new configuredProcessors
-
getSimplePolicies
Returns the simplePolicies.- Returns:
- simplePolicies
-
setSimplePolicies
Set the simplePolicies.- Parameters:
simplePolicies- the new simplePolicies
-
getRuleString
Returns the ruleString.- Returns:
- ruleString
-
setRuleString
Set the ruleString.- Parameters:
ruleString- the new ruleString
-
hashCode
public int hashCode() -
equals
-
toString
-