result.setParentTypeId(parentType.getId()); if (settableAttributes == null || Boolean.TRUE.equals(settableAttributes.canSetId())) { result.setId(typeId); } else if (settableAttributes != null) { failure = createResult(WARNING, "Flag 'id' in capability NewTypeSettableAttributes is not set!"); addResult(assertNotNull(settableAttributes.canSetId(), null, failure));
newTypeSettableAttributes.canSetId()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_LOCALNAME, newTypeSettableAttributes.canSetLocalName());
newTypeSettableAttributes.canSetId()); XMLUtils.write(writer, PREFIX_CMIS, NAMESPACE_CMIS, TAG_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_LOCALNAME, newTypeSettableAttributes.canSetLocalName());
newTypeSettableAttributes.canSetId()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_LOCALNAME, newTypeSettableAttributes.canSetLocalName());
newTypeSettableAttributes.canSetId()); newTypeSettableAttributesJson.put(JSON_CAP_NEW_TYPE_SETTABLE_ATTRIBUTES_LOCALNAME, newTypeSettableAttributes.canSetLocalName());