src/main/java/sancus/service/ContractOntologyService.java
public String solidityContract(JsonArray entireContract) {
		String value = "";
		for(int i = 0; i < entireContract.size(); i++) {
			String keyArray = entireContract.get(i).getAsJsonObject().keySet().iterator().next();
			if(keyArray.contentEquals(ConfigTokens.identifier)) {
				value = entireContract.get(i).getAsJsonObject().get(keyArray).getAsJsonArray().get(0).getAsJsonObject().get("text").getAsString();
			}
		}
		return value;
	}
/**
	 * Check the contract's name
	 * @param entireContract
	 * @return
	 */
Check the contract's name
@param entireContract
@return
Check the contract ' s name @param entireContract @return
public String solidityContract(JsonArray entireContract) {
		String value = "";
		for(int i = 0; i < entireContract.size(); i++) {
			String keyArray = entireContract.get(i).getAsJsonObject().keySet().iterator().next();
			if(keyArray.contentEquals(ConfigTokens.identifier)) {
				value = entireContract.get(i).getAsJsonObject().get(keyArray).getAsJsonArray().get(0).getAsJsonObject().get("text").getAsString();
			}
		}
		return value;
	}
public String solidityContract ( JsonArray entireContract ) { String value = "" ; for ( int i = 0 ; i < entireContract . size ( ) ; i ++ ) { String keyArray = entireContract . get ( i ) . getAsJsonObject ( ) . keySet ( ) . iterator ( ) . next ( ) ; if ( keyArray . contentEquals ( ConfigTokens . identifier ) ) { value = entireContract . get ( i ) . getAsJsonObject ( ) . get ( keyArray ) . getAsJsonArray ( ) . get ( 0 ) . getAsJsonObject ( ) . get ( "text" ) . getAsString ( ) ; } } return value ; }
Check the contract's name
 @param entireContract
 @return
Check the contract ' s name @param entireContract @return