}
((AbstractManagedType<X>) managedType).addPluralAttribute(attribute.getName(), pluralAttribute);
}
else
{
SingularAttribute<X, T> singularAttribute = new DefaultSingularAttribute(attribute.getName(),
getAttributeType(), attribute, attributeType, managedType, checkId(attribute));
((AbstractManagedType<X>) managedType).addSingularAttribute(attribute.getName(),
singularAttribute);
if (checkSimpleId(attribute) && checkIdClass(managedType.getJavaType()))