if (settableAttributes == null || Boolean.TRUE.equals(settableAttributes.canSetCreatable())) { result.setIsCreatable(true); } else if (settableAttributes != null) { failure = createResult(WARNING, "Flag 'creatable' in capability NewTypeSettableAttributes is not set!"); addResult(assertNotNull(settableAttributes.canSetCreatable(), null, failure));
newTypeSettableAttributes.canSetDescription()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FILEABLE, newTypeSettableAttributes.canSetFileable());
target.setDescription(newTypeSettableAttributes.canSetDescription() == null ? true : newTypeSettableAttributes.canSetDescription()); target.setCreatable(newTypeSettableAttributes.canSetCreatable() == null ? true : newTypeSettableAttributes.canSetCreatable()); target.setFileable(newTypeSettableAttributes.canSetFileable() == null ? true : newTypeSettableAttributes.canSetFileable());
newTypeSettableAttributes.canSetDescription()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FILEABLE, newTypeSettableAttributes.canSetFileable());
newTypeSettableAttributes.canSetDescription()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FILEABLE, newTypeSettableAttributes.canSetFileable());
newTypeSettableAttributes.canSetDescription()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_FILEABLE, newTypeSettableAttributes.canSetFileable());