text = entity.getName();
} else if (_element instanceof EOAttribute) {
EOAttribute attribute = (EOAttribute) _element;
text = attribute.getName();
} else if (_element instanceof EORelationship) {
EORelationship relationship = (EORelationship) _element;
text = relationship.getName();
} else if (_element instanceof EORelationshipPath) {
EORelationshipPath relationshipPath = (EORelationshipPath) _element;
text = relationshipPath.getChildRelationship().getName();
} else if (_element instanceof EOAttributePath) {
EOAttributePath attributePath = (EOAttributePath) _element;