package com.demo.demo.model.obj.demo.iface;
import com.demo.demo.model.obj.demo.Customer;
import com.demo.demo.model.obj.demo.Line;
import java.util.Date;
import java.util.Set;


/** 
 * Object interface mapping for hibernate-handled table: order.
 * @author autogenerated
 */

public interface IOrder {



    /**
     * Return the value associated with the column: customer.
     * @return A Customer object (this.customer)
     */
    Customer getCustomer();
    

  
    /**  
     * Set the value related to the column: customer.
     * @param customer the customer value you wish to set
     */
    void setCustomer(final Customer customer);

    /**
     * Return the value associated with the column: line.
     * @return A Set<Line> object (this.line)
     */
    Set<Line> getLines();
    
    /**
     * Adds a bi-directional link of type Line to the lines set.
     * @param line item to add
     */
    void addLine(Line line);

  
    /**  
     * Set the value related to the column: line.
     * @param line the line value you wish to set
     */
    void setLines(final Set<Line> line);

    /**
     * Return the value associated with the column: id.
     * @return A Long object (this.id)
     */
    Long getId();
    

  
    /**  
     * Set the value related to the column: id.
     * @param id the id value you wish to set
     */
    void setId(final Long id);

    /**
     * Return the value associated with the column: orderDate.
     * @return A Date object (this.orderDate)
     */
    Date getOrderDate();
    

  
    /**  
     * Set the value related to the column: orderDate.
     * @param orderDate the orderDate value you wish to set
     */
    void setOrderDate(final Date orderDate);

    // end of interface
}