Class InitializeEntities


  • public class InitializeEntities
    extends Object
    This script is used to initialize the database with a set of relationship types that are written in an xml file that is given to this script. This XML file needs to have a proper XML structure and needs to define the variables of the RelationshipType object.
    • Method Detail

      • main

        public static void main​(String[] argv)
                         throws SQLException,
                                AuthorizeException,
                                org.apache.commons.cli.ParseException
        The main method for this script
        Parameters:
        argv - The command line arguments given with this command
        Throws:
        SQLException - If something goes wrong with the database
        AuthorizeException - If something goes wrong with permissions
        org.apache.commons.cli.ParseException - If something goes wrong with the parsing
      • createCommandLineOptions

        protected static org.apache.commons.cli.Options createCommandLineOptions()