text = destination.getName();
}
} else if (EOJoin.SOURCE_ATTRIBUTE.equals(property)) {
EOJoin firstJoin = relationship.getFirstJoin();
if (firstJoin != null) {
EOAttribute sourceAttribute = firstJoin.getSourceAttribute();
if (sourceAttribute != null) {
text = sourceAttribute.getName();
}
}
} else if (EOJoin.DESTINATION_ATTRIBUTE.equals(property)) {
EOJoin firstJoin = relationship.getFirstJoin();
if (firstJoin != null) {
EOAttribute destinationAttribute = firstJoin.getDestinationAttribute();
if (destinationAttribute != null) {
text = destinationAttribute.getName();
}
}
} else {
text = super.getColumnText(element, property);
}