Class Order
java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject
eu.dzhw.fdz.metadatamanagement.ordermanagement.domain.Order
- All Implemented Interfaces:
Serializable
public class Order extends AbstractRdcDomainObject
Order (DTO) containing all relevant information for ordered
Product
s.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private @NotNull OrderClient
client
The id of the client (one of @linkOrderClient
) who has last modified this order.private String
id
The id of an order.private @NotEmpty String
languageKey
The key of the preferred language (either "de" or "en") of the customer.private @Valid List<Product>
products
List of dataProduct
s the customer want to order.private static long
serialVersionUID
private @NotNull OrderState
state
The current state of the order. -
Constructor Summary
Constructors Constructor Description Order()
-
Method Summary
Methods inherited from class eu.dzhw.fdz.metadatamanagement.common.domain.AbstractRdcDomainObject
getId
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
id
The id of an order. It is a number which is generated by a sequence (seeCounter
. -
languageKey
The key of the preferred language (either "de" or "en") of the customer. Must not be empty. -
state
The current state of the order. One ofOrderState
. -
client
The id of the client (one of @linkOrderClient
) who has last modified this order. -
products
List of dataProduct
s the customer want to order. Must not be empty.
-
-
Constructor Details
-
Order
public Order()
-