@Path("/ModelResource/{modelid}")
@Produces(MediaType.APPLICATION_JSON)
public class ModelResource {
@GET
public ModelResourceModel getModel(@PathParam("modelid") long modelId) {
return new ModelResourceModel(modelId, "Model Title", "Model Description", new DateTime());
}