Klasse RestSimplePolicy

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

public class RestSimplePolicy 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)
    • 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
  • Konstruktordetails

    • RestSimplePolicy

      public RestSimplePolicy()
      Creates a new RestSimplePolicy.
    • RestSimplePolicy

      public RestSimplePolicy(Long id, Long version, String policyType, DeltaTimeT0 deltaTimeT0, DeltaTimeT1 deltaTimeT1)
      Creates a new RestSimplePolicy.
  • 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
    • getPolicyType

      @NotNull public @NotNull String getPolicyType()
      Returns the policyType.
      Gibt zurück:
      policyType
    • setPolicyType

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

      @NotNull @Valid public @NotNull @Valid DeltaTimeT0 getDeltaTimeT0()
      Returns the deltaTimeT0.
      Gibt zurück:
      deltaTimeT0
    • setDeltaTimeT0

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

      @NotNull @Valid public @NotNull @Valid DeltaTimeT1 getDeltaTimeT1()
      Returns the deltaTimeT1.
      Gibt zurück:
      deltaTimeT1
    • setDeltaTimeT1

      public void setDeltaTimeT1(DeltaTimeT1 deltaTimeT1)
      Set the deltaTimeT1.
      Parameter:
      deltaTimeT1 - the new deltaTimeT1
    • 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