@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/definition"; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/attributes" + attributePointer; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/properties" + propertyPointer; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/properties"; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/acl/" + aclEntrySubject; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/properties" + featurePropertyPointer; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/properties"; return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureId + "/definition"; return JsonPointer.of(path); }
/** * Gets the property value which is referred by the given JSON Pointer. * * @param pointer defines the hierarchical path to the property value to be returned. * @return the value of the property which is referred by {@code pointer}. * @throws NullPointerException if {@code pointer} is {@code null}. */ default Optional<JsonValue> getProperty(final CharSequence pointer) { return getProperty(JsonPointer.of(pointer)); }
/** * Sets the value of a property which is referred by the given JSON Pointer. * * @param pointer defines the hierarchical path to the property value to be set. * @param propertyValue the property value to be set. * @return a copy of this Feature with the given property value set. * @throws NullPointerException if any argument is {@code null}. */ default Feature setProperty(final CharSequence pointer, final JsonValue propertyValue) { return setProperty(JsonPointer.of(pointer), propertyValue); }
/** * Removes the property specified by a JSON Pointer from a copy of this Feature. * * @param pointer defines the hierarchical path to the property to be removed. * @return a copy of this Feature with the specified property removed. * @throws NullPointerException if {@code pointer} is {@code null}. */ default Feature removeProperty(final CharSequence pointer) { return removeProperty(JsonPointer.of(pointer)); }
@Override public JsonPointer getResourcePath() { final String path = "/acl/" + authorizationSubject.getId(); return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + featureCreated.getId(); return JsonPointer.of(path); }
@Override public JsonPointer getResourcePath() { final String path = "/features/" + getFeatureId(); return JsonPointer.of(path); }
/** * Sets the value of a property which is referred by the given JSON Pointer. * * @param pointer defines the hierarchical path to the property value to be set. * @param propertyValue the property value to be set. * @return a copy of this Feature with the given property value set. * @throws NullPointerException if any argument is {@code null}. */ default Feature setProperty(final CharSequence pointer, final double propertyValue) { return setProperty(JsonPointer.of(pointer), JsonValue.of(propertyValue)); }
/** * Sets the given attribute on a copy of this Thing. * * @param attributePath the hierarchical path to the attribute value. * @param attributeValue the attribute value to be set. * @return a copy of this Thing with the given attribute. * @throws NullPointerException if any argument is {@code null}. * @throws IllegalArgumentException if {@code attributePath} is empty. */ default Thing setAttribute(final CharSequence attributePath, final int attributeValue) { return setAttribute(JsonPointer.of(attributePath), JsonValue.of(attributeValue)); }
/** * Sets the value of a property which is referred by the given JSON Pointer. * * @param pointer defines the hierarchical path to the property value to be set. * @param propertyValue the property value to be set. * @return a copy of this Feature with the given property value set. * @throws NullPointerException if any argument is {@code null}. */ default Feature setProperty(final CharSequence pointer, final int propertyValue) { return setProperty(JsonPointer.of(pointer), JsonValue.of(propertyValue)); }
/** * Sets the value of a property which is referred by the given JSON Pointer. * * @param pointer defines the hierarchical path to the property value to be set. * @param propertyValue the property value to be set. * @return a copy of this Feature with the given property value set. * @throws NullPointerException if any argument is {@code null}. */ default Feature setProperty(final CharSequence pointer, final String propertyValue) { return setProperty(JsonPointer.of(pointer), JsonValue.of(propertyValue)); }
@Override public JsonPointer getResourcePath() { final String path = "/acl/" + aclEntry.getAuthorizationSubject().getId(); return JsonPointer.of(path); }