jsf – How to set the attribute of another class in Java

Good night, I create a list in java and I have to access an attribute of another class, but it does not work, can someone help me?

Product class

Public class Product {

private int id;
private channel description;

Category of deductible element

Public class OrderOrder {

private int id;
private int quantity;
private product p;

/ * getters and setters * /

}

Method of the OrderObject class

method

// set attributes for the list

OrderOrder i = new OrderOrder ();
Product product = new product ();

i.setId (rs.getInt ("order_id"));
i.setQuantity (rs.getInt ("quantity"));
// the set below does not work
i.setP (product.setDescription (rs.getString ("description")));
itens.add (i);