public boolean isBaseDatabase ( Record record ) { BaseDatabase database = record . getTable ( ) . getDatabase ( ) ; boolean isBaseDB = true ; int counter = ( int ) record . getCounterField ( ) . getValue ( ) ; String startingID = database . getProperty ( BaseDatabase . STARTING_ID ) ; String endingID = database . getProperty ( BaseDatabase . ENDING_ID ) ; if ( startingID != null ) if ( counter < Integer . parseInt ( Converter . stripNonNumber ( startingID ) ) ) isBaseDB = false ; if ( endingID != null ) if ( counter > Integer . parseInt ( Converter . stripNonNumber ( endingID ) ) ) isBaseDB = false ; return isBaseDB ; }
IsBaseDatabase Method .