for (final Iterator memberIterator = members.iterator(); memberIterator.hasNext();)
{
final Object nextCandidate = memberIterator.next();
if (nextCandidate instanceof Property)
{
final Property property = (Property)nextCandidate;
if (property.getAssociation() == null)
{
if (logger.isDebugEnabled())
{
logger.debug("Attribute found for " + classifier.getName() + ": " + property.getName());
if (attributeMap.containsKey(property.getName()))
{
logger.warn(
"An attribute with this name has already been registered, overriding: " +
property.getName());
}
}
// property represents an association end
attributeMap.put(
property.getName(),
property);
}
}
}