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