Klasse CscProduct
java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscProduct
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected List
<CscAttribute> The variable attributes of the product (as requested by the $expand option)protected List
<CscChecksum> Represents the known checksums for the product’s physical date, providing a unique value for supporting download integrity check.protected CscTimeRange
The sensing range period.protected Long
Actual size in bytes of the downloadable fileprotected String
The MIME type of the product (typically application/octet-stream)protected String
Publication date and time of the data file (time at which the file becomes visible to the user) in UTCprotected String
Date when the data file will be removed from the rolling archive in UTCprotected String
Universally unique product identifierprotected String
Data file nameprotected CscProductionType
The type of production process applied(Package privat) static final long
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new CscProduct.CscProduct
(String id, String name, String contentType, Long contentLength, String creationDate, String evictionDate, List<CscChecksum> checksums, CscTimeRange contentDate, CscProductionType productionType, List<CscAttribute> attributes) Creates a new CscProduct. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
@Valid List
<CscAttribute> Returns the attributes.@NotNull @Valid List
<CscChecksum> Returns the checksums.@NotNull @Valid CscTimeRange
Returns the contentDate.@NotNull Long
Returns the contentLength.@NotNull String
Returns the contentType.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String
Returns the creationDate.@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String
Returns the evictionDate.@NotNull @Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") String
getId()
Returns the id.@NotNull String
getName()
Returns the name.@NotNull @Valid CscProductionType
Returns the productionType.int
hashCode()
void
setAttributes
(List<CscAttribute> attributes) Set the attributes.void
setChecksums
(List<CscChecksum> checksums) Set the checksums.void
setContentDate
(CscTimeRange contentDate) Set the contentDate.void
setContentLength
(Long contentLength) Set the contentLength.void
setContentType
(String contentType) Set the contentType.void
setCreationDate
(String creationDate) Set the creationDate.void
setEvictionDate
(String evictionDate) Set the evictionDate.void
Set the id.void
Set the name.void
setProductionType
(CscProductionType productionType) Set the productionType.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
Universally unique product identifier -
name
Data file name -
contentType
The MIME type of the product (typically application/octet-stream) -
contentLength
Actual size in bytes of the downloadable file -
creationDate
Publication date and time of the data file (time at which the file becomes visible to the user) in UTC -
evictionDate
Date when the data file will be removed from the rolling archive in UTC -
checksums
Represents the known checksums for the product’s physical date, providing a unique value for supporting download integrity check. At least MD5 checksum is mandatory. It is noted that checksums are computed for the actual downloaded product file, i.e. the package used for dissemination -
contentDate
The sensing range period. Start and end times in UTC -
productionType
The type of production process applied -
attributes
The variable attributes of the product (as requested by the $expand option)
-
-
Konstruktordetails
-
CscProduct
public CscProduct()Creates a new CscProduct. -
CscProduct
public CscProduct(String id, String name, String contentType, Long contentLength, String creationDate, String evictionDate, List<CscChecksum> checksums, CscTimeRange contentDate, CscProductionType productionType, List<CscAttribute> attributes) Creates a new CscProduct.
-
-
Methodendetails
-
getId
@NotNull @Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") public @NotNull @Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") String getId()Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id
- the new id
-
getName
Returns the name.- Gibt zurück:
- name
-
setName
Set the name.- Parameter:
name
- the new name
-
getContentType
Returns the contentType.- Gibt zurück:
- contentType
-
setContentType
Set the contentType.- Parameter:
contentType
- the new contentType
-
getContentLength
Returns the contentLength.- Gibt zurück:
- contentLength
-
setContentLength
Set the contentLength.- Parameter:
contentLength
- the new contentLength
-
getCreationDate
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getCreationDate()Returns the creationDate.- Gibt zurück:
- creationDate
-
setCreationDate
Set the creationDate.- Parameter:
creationDate
- the new creationDate
-
getEvictionDate
@NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getEvictionDate()Returns the evictionDate.- Gibt zurück:
- evictionDate
-
setEvictionDate
Set the evictionDate.- Parameter:
evictionDate
- the new evictionDate
-
getChecksums
Returns the checksums.- Gibt zurück:
- checksums
-
setChecksums
Set the checksums.- Parameter:
checksums
- the new checksums
-
getContentDate
Returns the contentDate.- Gibt zurück:
- contentDate
-
setContentDate
Set the contentDate.- Parameter:
contentDate
- the new contentDate
-
getProductionType
Returns the productionType.- Gibt zurück:
- productionType
-
setProductionType
Set the productionType.- Parameter:
productionType
- the new productionType
-
getAttributes
Returns the attributes.- Gibt zurück:
- attributes
-
setAttributes
Set the attributes.- Parameter:
attributes
- the new attributes
-
hashCode
public int hashCode() -
equals
-
toString
-