public void setType ( String type ) throws ApplicationException { if ( type == null ) return ; type = type . toLowerCase ( ) . trim ( ) ; if ( type . equals ( "simple" ) ) this . type = SearchCollection . SEARCH_TYPE_SIMPLE ; else if ( type . equals ( "explicit" ) ) this . type = SearchCollection . SEARCH_TYPE_EXPLICIT ; else throw new ApplicationException ( "attribute type of tag search has an invalid value, valid values are [simple,explicit] now is [" + type + "]" ) ; }
set the value type Specifies the criteria type for the search .