Klasse RestSimplePolicy
java.lang.Object
de.dlr.proseo.prodclmgr.rest.model.RestSimplePolicy
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected DeltaTimeT0The delta time to apply to the start of the selection period.protected DeltaTimeT1The delta time to apply to the end of the selection period.protected LongThe persistent id of this objectprotected StringThe policy type to use; for acceptable values see ESA's Generic IPF Interface Specifications(Package privat) static final longprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts) -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new RestSimplePolicy.RestSimplePolicy(Long id, Long version, String policyType, DeltaTimeT0 deltaTimeT0, DeltaTimeT1 deltaTimeT1) Creates a new RestSimplePolicy. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean@NotNull @Valid DeltaTimeT0Returns the deltaTimeT0.@NotNull @Valid DeltaTimeT1Returns the deltaTimeT1.getId()Returns the id.@NotNull StringReturns the policyType.Returns the version.inthashCode()voidsetDeltaTimeT0(DeltaTimeT0 deltaTimeT0) Set the deltaTimeT0.voidsetDeltaTimeT1(DeltaTimeT1 deltaTimeT1) Set the deltaTimeT1.voidSet the id.voidsetPolicyType(String policyType) Set the policyType.voidsetVersion(Long version) Set the version.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
policyType
The policy type to use; for acceptable values see ESA's Generic IPF Interface Specifications -
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
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
Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id- the new id
-
getVersion
Returns the version.- Gibt zurück:
- version
-
setVersion
Set the version.- Parameter:
version- the new version
-
getPolicyType
Returns the policyType.- Gibt zurück:
- policyType
-
setPolicyType
Set the policyType.- Parameter:
policyType- the new policyType
-
getDeltaTimeT0
Returns the deltaTimeT0.- Gibt zurück:
- deltaTimeT0
-
setDeltaTimeT0
Set the deltaTimeT0.- Parameter:
deltaTimeT0- the new deltaTimeT0
-
getDeltaTimeT1
Returns the deltaTimeT1.- Gibt zurück:
- deltaTimeT1
-
setDeltaTimeT1
Set the deltaTimeT1.- Parameter:
deltaTimeT1- the new deltaTimeT1
-
hashCode
public int hashCode() -
equals
-
toString
-