}
int lastDot = canonicalType.lastIndexOf(".");
String simpleType = canonicalType.substring(lastDot + 1, canonicalType.length());
AssociationType cardinality = (isCollectionType) ? AssociationType.TO_MANY : AssociationType.TO_ONE;
return new Association(nameInEntity, canonicalType, simpleType, cardinality);
}