fullyQualifiedName = "org.andromda.persistence.hibernate.usertypes.HibernateEnumType";
}
else
{
final String hibernateTypeMappingsUri = (String)this.getConfiguredProperty("hibernateTypeMappingsUri");
final TypeMappings mappings = TypeMappings.getInstance(hibernateTypeMappingsUri);
if (mappings == null)
{
fullyQualifiedName = this.getType().getFullyQualifiedName();
}
else
{
final String fullyQualifiedModelName = this.getType().getFullyQualifiedName(true);
if (mappings.getMappings().containsFrom(fullyQualifiedModelName))
{
fullyQualifiedName = mappings.getTo(fullyQualifiedModelName);
}
else
{
fullyQualifiedName = this.getType().getFullyQualifiedName();
}