@SuppressWarnings("unchecked")
protected <T> Property<T> convertProperty(ObjectType objectType, PropertyData<T> pd) {
PropertyDefinition<T> definition = (PropertyDefinition<T>) objectType.getPropertyDefinitions().get(pd.getId());
if (definition == null) {
// property without definition
throw new CmisRuntimeException("Property '" + pd.getId() + "' doesn't exist!");
}
return createProperty(definition, pd.getValues());
}