public Representation getRelationshipProperty(long relationshipId, String key)
     throws NoSuchPropertyException, RelationshipNotFoundException {
   Relationship relationship = relationship(relationshipId);
   try {
     return PropertiesRepresentation.value(relationship.getProperty(key));
   } catch (NotFoundException e) {
     throw new NoSuchPropertyException(relationship, key);
   }
 }
 public Representation getNodeProperty(long nodeId, String key)
     throws NodeNotFoundException, NoSuchPropertyException {
   Node node = node(nodeId);
   try {
     return PropertiesRepresentation.value(node.getProperty(key));
   } catch (NotFoundException e) {
     throw new NoSuchPropertyException(node, key);
   }
 }