code: public GraphObject getGraphObject(final String id, final String nodeId) {
  
  		if (isValidUuid(id)) {
  
  			final AbstractNode node = getNode(id);
  			if (node != null) {
  
  				return node;
  
  			} else {
  
  				if (nodeId == null) {
  					logger.warn("Relationship access by UUID is deprecated and not supported by Neo4j, this can take a very long time.");
  				}
  
  				final AbstractRelationship rel = getRelationship(id, nodeId);
  				if (rel != null) {
  
  					return rel;
  				}
  			}
  
  		} else {
  
  			logger.warn("Invalid UUID used for getGraphObject: {} is not a valid UUID.", id);
  		}
  
  		return null;
  	}
docs: Returns the graph object with the given id.
  
  If no node with the given id is found and nodeId is not null,
  this method will search for a relationship in the list of relationships
  of the node with the given nodeId.
  
  @param id
  @param nodeId
  @return the graph object