static <T> ResourceIdentifier<T> ofId(final String id, final String typeId) { return ofIdOrKey(id, null, typeId); }
static <T> ResourceIdentifier<T> ofKey(final String key, final String typeId) { return ofIdOrKey(null, key, typeId); }
protected SetCustomTypeBase(final String action, @Nullable final String typeId, @Nullable final String typeKey, @Nullable final Map<String, JsonNode> fields) { super(action); this.type = ResourceIdentifier.ofIdOrKey(typeId, typeKey); this.fields = fields; }
protected SetCustomTypeBase(final String action, @Nullable final String typeId, @Nullable final String typeKey, @Nullable final Map<String, JsonNode> fields) { super(action); this.type = ResourceIdentifier.ofIdOrKey(typeId, typeKey); this.fields = fields; }
static <T> ResourceIdentifier<T> ofIdOrKey(@Nullable final String id, @Nullable final String key) { return ofIdOrKey(id, key, null); }
protected SetCustomTypeBase(final String action, @Nullable final String typeId, @Nullable final String typeKey, @Nullable final Map<String, JsonNode> fields) { super(action); this.type = ResourceIdentifier.ofIdOrKey(typeId, typeKey); this.fields = fields; }
CustomFieldsDraftImpl(@Nullable final String id, @Nullable final String typeKey, final Map<String, JsonNode> fields) { this.type = ResourceIdentifier.ofIdOrKey(id, typeKey); this.fields = immutableCopyOf(fields); }
CustomFieldsDraft(@Nullable final String typeId, @Nullable final String typeKey, final Map<String, JsonNode> fields) { this.type = ResourceIdentifier.ofIdOrKey(typeId, typeKey); this.fields = MapUtils.immutableCopyOf(fields); }
CustomFieldsDraftImpl(@Nullable final String id, @Nullable final String typeKey, final Map<String, JsonNode> fields) { this.type = ResourceIdentifier.ofIdOrKey(id, typeKey); this.fields = immutableCopyOf(fields); }