@GET
@Path("${name}")
public String get${name}() {
return this.configuration.getString(Property.${name});
}
@PUT
@Path("${name}")
public Response put${name}(@FormParam(value="${name}") String ${name}) {
return BackendUtils.setProperty(this.configuration, Property.${name}, ${name});
}
@Path("{id}/")
public ${thing}Resource get${thing}Resource(@PathParam("id") String id) {
XMLid xmlId = new XMLid(id, true);
${thing}Id resId = new ${thing}Id((${thing}sId) this.id, xmlId);
return new ${thing}Resource(resId);
}
private static final Logger logger = LoggerFactory.getLogger(${enclosing_type}.class);
private static final Logger logger = LoggerFactory.getLogger(${enclosing_type}.class);