@Override public Model getUPDATEModel(Representation rep) { return getCREATEModel(rep); }
@Override public DelegatingResourceDescription getRepresentationDescription(Representation rep) { DelegatingResourceDescription description = super.getRepresentationDescription(rep); if (rep instanceof DefaultRepresentation) { description.addProperty("resources", Representation.REF); return description; } else if (rep instanceof FullRepresentation) { description.removeProperty("xslt"); description.removeProperty("template"); description.addProperty("resources"); return description; } return null; }