CodeOrderOfBattle coob = new CodeOrderOfBattle();
coob.parsePositions("oob", positionProperties);
coob.choices.add(0, coob.getNULLCodePosition());
List basicOptions = new LinkedList();
basicOptions.add(ca);
basicOptions.add(cstatus);
basicOptions.add(cwm);
basicOptions.add(csm);
basicOptions.add(cmm);
// basicOptions.add(cc);
basicOptions.add(coob);
setCodeOptions(new CodeOptions(basicOptions));
List warfightingOptions = new LinkedList();
warfightingOptions.add(ca);
warfightingOptions.add(cstatus);
warfightingOptions.add(cwm);
// warfightingOptions.add(cc); // CodeCountry
warfightingOptions.add(coob);
// Kind of a hack, I know the number is the hierarchy number
// of the particular scheme, and that the position.properties
// file is setting up the options to reflect that for all of
// these code option settings.
((CodeScheme) cs.getFromChoices(1)).setCodeOptions(new CodeOptions(warfightingOptions));
// ((CodeScheme)getFromChoices(1)).setCodeOptions(new
// CodeOptions(warfightingOptions));
List tacOptions = new LinkedList();
tacOptions.add(ca);
tacOptions.add(cstatus);
tacOptions.add(csm);
// tacOptions.add(cc); // CodeCountry
((CodeScheme) cs.getFromChoices(2)).setCodeOptions(new CodeOptions(tacOptions));
// ((CodeScheme)getFromChoices(2)).setCodeOptions(new
// CodeOptions(tacOptions));
List intelOptions = new LinkedList();
intelOptions.add(ca);
intelOptions.add(cstatus);
// intelOptions.add(cc); // CodeCountry
intelOptions.add(coob);
((CodeScheme) cs.getFromChoices(4)).setCodeOptions(new CodeOptions(intelOptions));
// ((CodeScheme)getFromChoices(4)).setCodeOptions(new
// CodeOptions(intelOptions));
List mootwOptions = new LinkedList();
mootwOptions.add(ca);
mootwOptions.add(cstatus);
mootwOptions.add(cmm);
// mootwOptions.add(cc); // CodeCountry
mootwOptions.add(coob);
((CodeScheme) cs.getFromChoices(5)).setCodeOptions(new CodeOptions(mootwOptions));
// ((CodeScheme)getFromChoices(5)).setCodeOptions(new
// CodeOptions(mootwOptions));
}