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