Class RestSimplePolicy

java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.RestSimplePolicy
All Implemented Interfaces:
Serializable

public class RestSimplePolicy extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • 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)
    • policyType

      protected String policyType
      The policy type to use; for acceptable values see ESA's Generic IPF Interface Specifications
    • deltaTimeT0

      protected DeltaTimeT0 deltaTimeT0
      The delta time to apply to the start of the selection period. Delta times must not be negative (i. e. reduce the interval). Default is zero days
    • deltaTimeT1

      protected DeltaTimeT1 deltaTimeT1
      The delta time to apply to the end of the selection period. Delta times must not be negative (i. e. reduce the interval). Default is zero days
  • Constructor Details

    • RestSimplePolicy

      public RestSimplePolicy()
      Creates a new RestSimplePolicy.
    • RestSimplePolicy

      public RestSimplePolicy(Long id, Long version, String policyType, DeltaTimeT0 deltaTimeT0, DeltaTimeT1 deltaTimeT1)
      Creates a new RestSimplePolicy.
  • Method Details

    • getId

      public Long getId()
      Returns the id.
      Returns:
      id
    • setId

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

      public Long getVersion()
      Returns the version.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameters:
      version - the new version
    • getPolicyType

      @NotNull public @NotNull String getPolicyType()
      Returns the policyType.
      Returns:
      policyType
    • setPolicyType

      public void setPolicyType(String policyType)
      Set the policyType.
      Parameters:
      policyType - the new policyType
    • getDeltaTimeT0

      @NotNull @Valid public @NotNull @Valid DeltaTimeT0 getDeltaTimeT0()
      Returns the deltaTimeT0.
      Returns:
      deltaTimeT0
    • setDeltaTimeT0

      public void setDeltaTimeT0(DeltaTimeT0 deltaTimeT0)
      Set the deltaTimeT0.
      Parameters:
      deltaTimeT0 - the new deltaTimeT0
    • getDeltaTimeT1

      @NotNull @Valid public @NotNull @Valid DeltaTimeT1 getDeltaTimeT1()
      Returns the deltaTimeT1.
      Returns:
      deltaTimeT1
    • setDeltaTimeT1

      public void setDeltaTimeT1(DeltaTimeT1 deltaTimeT1)
      Set the deltaTimeT1.
      Parameters:
      deltaTimeT1 - the new deltaTimeT1
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object