}
protected CommandDefinition newCommandDefinition() {
// name is shared
CommandInfo ci1 = new CommandInfo("name", "Name", "Please give your name", null, null, true, false, false, false);
// date of birth is optional here
CommandInfo ci2 = new CommandInfo("dateOfBirth", "Date of birth", "Please give your date of birth", null,
null, false, true, false, false);
// residence is supplied via global
CommandInfo ci3 = new CommandInfo("residence", "Residence", "Where do you live", null, null, false, true, false,
false);
// house name is supplied via default
CommandInfo ci4 = new CommandInfo("housename", "House name", "Name of your house?", "IvyD", null, false, true,
false, false);
CommandDefinition commandDefinition = new CommandDefinition();
commandDefinition.add(ci1);
commandDefinition.add(ci2);