Klasse RestSimpleSelectionRule

java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.RestSimpleSelectionRule
Alle implementierten Schnittstellen:
Serializable

public class RestSimpleSelectionRule extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected Long id
      The persistent id of this object
    • version

      protected Long version
      A version identifier to track updates to the object (especially to detect concurrent update attempts)
    • mode

      protected String mode
      Processing modes as defined for the enclosing mission
    • isMandatory

      protected Boolean isMandatory
      Indicates whether the required source product is mandatory for the production of the target product
    • minimumCoverage

      protected Short minimumCoverage
      Minimum percentage of coverage of the desired validity period for fulfilment of this rule (default 0)
    • filterConditions

      protected List<RestParameter> 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

      protected String targetProductClass
      The product class which uses the selection rule
    • sourceProductClass

      protected String sourceProductClass
      The product class which is selected by this rule
    • configuredProcessors

      protected List<String> configuredProcessors
      A list of identifiers for processor configurations, for which this rule is applicable
    • simplePolicies

      protected List<RestSimplePolicy> simplePolicies
      The selection policies applied for selecting target products (the first applicable policy in the list holds)
    • ruleString

      protected String ruleString
      The rule string of this selection rule
  • Konstruktordetails

    • 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.
  • Methodendetails

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameter:
      id - the new id
    • getVersion

      public Long getVersion()
      Returns the version.
      Gibt zurück:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameter:
      version - the new version
    • getMode

      public String getMode()
      Returns the mode.
      Gibt zurück:
      mode
    • setMode

      public void setMode(String mode)
      Set the mode.
      Parameter:
      mode - the new mode
    • getIsMandatory

      @NotNull public @NotNull Boolean getIsMandatory()
      Returns the isMandatory.
      Gibt zurück:
      isMandatory
    • setIsMandatory

      public void setIsMandatory(Boolean isMandatory)
      Set the isMandatory.
      Parameter:
      isMandatory - the new isMandatory
    • getMinimumCoverage

      public Short getMinimumCoverage()
      Returns the minimumCoverage.
      Gibt zurück:
      minimumCoverage
    • setMinimumCoverage

      public void setMinimumCoverage(Short minimumCoverage)
      Set the minimumCoverage.
      Parameter:
      minimumCoverage - the new minimumCoverage
    • getFilterConditions

      @NotNull @Valid public @NotNull @Valid List<RestParameter> getFilterConditions()
      Returns the filterConditions.
      Gibt zurück:
      filterConditions
    • setFilterConditions

      public void setFilterConditions(List<RestParameter> filterConditions)
      Set the filterConditions.
      Parameter:
      filterConditions - the new filterConditions
    • getTargetProductClass

      @NotNull public @NotNull String getTargetProductClass()
      Returns the targetProductClass.
      Gibt zurück:
      targetProductClass
    • setTargetProductClass

      public void setTargetProductClass(String targetProductClass)
      Set the targetProductClass.
      Parameter:
      targetProductClass - the new targetProductClass
    • getSourceProductClass

      @NotNull public @NotNull String getSourceProductClass()
      Returns the sourceProductClass.
      Gibt zurück:
      sourceProductClass
    • setSourceProductClass

      public void setSourceProductClass(String sourceProductClass)
      Set the sourceProductClass.
      Parameter:
      sourceProductClass - the new sourceProductClass
    • getConfiguredProcessors

      @NotNull public @NotNull List<String> getConfiguredProcessors()
      Returns the configuredProcessors.
      Gibt zurück:
      configuredProcessors
    • setConfiguredProcessors

      public void setConfiguredProcessors(List<String> configuredProcessors)
      Set the configuredProcessors.
      Parameter:
      configuredProcessors - the new configuredProcessors
    • getSimplePolicies

      @NotNull @Valid public @NotNull @Valid List<RestSimplePolicy> getSimplePolicies()
      Returns the simplePolicies.
      Gibt zurück:
      simplePolicies
    • setSimplePolicies

      public void setSimplePolicies(List<RestSimplePolicy> simplePolicies)
      Set the simplePolicies.
      Parameter:
      simplePolicies - the new simplePolicies
    • getRuleString

      @NotNull public @NotNull String getRuleString()
      Returns the ruleString.
      Gibt zurück:
      ruleString
    • setRuleString

      public void setRuleString(String ruleString)
      Set the ruleString.
      Parameter:
      ruleString - the new ruleString
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object