code: public ImmutableList<SQLPPTriplesMap> getMappings(Graph myModel) throws InvalidR2RMLMappingException {
  
  		List<SQLPPTriplesMap> mappings = new ArrayList<SQLPPTriplesMap>();
  
  		// retrieve the TriplesMap nodes
  		Collection<TriplesMap> tripleMaps = r2rmlParser.getMappingNodes(myModel);
  
  		for (TriplesMap tm : tripleMaps) {
  
  			// for each node get a mapping
  			SQLPPTriplesMap mapping;
  
  			try {
  				mapping = getMapping(tm);
  
                  if(mapping!=null) {
                      // add it to the list of mappings
                      mappings.add(mapping);
                  }
  
  				// pass 2 - check for join conditions, add to list
  				List<SQLPPTriplesMap> joinMappings = getJoinMappings(tripleMaps, tm);
  				if (joinMappings != null) {
  					mappings.addAll(joinMappings);
  				}
  			} catch (Exception e) {
  				e.printStackTrace();
  				throw new RuntimeException(e);
  			}
  		}
  		return ImmutableList.copyOf(mappings);
  	}
docs: This method return the list of mappings from the Model main method to be
  called, assembles everything
  @param myModel - the Model structure containing mappings
  @return ArrayList<OBDAMappingAxiom> - list of mapping axioms read from the Model