if (settableAttributes == null || Boolean.TRUE.equals(settableAttributes.canSetDescription())) { result.setDescription("This is the TCK document type"); } else if (settableAttributes != null) { failure = createResult(WARNING, "Flag 'description' in capability NewTypeSettableAttributes is not set!"); addResult(assertNotNull(settableAttributes.canSetDescription(), null, failure));
newTypeSettableAttributes.canSetQueryName()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_DESCRIPTION, newTypeSettableAttributes.canSetDescription()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable());
target.setQueryName(newTypeSettableAttributes.canSetQueryName() == null ? true : newTypeSettableAttributes.canSetQueryName()); target.setDescription(newTypeSettableAttributes.canSetDescription() == null ? true : newTypeSettableAttributes.canSetDescription()); target.setCreatable(newTypeSettableAttributes.canSetCreatable() == null ? true : newTypeSettableAttributes.canSetCreatable());
newTypeSettableAttributes.canSetQueryName()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_DESCRIPTION, newTypeSettableAttributes.canSetDescription()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable());
newTypeSettableAttributes.canSetQueryName()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_DESCRIPTION, newTypeSettableAttributes.canSetDescription()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable());
newTypeSettableAttributes.canSetQueryName()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_DESCRIPTION, newTypeSettableAttributes.canSetDescription()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_CREATEABLE, newTypeSettableAttributes.canSetCreatable());