private String createAircraftSymbolCode(String country,String airportUse){
  String identity;
  if (friends.contains(country)) {
    identity="F";
  }
 else   if (neutrals.contains(country)) {
    identity="N";
  }
 else   if (hostiles.contains(country)) {
    identity="H";
  }
 else {
    identity="U";
  }
  String type;
switch (airportUse) {
case Airport.MILITARY:
case Airport.JOINT:
    type="MF";
  break;
case Airport.CIVILIAN:
case Airport.OTHER:
type="CF";
break;
default :
type="--";
}
return "S" + identity + "AP"+ type+ "----**"+ country+ "*";
}

private String createAircraftSymbolCode ( String country , String airportUse ) { String identity ; if ( friends . contains ( country ) ) { identity = "F" ; } else if ( neutrals . contains ( country ) ) { identity = "N" ; } else if ( hostiles . contains ( country ) ) { identity = "H" ; } else { identity = "U" ; } String type ; switch ( airportUse ) { case Airport . MILITARY : case Airport . JOINT : type = "MF" ; break ; case Airport . CIVILIAN : case Airport . OTHER : type = "CF" ; break ; default : type = "--" ; } return "S" + identity + "AP" + type + "----**" + country + "*" ; }
generates a sidc ( symbol identification coding scheme ) for an aircraft originating the given county and departure airport use type .
