Class Product
java.lang.Object
eu.dzhw.fdz.metadatamanagement.ordermanagement.domain.Product
- All Implemented Interfaces:
Serializable
@EitherAnalysisPackageOrDataPackageOrdered @AccessWayNotEmptyForDataPackage @DataFormatsNotEmptyForDataPackage public class Product extends Object implements Serializable
Data Product which can be ordered by a customer.
- Author:
- René Reitmann
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private String
accessWay
The access way to theOrderedDataPackage
which the customer wants to have.private @Valid OrderedAnalysisPackage
analysisPackage
The (partial)OrderedAnalysisPackage
of this product.private @NotEmpty String
dataAcquisitionProjectId
The id of theDataAcquisitionProject
in which this product was generated.private Set<DataFormat>
dataFormats
The available data formats of theOrderedDataPackage
.private @Valid OrderedDataPackage
dataPackage
The (partial)OrderedDataPackage
of this product.private static long
serialVersionUID
private @NotEmpty String
version
The version of theOrderedAnalysisPackage
orOrderedDataPackage
which the customer wants to have. -
Constructor Summary
Constructors Constructor Description Product()
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
dataAcquisitionProjectId
The id of theDataAcquisitionProject
in which this product was generated. Must not be empty. -
dataPackage
The (partial)OrderedDataPackage
of this product. Either this or analysisPackage must be present. -
analysisPackage
The (partial)OrderedAnalysisPackage
of this product. Either this or dataPackage must be present. -
accessWay
The access way to theOrderedDataPackage
which the customer wants to have. It must not be empty if dataPackage is present. -
version
The version of theOrderedAnalysisPackage
orOrderedDataPackage
which the customer wants to have. -
dataFormats
The available data formats of theOrderedDataPackage
. It must not be empty if dataPackage is present.
-
-
Constructor Details
-
Product
public Product()
-