result.setLocalNamespace(typeDefinition.getLocalNamespace());
result.setParentTypeId(typeDefinition.getParentId());
result.setQueryName(typeDefinition.getQueryName());
for (CmisPropertyDefinitionType propertyDefinition : typeDefinition.getPropertyDefinition()) {
result.addPropertyDefinition(convert(propertyDefinition));
}
// handle extensions
convertExtension(typeDefinition, result);