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 Products.
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • id

      private String id
      The id of an order. It is a number which is generated by a sequence (see Counter.
    • languageKey

      @NotEmpty private @NotEmpty String languageKey
      The key of the preferred language (either "de" or "en") of the customer. Must not be empty.
    • state

      @NotNull private @NotNull OrderState state
      The current state of the order. One of OrderState.
    • client

      @NotNull private @NotNull OrderClient client
      The id of the client (one of @link OrderClient) who has last modified this order.
    • products

      @Valid private @Valid List<Product> products
      List of data Products the customer want to order. Must not be empty.
  • Constructor Details

    • Order

      public Order()