package simple_uml.model; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class MainModel { public static final SumlClassModel ANIMAL = new SumlClassModel ( "creatures.Animal", null, new String[] { "# String name", "# int weight", "# int height", "# String favFood" }, new String[] { "# void eat ()" } ); public static final SumlClassModel HORSE = new SumlClassModel ( "creatures.Horse", ANIMAL, new String[] { "# int numWins", "# int numLost", "# double odds", }, new String[] { "# addRace(boolean)", "# setOdds(double)", } ); public static final SumlClassModel ZOMBIE_HORSE = new SumlClassModel ( "creatures.undead.ZombieHorse", HORSE, new String[] { "# int peopleEaten", }, new String[] { "# eatPerson()", "# eatPeople(int people)", "# regurgitatePerson()", } ); public MainModel (String fileName) { Scanner sc; try { sc = new Scanner(new File(fileName)); } catch (FileNotFoundException e) { e.printStackTrace(); } } }