connectionUtils/src/main/java/com/ge/research/semtk/sparqlX/SparqlConnection.java
public boolean isSingleServerURL() {
		String url = "";
		for (int i=0; i < this.modelInterfaces.size(); i++) {
			String e =  this.modelInterfaces.get(i).getServerAndPort();
			if (url.equals("")) {
				url = e;
			} else if (! e.equals(url)) {
				return false;
			}
		}
		
		// add data interfaces
		for (int i=0; i < this.dataInterfaces.size(); i++) {
			String e =  this.dataInterfaces.get(i).getServerAndPort();
			if (url.equals("")) {
				url = e;
			} else if (! e.equals(url)) {
				return false;
			}
		}
		
		// if there are no serverURLs then false
		if (url.equals("")) {
			return false;
		} else {
			return true;
		}
	}
/**
	 * Do all endpoints point to the same server
	 * @return
	 */
Do all endpoints point to the same server
@return
Do all endpoints point to the same server @return
public boolean isSingleServerURL() {
		String url = "";
		for (int i=0; i < this.modelInterfaces.size(); i++) {
			String e =  this.modelInterfaces.get(i).getServerAndPort();
			if (url.equals("")) {
				url = e;
			} else if (! e.equals(url)) {
				return false;
			}
		}
		for (int i=0; i < this.dataInterfaces.size(); i++) {
			String e =  this.dataInterfaces.get(i).getServerAndPort();
			if (url.equals("")) {
				url = e;
			} else if (! e.equals(url)) {
				return false;
			}
		}
		if (url.equals("")) {
			return false;
		} else {
			return true;
		}
	}
public boolean isSingleServerURL ( ) { String url = "" ; for ( int i = 0 ; i < this . modelInterfaces . size ( ) ; i ++ ) { String e = this . modelInterfaces . get ( i ) . getServerAndPort ( ) ; if ( url . equals ( "" ) ) { url = e ; } else if ( ! e . equals ( url ) ) { return false ; } } for ( int i = 0 ; i < this . dataInterfaces . size ( ) ; i ++ ) { String e = this . dataInterfaces . get ( i ) . getServerAndPort ( ) ; if ( url . equals ( "" ) ) { url = e ; } else if ( ! e . equals ( url ) ) { return false ; } } if ( url . equals ( "" ) ) { return false ; } else { return true ; } }
Do all endpoints point to the same server
 @return
Do all endpoints point to the same server @return
// add data interfaces // if there are no serverURLs then false