boolean equal = false;
try {
IDomainModel domainModel = getDomainModel();
if (domainModel != null) {
ModelMeta modelMeta = domainModel.getModelMeta();
equal = modelMeta.equalNeighbors(this, entity);
}
} catch (Exception e) {
log.error("Error in Entity.equalNeighbors: " + e.getMessage());
}
return equal;