Revert previous commit

This commit is contained in:
Jelle Pelgrims
2019-08-07 11:30:23 +02:00
parent 6bf6336f11
commit e8fd1e0e37

View File

@@ -91,14 +91,14 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
otherItem = relationship.getRightItem(); otherItem = relationship.getRightItem();
relationName = relationship.getRelationshipType().getLeftwardLabel(); relationName = relationship.getRelationshipType().getLeftwardLabel();
place = relationship.getLeftPlace(); place = relationship.getLeftPlace();
isLeftwards = true; //if the current item is stored on the left, isLeftwards = false; //if the current item is stored on the left,
// the name variant is retrieved from the rightwards label // the name variant is retrieved from the rightwards label
} else if (StringUtils.equals(relationshipType.getRightType().getLabel(), entityType)) { } else if (StringUtils.equals(relationshipType.getRightType().getLabel(), entityType)) {
hashMaps = virtualMetadataPopulator.getMap().get(relationshipType.getRightwardLabel()); hashMaps = virtualMetadataPopulator.getMap().get(relationshipType.getRightwardLabel());
otherItem = relationship.getLeftItem(); otherItem = relationship.getLeftItem();
relationName = relationship.getRelationshipType().getRightwardLabel(); relationName = relationship.getRelationshipType().getRightwardLabel();
place = relationship.getRightPlace(); place = relationship.getRightPlace();
isLeftwards = false; //if the current item is stored on the right, isLeftwards = true; //if the current item is stored on the right,
// the name variant is retrieved from the leftwards label // the name variant is retrieved from the leftwards label
} else { } else {
//No virtual metadata can be created //No virtual metadata can be created