/** * Gets a description of resource's properties which can be edited. * <p/> * By default delegates to {@link #getCreatableProperties()} and removes sub-resources returned * by {@link #getPropertiesToExposeAsSubResources()}. * * @return the description * @throws ResponseException */ @Override public DelegatingResourceDescription getUpdatableProperties() throws ResourceDoesNotSupportOperationException { DelegatingResourceDescription description = getCreatableProperties(); for (String property : getPropertiesToExposeAsSubResources()) { description.getProperties().remove(property); } return description; }