Example #1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    SimpleOrderProxy that = (SimpleOrderProxy) o;

    return entity.equals(that.entity);
  }
Example #2
0
 @Override
 public void setOrderDate(LocalDate orderDate) {
   entity.setOrderDate(orderDate);
 }
Example #3
0
 @Override
 public LocalDate getOrderDate() {
   return entity.getOrderDate();
 }
Example #4
0
 @Override
 public void setDeliveryType(DeliveryType deliveryType) {
   entity.setDeliveryType(deliveryType);
 }
Example #5
0
 @Override
 public LocalDate getDeliveryDate() {
   return entity.getDeliveryDate();
 }
Example #6
0
 @Override
 public String getDescription() {
   return entity.getDescription();
 }
Example #7
0
 @Override
 public Double getPrice() {
   return entity.getPrice();
 }
Example #8
0
 @Override
 public Client getClient() {
   return new ClientProxy(entity.getClient());
 }
Example #9
0
 @Override
 public String toString() {
   return String.valueOf(entity.getId());
 }
Example #10
0
 @Override
 public void setPaymentDate(LocalDate paymentDate) {
   entity.setPaymentDate(paymentDate);
 }
Example #11
0
 @Override
 public LocalDate getPaymentDate() {
   return entity.getPaymentDate();
 }
Example #12
0
 @Override
 public void setPaid(Boolean paid) {
   entity.setPaid(paid);
 }
Example #13
0
 @Override
 public Boolean getPaid() {
   return entity.getPaid();
 }
Example #14
0
 @Override
 public void setPaymentType(PaymentType paymentType) {
   entity.setPaymentType(paymentType);
 }
Example #15
0
 @Override
 public PaymentType getPaymentType() {
   return entity.getPaymentType();
 }
Example #16
0
 @Override
 public String getSalesPerson() {
   return entity.getSalesPerson();
 }
Example #17
0
 @Override
 public void setSalesPerson(String salesPerson) {
   entity.setSalesPerson(salesPerson);
 }
Example #18
0
 @Override
 public int hashCode() {
   return entity.hashCode();
 }
Example #19
0
 @Override
 public void setClient(Client client) {
   if (client instanceof EntityAware<?>) {
     entity.setClient(((EntityAware<ClientEntity>) client).getEntity());
   }
 }
Example #20
0
 @Override
 public Integer getId() {
   return entity.getId();
 }
Example #21
0
 @Override
 public void setPrice(Double price) {
   entity.setPrice(price);
 }
Example #22
0
 @Override
 public String getReference() {
   return entity.getReference();
 }
Example #23
0
 @Override
 public void setDescription(String description) {
   entity.setDescription(description);
 }
Example #24
0
 @Override
 public void setReference(String reference) {
   entity.setReference(reference);
 }
Example #25
0
 @Override
 public void setDeliveryDate(LocalDate deliveryDate) {
   entity.setDeliveryDate(deliveryDate);
 }
Example #26
0
 @Override
 public DeliveryType getDeliveryType() {
   return entity.getDeliveryType();
 }