Class DBTable


  • public class DBTable
    extends java.lang.Object
    An DBTable is an object that contains a list of argument and a sublist of indexedArguments
    It is used to defines an generic entry for any DataBase
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DBTable.Builder  
    • Method Summary

      Modifier and Type Method Description
      boolean containsArgument​(java.lang.String argument)
      Check if the table contains a given argument
      java.util.Set<? extends java.lang.String> getArguments()
      Get the list of all the arguments of the table
      java.util.Set<? extends java.lang.String> getIndexedArguments()
      Get the list of all the indexed arguments of the table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getArguments

        public java.util.Set<? extends java.lang.String> getArguments()
        Get the list of all the arguments of the table
        Returns:
        Set of Strings representing the argument of the DB
      • getIndexedArguments

        public java.util.Set<? extends java.lang.String> getIndexedArguments()
        Get the list of all the indexed arguments of the table. This list is necessary as a subset of the arguments list.
        Returns:
        Set of Strings that hold all the arguments
      • containsArgument

        public boolean containsArgument​(java.lang.String argument)
        Check if the table contains a given argument
        Parameters:
        argument - String that hold the argument we are checking the existence
        Returns:
        An Boolean that hold whether or not the given argument is contained in the table