agave-common/common-core/src/main/java/org/iplantc/service/common/search/SearchTerm.java
/**
	 * Assigns the {@link SearchTerm#searchField} and {@link SearchTerm#operator} 
	 * fields by parsing the given searchFieldWithOperator and splitting on the 
	 * last ".". For example, <code>name.eq</code> would result in a {@link SearchTerm#searchField}
	 * of "name" and an {@link SearchTerm#operator} of {@link SearchTerm.Operator#EQ}  
	 * If the searchFieldWithOperator value does specify an operator, equivalence
	 * is used.
	 * @param searchFieldWithOperator user-supplied search field with operator
	 * @throws SearchSyntaxException
	 */
Assigns the  SearchTerm#searchField and  SearchTerm#operator
fields by parsing the given searchFieldWithOperator and splitting on the
last ".". For example, name.eq would result in a  SearchTerm#searchField
of "name" and an  SearchTerm#operator of  SearchTerm.Operator#EQ
If the searchFieldWithOperator value does specify an operator, equivalence
is used.
@param searchFieldWithOperator user-supplied search field with operator
@throws SearchSyntaxException
Assigns the SearchTerm#searchField and SearchTerm#operator fields by parsing the given searchFieldWithOperator and splitting on the last " . " . For example name . eq would result in a SearchTerm#searchField of " name " and an SearchTerm#operator of SearchTerm . Operator#EQ If the searchFieldWithOperator value does specify an operator equivalence is used . @param searchFieldWithOperator user - supplied search field with operator @throws SearchSyntaxException
private void parseSearchField(String searchFieldWithOperator) 
	throws SearchSyntaxException
	{
		String field = StringUtils.trimToEmpty(searchFieldWithOperator);
		if (field.contains(".")) 
		{
			setSearchField(StringUtils.substringBeforeLast(field, "."));
			try {
				Operator op = Operator.valueOf(StringUtils.upperCase(StringUtils.substringAfterLast(field, ".")));
				setOperator(op);
			} catch(IllegalArgumentException e) {
			    setOperator(Operator.EQ);
			    setSearchField(field);
			}
		} 
		else 
		{
			setSearchField(field);
			setOperator(Operator.EQ);
		}
	}
private void parseSearchField ( String searchFieldWithOperator ) throws SearchSyntaxException { String field = StringUtils . trimToEmpty ( searchFieldWithOperator ) ; if ( field . contains ( "." ) ) { setSearchField ( StringUtils . substringBeforeLast ( field , "." ) ) ; try { Operator op = Operator . valueOf ( StringUtils . upperCase ( StringUtils . substringAfterLast ( field , "." ) ) ) ; setOperator ( op ) ; } catch ( IllegalArgumentException e ) { setOperator ( Operator . EQ ) ; setSearchField ( field ) ; } } else { setSearchField ( field ) ; setOperator ( Operator . EQ ) ; } }
Assigns the {@link SearchTerm#searchField} and {@link SearchTerm#operator}
 fields by parsing the given searchFieldWithOperator and splitting on the
 last ".".
Assigns the { @link SearchTerm#searchField } and { @link SearchTerm#operator } fields by parsing the given searchFieldWithOperator and splitting on the last " . " .
//			    throw new SearchSyntaxException("Invalid operator in the " + searchField + " field. " //						+ "Valid operators are " + StringUtils.join(Operator.values(), ", "));