private String getType(ActionInsertFactCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = col.getFactType(); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
private String getType(ActionInsertFactCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = col.getFactType(); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
private String getType(Pattern52 pattern, ActionSetFieldCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = pattern.getFactType(); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
private String getType(Pattern52 pattern, ActionSetFieldCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = pattern.getFactType(); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
private String getType(ActionSetFieldCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = getBoundFactType( col.getBoundName() ); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
private String getType(ActionSetFieldCol52 col, SuggestionCompletionEngine sce) { // Columns with "Value Lists" etc are always Text (for now) if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING; } //Otherwise lookup from SuggestionCompletionEngine final String factType = getBoundFactType( col.getBoundName() ); final String fieldName = col.getFactField(); return getTypeFromSCE( factType, fieldName, sce ); }
if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING;
if ( hasValueList( col ) ) { return SuggestionCompletionEngine.TYPE_STRING;
assertFalse( dt.hasValueList( c1 ) ); String[] r = sce.getEnums( p1.getFactType(), c1.getFactField(), assertFalse( dt.hasValueList( c1_ ) ); r = sce.getEnums( p1_.getFactType(), c1_.getFactField(), assertTrue( dt.hasValueList( c1__ ) ); r = dt.getValueList( c1__ ); assertEquals( 2, assertTrue( dt.hasValueList( c1___ ) ); r = dt.getValueList( c1___ ); assertEquals( 3, assertFalse( dt.hasValueList( asf ) ); r = sce.getEnums( p1.getFactType(), asf.getFactField(), assertFalse( dt.hasValueList( ins ) ); r = sce.getEnums( ins.getFactType(), ins.getFactField(), assertTrue( dt.hasValueList( ins_ ) ); r = dt.getValueList( ins_ ); assertEquals( 3, assertTrue( dt.hasValueList( asf__ ) );