Class EntityModelResource

java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entitymodel.spi.resources.EntityModelResource
All Implemented Interfaces:
RestResource

@Path("/entities/{name}/model") public class EntityModelResource extends AbstractRestResource
This resource provides the model of a certain entity type.
  • Constructor Details

  • Method Details

    • getModel

      @GET @Produces("application/json") public EntityModelBean getModel(@PathParam("name") String modelName)
    • resolvePath

      @GET @Produces("application/json") @Path("/resolve") public EntityModelBean resolvePath(@PathParam("name") String modelName, @QueryParam("path") String path)