public class Order extends Object
| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
long |
getId() |
Product |
getProduct(int productId) |
void |
setDescription(String d) |
void |
setId(long id) |
public long getId()
public void setId(long id)
public String getDescription()
public void setDescription(String d)
@GET
@Path(value="products/{productId}/")
@Produces(value="application/xml")
public Product getProduct(@PathParam(value="productId")
int productId)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.