diff --git a/java/com.sap.sailing.xrr.resultimport.test/.classpath b/java/com.sap.sailing.xrr.resultimport.test/.classpath index b1dabee3829..1228533181d 100755 --- a/java/com.sap.sailing.xrr.resultimport.test/.classpath +++ b/java/com.sap.sailing.xrr.resultimport.test/.classpath @@ -3,5 +3,6 @@ + diff --git a/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF index edf2d51f008..529fba44c60 100755 --- a/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF +++ b/java/com.sap.sailing.xrr.resultimport.test/META-INF/MANIFEST.MF @@ -6,3 +6,4 @@ Bundle-Version: 1.0.0.qualifier Bundle-Vendor: SAP Fragment-Host: com.sap.sailing.xrr.resultimport Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Require-Bundle: org.junit4;bundle-version="4.8.2" diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/ISAF XRR Data Format.docx b/java/com.sap.sailing.xrr.resultimport.test/resources/ISAF XRR Data Format.docx new file mode 100755 index 00000000000..991b957f914 Binary files /dev/null and b/java/com.sap.sailing.xrr.resultimport.test/resources/ISAF XRR Data Format.docx differ diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/laser.xml b/java/com.sap.sailing.xrr.resultimport.test/resources/laser.xml new file mode 100755 index 00000000000..85e348a50ef --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/resources/laser.xml @@ -0,0 +1,802 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/melbourne_results_actual.xml b/java/com.sap.sailing.xrr.resultimport.test/resources/melbourne_results_actual.xml new file mode 100755 index 00000000000..041551af619 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/resources/melbourne_results_actual.xml @@ -0,0 +1,1848 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_isafextend.xsd b/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_isafextend.xsd new file mode 100755 index 00000000000..aa6a4ce5bf4 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_isafextend.xsd @@ -0,0 +1,2382 @@ + + + + + + + IOR - Quarter Ton + + + + + IOR - Half Ton + + + + + IOR - Three-Quarter Ton + + + + + 10 Metre + + + + + 10 Metre (rating 1907) + + + + + 10 Metre (rating 1919) + + + + + IRSA - Ten Rater + + + + + 11 Metre + + + + + 12 Foot Dinghy + + + + + 12 Metre + + + + + 12 Metre (rating 1907) + + + + + 12 Metre (rating 1919) + + + + + 12 Square Metre Sharpie + + + + + International 14 + + + + + 18 Foot Dinghy + + + + + IOR - 1 Ton + + + + + 2.4 Metre + + + + + 29er + + + + + 29er XX + + + + + IOR - 2 Ton + + + + + 30 Square Metre + + + + + 40 Square Metre + + + + + 420 + + + + + 470 + + + + + 49er + + + + + 49erFX + + + + + 5.5 Metre + + + + + 505 + + + + + Open 50 Monohull + + + + + 6.5 Metre + + + + + Open 60 Monohull + + + + + ORMA 60 Multihull + + + + + 6 Metre + + + + + 6 Metre (rating 1907) + + + + + 6 Metre (rating 1919) + + + + + 7 Metre + + + + + 8 Metre + + + + + 8 Metre (rating 1907) + + + + + 8 Metre (rating 1919) + + + + + Access 2.3 + + + + + Access 303 + + + + + 1 - 2 Ton Under the Thames Measurement Rule + + + + + AC45 Cat + + + + + AC72 Cat (2012 - ) + + + + + Access Liberty + + + + + B14 + + + + + 0.5 Ton Under the Thames Measurement Rule + + + + + Byte CII (USE BYTE) + + + + + O'pen BIC + + + + + Buzz + + + + + Byte + + + + + Class 40 + + + + + Corel 45 / IC 45 / now Farr 45 + + + + + 10 - 20 Ton Under the Thames Measurement Rule + + + + + Cadet + + + + + CHS + + + + + Contender + + + + + A-Catamaran + + + + + Dart 18 + + + + + 2 - 3 Ton Under the Thames Measurement Rule + + + + + DN-Ice Yacht + + + + + AC - Dead of Gift + + + + + Dragon + + + + + Extreme 40 + + + + + Elliott 6m + + + + + 3 - 10 Ton Under the Thames Measurement Rule + + + + + Emperical Handicap (Unspecified) + + + + + Enterprise + + + + + Etchells + + + + + Europe + + + + + Flying Fifteen + + + + + Formula 16 + + + + + Formula 18 + + + + + Farr 30 + + + + + Farr 40 + + + + + Fireball + + + + + Flying Dutchman + + + + + RS Feva + + + + + Formula Experience + + + + + 0.5 - 1 Ton Under the Thames Measurement Rule + + + + + Finn + + + + + Firefly + + + + + Flying Junior + + + + + Flipper + + + + + Funboard + + + + + Formula Windsurfing + + + + + GP14 + + + + + Hobie 14 + + + + + Hobie 16 + + + + + Hobie 16 (with Spinnaker) + + + + + Hobie 17 + + + + + Hobie 18 + + + + + H-Boat + + + + + Hobie Dragoon + + + + + Hobie Tiger + + + + + Hobie Wildcat + + + + + IMS 500 + + + + + IMS 670 + + + + + AC - IACC (1992 - 2007) + + + + + International Division I of Sailboards (Flat Board) + + + + + International Division II of Sailboards (Displacement) + + + + + International Division III of Sailboards (Tandem) + + + + + Kiteboarding (IKA) + + + + + IMA (International Maxi Association) + + + + + IMS + + + + + Nacra Infusion + + + + + International One Design (IOD) + + + + + IRSA - One Metre (IOM) + + + + + IOR + + + + + IRC + + + + + IRM + + + + + IRSA (International Radio Sailing Association) + + + + + ISO Dinghy + + + + + Speed Windsurfing + + + + + J/22 + + + + + J/24 + + + + + J/80 + + + + + J/111 + + + + + Kona + + + + + Laser 4.7 + + + + + Laser II + + + + + Laser Radial + + + + + Lechner + + + + + Lightning + + + + + Laser + + + + + Martin 16 + + + + + Melges 20 + + + + + Melges 24 + + + + + Melges 32 + + + + + Mumm 36 + + + + + IRSA - Marblehead + + + + + IMA - Maxi Fleet + + + + + Micro + + + + + Mirror + + + + + Mistral + + + + + Mistral Junior + + + + + IMA - Mini Maxi Fleet + + + + + Musto Performance Skiff + + + + + Moth + + + + + Nacra 17 + + + + + Nacra F18 + + + + + Open Class + + + + + 1924 Olympic Class Monotype + + + + + 1932 Olympic Class Monotype + + + + + 1936 Olympic Monotype (O-Jolle Class) + + + + + OK Dinghy + + + + + Optimist + + + + + Offshore Racing Congress + + + + + ORC Club + + + + + ORCi + + + + + Pirat + + + + + Platu 25 + + + + + Raceboard + + + + + RC 44 + + + + + IRSA - A Class + + + + + RS:One + + + + + RS100 + + + + + RS 500 + + + + + RS Tera + + + + + RS:X + + + + + Soto 40 + + + + + Swan 45 + + + + + Swan 60 + + + + + SB20 + + + + + Shark + + + + + SKUD 18 + + + + + Sirena SL16 + + + + + IMA - Supermaxi Fleet + + + + + Snipe + + + + + Soling + + + + + Sonar + + + + + Splash + + + + + Star + + + + + Sunfish + + + + + Swallow + + + + + Sydney 40 + + + + + Techno 293 + + + + + Topcat K1 + + + + + Tempest + + + + + Topper + + + + + TP52 + + + + + Tornado + + + + + Tasar + + + + + Ultimate 20 + + + + + Volvo 60 + + + + + Volvo 70 + + + + + Laser Vago + + + + + Vaurien + + + + + Viper + + + + + Windglider + + + + + X-35 + + + + + X-41 + + + + + X99 + + + + + Yngling + + + + + Zoom 8 + + + + + 2.4 Metre + + + + + SKUD 18 + + + + + Sonar + + + + + + + + + Afghanistan + + + + + Netherlands Antilles + + + + + Albania + + + + + Algeria + + + + + Anguilla + + + + + Andorra + + + + + Angola + + + + + Antigua + + + + + Argentina + + + + + Armenia + + + + + Aruba + + + + + American Samoa + + + + + Australia + + + + + Austria + + + + + Azerbaijan + + + + + Bahamas + + + + + Bangladesh + + + + + Barbados + + + + + Burundi + + + + + Belgium + + + + + Benin + + + + + Bermuda + + + + + Bhutan + + + + + Bosnia & Herzegovina + + + + + BURMA + + + + + Belize + + + + + Belarus + + + + + Bolivia + + + + + Botswana + + + + + Brazil + + + + + Bahrain + + + + + Brunei + + + + + Bulgaria + + + + + Burkina Faso + + + + + BRITISH WEST INDIES + + + + + Central Africa + + + + + New Caledonia + + + + + Cambodia + + + + + Canada + + + + + Cayman Islands + + + + + Congo + + + + + Chad + + + + + Chile + + + + + China, PR + + + + + Ivory Coast + + + + + Cameroon + + + + + DR Congo + + + + + Cook Islands + + + + + Colombia + + + + + Comoros + + + + + Cape Verde + + + + + Costa Rica + + + + + Croatia + + + + + Cuba + + + + + Curacao + + + + + Cyprus + + + + + Czech Republic + + + + + Denmark + + + + + Djibouti + + + + + Dominica + + + + + Dominican Republic + + + + + Ecuador + + + + + Egypt + + + + + Eritrea + + + + + El Salvador + + + + + Spain + + + + + Estonia + + + + + Ethiopia + + + + + EQUIPE UNIFIÉE ALLEMANDE + + + + + Unified Team + + + + + Faroe Islands + + + + + French Guiana + + + + + Fiji + + + + + Finland + + + + + France + + + + + Federal Republic of Germany (1950) + + + + + Micronesia + + + + + Gabon + + + + + Gambia + + + + + Great Britain + + + + + Guinea-bissau + + + + + German Democratic Republic (1955) + + + + + Georgia + + + + + Equatorial Guinea + + + + + Germany + + + + + Ghana + + + + + Gibraltar + + + + + Greece + + + + + Grenada + + + + + Guatemala + + + + + Guadeloupe + + + + + Guinea + + + + + Guam + + + + + Guyana + + + + + Haiti + + + + + Hong Kong + + + + + Honduras + + + + + Hungary + + + + + Indonesia + + + + + India + + + + + Independent Olympic Athlete + + + + + I.R. Iran + + + + + Ireland + + + + + Iraq + + + + + Iceland + + + + + Israel + + + + + US Virgin Islands + + + + + Italy + + + + + British Virgin Islands + + + + + Jamaica + + + + + Jordan + + + + + Japan + + + + + Kazakhstan + + + + + Kenya + + + + + Kyrgyzstan + + + + + Kiribati + + + + + Korea + + + + + Kosovo + + + + + Saudi Arabia + + + + + Kuwait + + + + + Lao P.d.r. + + + + + Latvia + + + + + Libya + + + + + Liberia + + + + + St Lucia + + + + + Lesotho + + + + + Lebanon + + + + + Liechtenstein + + + + + Lithuania + + + + + Luxembourg + + + + + Macau + + + + + Madagascar + + + + + Morocco + + + + + Malaysia + + + + + Malawi + + + + + Moldova + + + + + Maldives + + + + + Mexico + + + + + Mongolia + + + + + Marshall Islands + + + + + Macedonia (FYRO) + + + + + Mali + + + + + Malta + + + + + Montenegro + + + + + Montserrat + + + + + Monaco + + + + + Mozambique + + + + + Mauritius + + + + + Martinique + + + + + Mauritania + + + + + Myanmar + + + + + Namibia + + + + + Nicaragua + + + + + Netherlands + + + + + Nepal + + + + + Nigeria + + + + + Niger + + + + + Northern Mariana Islands + + + + + Norway + + + + + Nauru + + + + + New Zealand + + + + + Oman + + + + + Pakistan + + + + + Panama + + + + + Paraguay + + + + + Peru + + + + + Philippines + + + + + Palestine + + + + + Palau + + + + + Papua New Guinea + + + + + Poland + + + + + Portugal + + + + + Dpr Korea + + + + + Puerto Rico + + + + + Qatar + + + + + Reunion + + + + + RHODÉSIE + + + + + ROMANIA + + + + + Romania + + + + + South Africa + + + + + Russia + + + + + Rwanda + + + + + Samoa + + + + + Senegal + + + + + Seychelles + + + + + Singapore + + + + + St Kitts + + + + + Sierra Leone + + + + + Slovenia + + + + + San Marino + + + + + Solomon Islands + + + + + Somalia + + + + + Serbia + + + + + Sri Lanka + + + + + Sao Tome And Principe + + + + + Sudan + + + + + Switzerland + + + + + Suriname + + + + + Slovakia + + + + + Sweden + + + + + Swaziland + + + + + Syria + + + + + Tahiti + + + + + Taiwan + + + + + Tanzania + + + + + CZECHOSLOVAKIA + + + + + Tonga + + + + + Thailand + + + + + Tajikistan + + + + + Turkmenistan + + + + + Turks & Caicos Islands + + + + + Timor Leste + + + + + Togo + + + + + Chinese Taipei + + + + + Trinidad And Tobago + + + + + Tunisia + + + + + Turkey + + + + + Tuvalu + + + + + United Arab Emirates + + + + + Uganda + + + + + Ukraine + + + + + USSR + + + + + Uruguay + + + + + USA + + + + + Uzbekistan + + + + + Vanuatu + + + + + Venezuela + + + + + Vietnam + + + + + St Vincent + + + + + Yemen + + + + + Yugoslavia + + + + + Zaire + + + + + Zambia + + + + + Zimbabwe + + + + + + + + + Scoring penalty after arbitration + + + + + Disqualification under rule 30.3 + + + + + Disqualification for gross misconduct not excludable under rule 90.3(b) + + + + + Did not start; did not come to the starting area + + + + + Disqualification (other than DGM) not excludable under rule 90.3(b) + + + + + Did not finish + + + + + Did not start (other than DNC and OCS) + + + + + Discretionary penalty imposed + + + + + Disqualification + + + + + Did not start; on the course side of the starting line at her starting signal and failed to start, or broke rule 30.1 + + + + + Scoring penalty for a yellow flag after the finish + + + + + Retired after finishing + + + + + Redress given + + + + + Retired + + + + + Took a Scoring Penalty under rule 44.3(a) + + + + + 20% penalty under rule 30.2 + + + + + Retired + + + + + + + + + 1 + + + + + 2 + + + + + 3 + + + + + + + + + Current + + + + + Pending + + + + + Expired + + + + + None + + + + + + + + + planned + + + + + scheduled + + + + + startseq + + + + + inprogress + + + + + recall + + + + + finished + + + + + final + + + + + result + + + + + delayed + + + + + cancelled + + + + + protested + + + + + postponed + + + + + abandoned + + + + + rescheduled + + + + + provisional + + + + + diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_v1.3.xsd b/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_v1.3.xsd new file mode 100755 index 00000000000..33d5767b353 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/resources/sailingXRR_v1.3.xsd @@ -0,0 +1,205 @@ + + + + + + + + Skipper + + + + + Crew + + + + + + + + + + + + + + + + + + + + + + + + + + + + Male + + + + + Female + + + + + + + + + Men + + + + + Women + + + + + Open + + + + + Mixed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + very preliminary, info about a single race within a regatta + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/java/com.sap.sailing.xrr.resultimport.test/resources/star.xml b/java/com.sap.sailing.xrr.resultimport.test/resources/star.xml new file mode 100755 index 00000000000..2f56242bb89 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/resources/star.xml @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/java/com.sap.sailing.xrr.resultimport.test/src/com/sap/sailing/xrr/resultimport/test/ParserTest.java b/java/com.sap.sailing.xrr.resultimport.test/src/com/sap/sailing/xrr/resultimport/test/ParserTest.java new file mode 100755 index 00000000000..611c3eb5952 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport.test/src/com/sap/sailing/xrr/resultimport/test/ParserTest.java @@ -0,0 +1,42 @@ +package com.sap.sailing.xrr.resultimport.test; + +import static org.junit.Assert.assertNotNull; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; + +import javax.xml.bind.JAXBException; + +import org.junit.Test; + +import com.sap.sailing.xrr.resultimport.ParserImpl; +import com.sap.sailing.xrr.resultimport.schema.RegattaResults; + +public class ParserTest { + private static final String SAMPLE_INPUT_NAME_LASER = "laser.xml"; + private static final String SAMPLE_INPUT_NAME_STAR = "star.xml"; + private static final String RESOURCES = "resources/"; + + private InputStream getInputStream(String filename) throws FileNotFoundException, IOException { + return new FileInputStream(getFile(filename)); + } + + private File getFile(String filename) { + return new File(RESOURCES + filename); + } + + @Test + public void testSimpleParsingSomeLaserDocument() throws JAXBException, IOException { + RegattaResults o = new ParserImpl().parse(getInputStream(SAMPLE_INPUT_NAME_LASER)); + assertNotNull(o); + } + + @Test + public void testSimpleParsingSomeStarDocument() throws JAXBException, IOException { + RegattaResults o = new ParserImpl().parse(getInputStream(SAMPLE_INPUT_NAME_STAR)); + assertNotNull(o); + } +} diff --git a/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF b/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF index d128eb4de5b..1dab9efb820 100755 --- a/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF +++ b/java/com.sap.sailing.xrr.resultimport/META-INF/MANIFEST.MF @@ -5,3 +5,5 @@ Bundle-SymbolicName: com.sap.sailing.xrr.resultimport Bundle-Version: 1.0.0.qualifier Bundle-Vendor: SAP Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Export-Package: com.sap.sailing.xrr.resultimport, + com.sap.sailing.xrr.resultimport.schema diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Boat.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Boat.java new file mode 100755 index 00000000000..f9a18cc7da9 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Boat.java @@ -0,0 +1,119 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for Boat complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Boat">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="BoatID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="BoatName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="SailNumber" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Boat") +public class Boat { + + @XmlAttribute(name = "BoatID", required = true) + protected String boatID; + @XmlAttribute(name = "BoatName") + protected String boatName; + @XmlAttribute(name = "SailNumber", required = true) + protected String sailNumber; + + /** + * Gets the value of the boatID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBoatID() { + return boatID; + } + + /** + * Sets the value of the boatID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBoatID(String value) { + this.boatID = value; + } + + /** + * Gets the value of the boatName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBoatName() { + return boatName; + } + + /** + * Sets the value of the boatName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBoatName(String value) { + this.boatName = value; + } + + /** + * Gets the value of the sailNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSailNumber() { + return sailNumber; + } + + /** + * Sets the value of the sailNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSailNumber(String value) { + this.sailNumber = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Crew.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Crew.java new file mode 100755 index 00000000000..63b57a23bc4 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Crew.java @@ -0,0 +1,92 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for Crew complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Crew">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="PersonID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Position" use="required" type="{}CrewPosition" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Crew") +public class Crew { + + @XmlAttribute(name = "PersonID", required = true) + protected String personID; + @XmlAttribute(name = "Position", required = true) + protected CrewPosition position; + + /** + * Gets the value of the personID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPersonID() { + return personID; + } + + /** + * Sets the value of the personID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPersonID(String value) { + this.personID = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link CrewPosition } + * + */ + public CrewPosition getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link CrewPosition } + * + */ + public void setPosition(CrewPosition value) { + this.position = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/CrewPosition.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/CrewPosition.java new file mode 100755 index 00000000000..8d6b604b58b --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/CrewPosition.java @@ -0,0 +1,55 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for CrewPosition. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="CrewPosition">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="S"/>
+ *     <enumeration value="C"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "CrewPosition") +@XmlEnum +public enum CrewPosition { + + + /** + * Skipper + * + */ + S, + + /** + * Crew + * + */ + C; + + public String value() { + return name(); + } + + public static CrewPosition fromValue(String v) { + return valueOf(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Division.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Division.java new file mode 100755 index 00000000000..74c6ece71f0 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Division.java @@ -0,0 +1,282 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for Division complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Division">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded" minOccurs="0">
+ *         <element name="SeriesResult" type="{}SeriesResult" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="RaceResult" type="{}RaceResult" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="TRRaceResult" type="{}TRRaceResult" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="TRSeriesResult" type="{}TRSeriesResult" maxOccurs="unbounded" minOccurs="0"/>
+ *       </choice>
+ *       <attribute name="Type" type="{}DivisionType" default="FleetRace" />
+ *       <attribute name="DivisionID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="IFDivisionID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="IFClassID" type="{}IFClassCode" />
+ *       <attribute name="Gender" type="{}EventGender" />
+ *       <attribute name="Disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Division", propOrder = { + "seriesResultOrRaceResultOrTRRaceResult" +}) +public class Division { + + @XmlElements({ + @XmlElement(name = "SeriesResult", type = SeriesResult.class), + @XmlElement(name = "RaceResult", type = RaceResult.class), + @XmlElement(name = "TRRaceResult", type = TRRaceResult.class), + @XmlElement(name = "TRSeriesResult", type = TRSeriesResult.class) + }) + protected List seriesResultOrRaceResultOrTRRaceResult; + @XmlAttribute(name = "Type") + protected DivisionType type; + @XmlAttribute(name = "DivisionID", required = true) + protected String divisionID; + @XmlAttribute(name = "IFDivisionID") + protected String ifDivisionID; + @XmlAttribute(name = "Title", required = true) + protected String title; + @XmlAttribute(name = "IFClassID") + protected String ifClassID; + @XmlAttribute(name = "Gender") + protected EventGender gender; + @XmlAttribute(name = "Disabled") + protected Boolean disabled; + + /** + * Gets the value of the seriesResultOrRaceResultOrTRRaceResult property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the seriesResultOrRaceResultOrTRRaceResult property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getSeriesResultOrRaceResultOrTRRaceResult().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link SeriesResult } + * {@link RaceResult } + * {@link TRRaceResult } + * {@link TRSeriesResult } + * + * + */ + public List getSeriesResultOrRaceResultOrTRRaceResult() { + if (seriesResultOrRaceResultOrTRRaceResult == null) { + seriesResultOrRaceResultOrTRRaceResult = new ArrayList(); + } + return this.seriesResultOrRaceResultOrTRRaceResult; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link DivisionType } + * + */ + public DivisionType getType() { + if (type == null) { + return DivisionType.FLEET_RACE; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link DivisionType } + * + */ + public void setType(DivisionType value) { + this.type = value; + } + + /** + * Gets the value of the divisionID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDivisionID() { + return divisionID; + } + + /** + * Sets the value of the divisionID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDivisionID(String value) { + this.divisionID = value; + } + + /** + * Gets the value of the ifDivisionID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIFDivisionID() { + return ifDivisionID; + } + + /** + * Sets the value of the ifDivisionID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIFDivisionID(String value) { + this.ifDivisionID = value; + } + + /** + * Gets the value of the title property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTitle() { + return title; + } + + /** + * Sets the value of the title property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTitle(String value) { + this.title = value; + } + + /** + * Gets the value of the ifClassID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIFClassID() { + return ifClassID; + } + + /** + * Sets the value of the ifClassID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIFClassID(String value) { + this.ifClassID = value; + } + + /** + * Gets the value of the gender property. + * + * @return + * possible object is + * {@link EventGender } + * + */ + public EventGender getGender() { + return gender; + } + + /** + * Sets the value of the gender property. + * + * @param value + * allowed object is + * {@link EventGender } + * + */ + public void setGender(EventGender value) { + this.gender = value; + } + + /** + * Gets the value of the disabled property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isDisabled() { + return disabled; + } + + /** + * Sets the value of the disabled property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDisabled(Boolean value) { + this.disabled = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/DivisionType.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/DivisionType.java new file mode 100755 index 00000000000..06b3e06e3c3 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/DivisionType.java @@ -0,0 +1,61 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for DivisionType. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="DivisionType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="FleetRace"/>
+ *     <enumeration value="TeamRace"/>
+ *     <enumeration value="MatchRace"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "DivisionType") +@XmlEnum +public enum DivisionType { + + @XmlEnumValue("FleetRace") + FLEET_RACE("FleetRace"), + @XmlEnumValue("TeamRace") + TEAM_RACE("TeamRace"), + @XmlEnumValue("MatchRace") + MATCH_RACE("MatchRace"); + private final String value; + + DivisionType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DivisionType fromValue(String v) { + for (DivisionType c: DivisionType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Event.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Event.java new file mode 100755 index 00000000000..e21f9926b78 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Event.java @@ -0,0 +1,198 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for Event complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Event">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded">
+ *         <element name="Race" type="{}Race" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="Division" type="{}Division" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="RegattaSeriesResult" type="{}RegattaSeriesResult" maxOccurs="unbounded" minOccurs="0"/>
+ *       </choice>
+ *       <attribute name="EventID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="IFEventID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Type" type="{}EventType" default="Regatta" />
+ *       <attribute name="Title" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Event", propOrder = { + "raceOrDivisionOrRegattaSeriesResult" +}) +public class Event { + + @XmlElements({ + @XmlElement(name = "Race", type = Race.class), + @XmlElement(name = "Division", type = Division.class), + @XmlElement(name = "RegattaSeriesResult", type = RegattaSeriesResult.class) + }) + protected List raceOrDivisionOrRegattaSeriesResult; + @XmlAttribute(name = "EventID", required = true) + protected String eventID; + @XmlAttribute(name = "IFEventID") + protected String ifEventID; + @XmlAttribute(name = "Type") + protected EventType type; + @XmlAttribute(name = "Title") + protected String title; + + /** + * Gets the value of the raceOrDivisionOrRegattaSeriesResult property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the raceOrDivisionOrRegattaSeriesResult property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getRaceOrDivisionOrRegattaSeriesResult().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Race } + * {@link Division } + * {@link RegattaSeriesResult } + * + * + */ + public List getRaceOrDivisionOrRegattaSeriesResult() { + if (raceOrDivisionOrRegattaSeriesResult == null) { + raceOrDivisionOrRegattaSeriesResult = new ArrayList(); + } + return this.raceOrDivisionOrRegattaSeriesResult; + } + + /** + * Gets the value of the eventID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEventID() { + return eventID; + } + + /** + * Sets the value of the eventID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEventID(String value) { + this.eventID = value; + } + + /** + * Gets the value of the ifEventID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIFEventID() { + return ifEventID; + } + + /** + * Sets the value of the ifEventID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIFEventID(String value) { + this.ifEventID = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link EventType } + * + */ + public EventType getType() { + if (type == null) { + return EventType.REGATTA; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link EventType } + * + */ + public void setType(EventType value) { + this.type = value; + } + + /** + * Gets the value of the title property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTitle() { + return title; + } + + /** + * Sets the value of the title property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTitle(String value) { + this.title = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventGender.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventGender.java new file mode 100755 index 00000000000..292975733a9 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventGender.java @@ -0,0 +1,84 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for EventGender. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="EventGender">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="Men"/>
+ *     <enumeration value="Women"/>
+ *     <enumeration value="Open"/>
+ *     <enumeration value="Mixed"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "EventGender") +@XmlEnum +public enum EventGender { + + + /** + * Men + * + */ + @XmlEnumValue("Men") + MEN("Men"), + + /** + * Women + * + */ + @XmlEnumValue("Women") + WOMEN("Women"), + + /** + * Open + * + */ + @XmlEnumValue("Open") + OPEN("Open"), + + /** + * Mixed + * + */ + @XmlEnumValue("Mixed") + MIXED("Mixed"); + private final String value; + + EventGender(String v) { + value = v; + } + + public String value() { + return value; + } + + public static EventGender fromValue(String v) { + for (EventGender c: EventGender.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventRef.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventRef.java new file mode 100755 index 00000000000..ee568d10e20 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventRef.java @@ -0,0 +1,65 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for EventRef complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="EventRef">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EventRef") +public class EventRef { + + @XmlAttribute(name = "Value", required = true) + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventType.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventType.java new file mode 100755 index 00000000000..00fc6ad5dce --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/EventType.java @@ -0,0 +1,58 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for EventType. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="EventType">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="Regatta"/>
+ *     <enumeration value="RegattaSeries"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "EventType") +@XmlEnum +public enum EventType { + + @XmlEnumValue("Regatta") + REGATTA("Regatta"), + @XmlEnumValue("RegattaSeries") + REGATTA_SERIES("RegattaSeries"); + private final String value; + + EventType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static EventType fromValue(String v) { + for (EventType c: EventType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFBoatStatus.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFBoatStatus.java new file mode 100755 index 00000000000..e9f2ac00073 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFBoatStatus.java @@ -0,0 +1,160 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for IFBoatStatus. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="IFBoatStatus">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="ARB"/>
+ *     <enumeration value="BFD"/>
+ *     <enumeration value="DGM"/>
+ *     <enumeration value="DNC"/>
+ *     <enumeration value="DNE"/>
+ *     <enumeration value="DNF"/>
+ *     <enumeration value="DNS"/>
+ *     <enumeration value="DPI"/>
+ *     <enumeration value="DSQ"/>
+ *     <enumeration value="OCS"/>
+ *     <enumeration value="PTS"/>
+ *     <enumeration value="RAF"/>
+ *     <enumeration value="RDG"/>
+ *     <enumeration value="RET"/>
+ *     <enumeration value="SCP"/>
+ *     <enumeration value="ZFP"/>
+ *     <enumeration value="RTD"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "IFBoatStatus") +@XmlEnum +public enum IFBoatStatus { + + + /** + * Scoring penalty after arbitration + * + */ + ARB, + + /** + * Disqualification under rule 30.3 + * + */ + BFD, + + /** + * Disqualification for gross misconduct not excludable under rule 90.3(b) + * + */ + DGM, + + /** + * Did not start; did not come to the starting area + * + */ + DNC, + + /** + * Disqualification (other than DGM) not excludable under rule 90.3(b) + * + */ + DNE, + + /** + * Did not finish + * + */ + DNF, + + /** + * Did not start (other than DNC and OCS) + * + */ + DNS, + + /** + * Discretionary penalty imposed + * + */ + DPI, + + /** + * Disqualification + * + */ + DSQ, + + /** + * Did not start; on the course side of the starting line at her starting signal and failed to start, or broke rule 30.1 + * + */ + OCS, + + /** + * Scoring penalty for a yellow flag after the finish + * + */ + PTS, + + /** + * Retired after finishing + * + */ + RAF, + + /** + * Redress given + * + */ + RDG, + + /** + * Retired + * + */ + RET, + + /** + * Took a Scoring Penalty under rule 44.3(a) + * + */ + SCP, + + /** + * 20% penalty under rule 30.2 + * + */ + ZFP, + + /** + * Retired + * + */ + RTD; + + public String value() { + return name(); + } + + public static IFBoatStatus fromValue(String v) { + return valueOf(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFCfcnStatus.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFCfcnStatus.java new file mode 100755 index 00000000000..c929024bb16 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFCfcnStatus.java @@ -0,0 +1,84 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for IFCfcnStatus. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="IFCfcnStatus">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="Current"/>
+ *     <enumeration value="Pending"/>
+ *     <enumeration value="Expired"/>
+ *     <enumeration value="None"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "IFCfcnStatus") +@XmlEnum +public enum IFCfcnStatus { + + + /** + * Current + * + */ + @XmlEnumValue("Current") + CURRENT("Current"), + + /** + * Pending + * + */ + @XmlEnumValue("Pending") + PENDING("Pending"), + + /** + * Expired + * + */ + @XmlEnumValue("Expired") + EXPIRED("Expired"), + + /** + * None + * + */ + @XmlEnumValue("None") + NONE("None"); + private final String value; + + IFCfcnStatus(String v) { + value = v; + } + + public String value() { + return value; + } + + public static IFCfcnStatus fromValue(String v) { + for (IFCfcnStatus c: IFCfcnStatus.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFNationCode.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFNationCode.java new file mode 100755 index 00000000000..4f57af918ee --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFNationCode.java @@ -0,0 +1,1679 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for IFNationCode. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="IFNationCode">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="AFG"/>
+ *     <enumeration value="AHO"/>
+ *     <enumeration value="ALB"/>
+ *     <enumeration value="ALG"/>
+ *     <enumeration value="ANA"/>
+ *     <enumeration value="AND"/>
+ *     <enumeration value="ANG"/>
+ *     <enumeration value="ANT"/>
+ *     <enumeration value="ARG"/>
+ *     <enumeration value="ARM"/>
+ *     <enumeration value="ARU"/>
+ *     <enumeration value="ASA"/>
+ *     <enumeration value="AUS"/>
+ *     <enumeration value="AUT"/>
+ *     <enumeration value="AZE"/>
+ *     <enumeration value="BAH"/>
+ *     <enumeration value="BAN"/>
+ *     <enumeration value="BAR"/>
+ *     <enumeration value="BDI"/>
+ *     <enumeration value="BEL"/>
+ *     <enumeration value="BEN"/>
+ *     <enumeration value="BER"/>
+ *     <enumeration value="BHU"/>
+ *     <enumeration value="BIH"/>
+ *     <enumeration value="BIR"/>
+ *     <enumeration value="BIZ"/>
+ *     <enumeration value="BLR"/>
+ *     <enumeration value="BOL"/>
+ *     <enumeration value="BOT"/>
+ *     <enumeration value="BRA"/>
+ *     <enumeration value="BRN"/>
+ *     <enumeration value="BRU"/>
+ *     <enumeration value="BUL"/>
+ *     <enumeration value="BUR"/>
+ *     <enumeration value="BWI"/>
+ *     <enumeration value="CAF"/>
+ *     <enumeration value="CAL"/>
+ *     <enumeration value="CAM"/>
+ *     <enumeration value="CAN"/>
+ *     <enumeration value="CAY"/>
+ *     <enumeration value="CGO"/>
+ *     <enumeration value="CHA"/>
+ *     <enumeration value="CHI"/>
+ *     <enumeration value="CHN"/>
+ *     <enumeration value="CIV"/>
+ *     <enumeration value="CMR"/>
+ *     <enumeration value="COD"/>
+ *     <enumeration value="COK"/>
+ *     <enumeration value="COL"/>
+ *     <enumeration value="COM"/>
+ *     <enumeration value="CPV"/>
+ *     <enumeration value="CRC"/>
+ *     <enumeration value="CRO"/>
+ *     <enumeration value="CUB"/>
+ *     <enumeration value="CUR"/>
+ *     <enumeration value="CYP"/>
+ *     <enumeration value="CZE"/>
+ *     <enumeration value="DEN"/>
+ *     <enumeration value="DJI"/>
+ *     <enumeration value="DMA"/>
+ *     <enumeration value="DOM"/>
+ *     <enumeration value="ECU"/>
+ *     <enumeration value="EGY"/>
+ *     <enumeration value="ERI"/>
+ *     <enumeration value="ESA"/>
+ *     <enumeration value="ESP"/>
+ *     <enumeration value="EST"/>
+ *     <enumeration value="ETH"/>
+ *     <enumeration value="EUA"/>
+ *     <enumeration value="EUN"/>
+ *     <enumeration value="FAR"/>
+ *     <enumeration value="FGU"/>
+ *     <enumeration value="FIJ"/>
+ *     <enumeration value="FIN"/>
+ *     <enumeration value="FRA"/>
+ *     <enumeration value="FRG"/>
+ *     <enumeration value="FSM"/>
+ *     <enumeration value="GAB"/>
+ *     <enumeration value="GAM"/>
+ *     <enumeration value="GBR"/>
+ *     <enumeration value="GBS"/>
+ *     <enumeration value="GDR"/>
+ *     <enumeration value="GEO"/>
+ *     <enumeration value="GEQ"/>
+ *     <enumeration value="GER"/>
+ *     <enumeration value="GHA"/>
+ *     <enumeration value="GIB"/>
+ *     <enumeration value="GRE"/>
+ *     <enumeration value="GRN"/>
+ *     <enumeration value="GUA"/>
+ *     <enumeration value="GUD"/>
+ *     <enumeration value="GUI"/>
+ *     <enumeration value="GUM"/>
+ *     <enumeration value="GUY"/>
+ *     <enumeration value="HAI"/>
+ *     <enumeration value="HKG"/>
+ *     <enumeration value="HON"/>
+ *     <enumeration value="HUN"/>
+ *     <enumeration value="INA"/>
+ *     <enumeration value="IND"/>
+ *     <enumeration value="IOA"/>
+ *     <enumeration value="IRI"/>
+ *     <enumeration value="IRL"/>
+ *     <enumeration value="IRQ"/>
+ *     <enumeration value="ISL"/>
+ *     <enumeration value="ISR"/>
+ *     <enumeration value="ISV"/>
+ *     <enumeration value="ITA"/>
+ *     <enumeration value="IVB"/>
+ *     <enumeration value="JAM"/>
+ *     <enumeration value="JOR"/>
+ *     <enumeration value="JPN"/>
+ *     <enumeration value="KAZ"/>
+ *     <enumeration value="KEN"/>
+ *     <enumeration value="KGZ"/>
+ *     <enumeration value="KIR"/>
+ *     <enumeration value="KOR"/>
+ *     <enumeration value="KOS"/>
+ *     <enumeration value="KSA"/>
+ *     <enumeration value="KUW"/>
+ *     <enumeration value="LAO"/>
+ *     <enumeration value="LAT"/>
+ *     <enumeration value="LBA"/>
+ *     <enumeration value="LBR"/>
+ *     <enumeration value="LCA"/>
+ *     <enumeration value="LES"/>
+ *     <enumeration value="LIB"/>
+ *     <enumeration value="LIE"/>
+ *     <enumeration value="LTU"/>
+ *     <enumeration value="LUX"/>
+ *     <enumeration value="MAC"/>
+ *     <enumeration value="MAD"/>
+ *     <enumeration value="MAR"/>
+ *     <enumeration value="MAS"/>
+ *     <enumeration value="MAW"/>
+ *     <enumeration value="MDA"/>
+ *     <enumeration value="MDV"/>
+ *     <enumeration value="MEX"/>
+ *     <enumeration value="MGL"/>
+ *     <enumeration value="MHL"/>
+ *     <enumeration value="MKD"/>
+ *     <enumeration value="MLI"/>
+ *     <enumeration value="MLT"/>
+ *     <enumeration value="MNE"/>
+ *     <enumeration value="MNT"/>
+ *     <enumeration value="MON"/>
+ *     <enumeration value="MOZ"/>
+ *     <enumeration value="MRI"/>
+ *     <enumeration value="MRN"/>
+ *     <enumeration value="MTN"/>
+ *     <enumeration value="MYA"/>
+ *     <enumeration value="NAM"/>
+ *     <enumeration value="NCA"/>
+ *     <enumeration value="NED"/>
+ *     <enumeration value="NEP"/>
+ *     <enumeration value="NGR"/>
+ *     <enumeration value="NIG"/>
+ *     <enumeration value="NMI"/>
+ *     <enumeration value="NOR"/>
+ *     <enumeration value="NRU"/>
+ *     <enumeration value="NZL"/>
+ *     <enumeration value="OMA"/>
+ *     <enumeration value="PAK"/>
+ *     <enumeration value="PAN"/>
+ *     <enumeration value="PAR"/>
+ *     <enumeration value="PER"/>
+ *     <enumeration value="PHI"/>
+ *     <enumeration value="PLE"/>
+ *     <enumeration value="PLW"/>
+ *     <enumeration value="PNG"/>
+ *     <enumeration value="POL"/>
+ *     <enumeration value="POR"/>
+ *     <enumeration value="PRK"/>
+ *     <enumeration value="PUR"/>
+ *     <enumeration value="QAT"/>
+ *     <enumeration value="REU"/>
+ *     <enumeration value="RHO"/>
+ *     <enumeration value="ROM"/>
+ *     <enumeration value="ROU"/>
+ *     <enumeration value="RSA"/>
+ *     <enumeration value="RUS"/>
+ *     <enumeration value="RWA"/>
+ *     <enumeration value="SAM"/>
+ *     <enumeration value="SEN"/>
+ *     <enumeration value="SEY"/>
+ *     <enumeration value="SIN"/>
+ *     <enumeration value="SKN"/>
+ *     <enumeration value="SLE"/>
+ *     <enumeration value="SLO"/>
+ *     <enumeration value="SMR"/>
+ *     <enumeration value="SOL"/>
+ *     <enumeration value="SOM"/>
+ *     <enumeration value="SRB"/>
+ *     <enumeration value="SRI"/>
+ *     <enumeration value="STP"/>
+ *     <enumeration value="SUD"/>
+ *     <enumeration value="SUI"/>
+ *     <enumeration value="SUR"/>
+ *     <enumeration value="SVK"/>
+ *     <enumeration value="SWE"/>
+ *     <enumeration value="SWZ"/>
+ *     <enumeration value="SYR"/>
+ *     <enumeration value="TAH"/>
+ *     <enumeration value="TAI"/>
+ *     <enumeration value="TAN"/>
+ *     <enumeration value="TCH"/>
+ *     <enumeration value="TGA"/>
+ *     <enumeration value="THA"/>
+ *     <enumeration value="TJK"/>
+ *     <enumeration value="TKM"/>
+ *     <enumeration value="TKS"/>
+ *     <enumeration value="TLS"/>
+ *     <enumeration value="TOG"/>
+ *     <enumeration value="TPE"/>
+ *     <enumeration value="TRI"/>
+ *     <enumeration value="TUN"/>
+ *     <enumeration value="TUR"/>
+ *     <enumeration value="TUV"/>
+ *     <enumeration value="UAE"/>
+ *     <enumeration value="UGA"/>
+ *     <enumeration value="UKR"/>
+ *     <enumeration value="URS"/>
+ *     <enumeration value="URU"/>
+ *     <enumeration value="USA"/>
+ *     <enumeration value="UZB"/>
+ *     <enumeration value="VAN"/>
+ *     <enumeration value="VEN"/>
+ *     <enumeration value="VIE"/>
+ *     <enumeration value="VIN"/>
+ *     <enumeration value="YEM"/>
+ *     <enumeration value="YUG"/>
+ *     <enumeration value="ZAI"/>
+ *     <enumeration value="ZAM"/>
+ *     <enumeration value="ZIM"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "IFNationCode") +@XmlEnum +public enum IFNationCode { + + + /** + * Afghanistan + * + */ + AFG, + + /** + * Netherlands Antilles + * + */ + AHO, + + /** + * Albania + * + */ + ALB, + + /** + * Algeria + * + */ + ALG, + + /** + * Anguilla + * + */ + ANA, + + /** + * Andorra + * + */ + AND, + + /** + * Angola + * + */ + ANG, + + /** + * Antigua + * + */ + ANT, + + /** + * Argentina + * + */ + ARG, + + /** + * Armenia + * + */ + ARM, + + /** + * Aruba + * + */ + ARU, + + /** + * American Samoa + * + */ + ASA, + + /** + * Australia + * + */ + AUS, + + /** + * Austria + * + */ + AUT, + + /** + * Azerbaijan + * + */ + AZE, + + /** + * Bahamas + * + */ + BAH, + + /** + * Bangladesh + * + */ + BAN, + + /** + * Barbados + * + */ + BAR, + + /** + * Burundi + * + */ + BDI, + + /** + * Belgium + * + */ + BEL, + + /** + * Benin + * + */ + BEN, + + /** + * Bermuda + * + */ + BER, + + /** + * Bhutan + * + */ + BHU, + + /** + * Bosnia & Herzegovina + * + */ + BIH, + + /** + * BURMA + * + */ + BIR, + + /** + * Belize + * + */ + BIZ, + + /** + * Belarus + * + */ + BLR, + + /** + * Bolivia + * + */ + BOL, + + /** + * Botswana + * + */ + BOT, + + /** + * Brazil + * + */ + BRA, + + /** + * Bahrain + * + */ + BRN, + + /** + * Brunei + * + */ + BRU, + + /** + * Bulgaria + * + */ + BUL, + + /** + * Burkina Faso + * + */ + BUR, + + /** + * BRITISH WEST INDIES + * + */ + BWI, + + /** + * Central Africa + * + */ + CAF, + + /** + * New Caledonia + * + */ + CAL, + + /** + * Cambodia + * + */ + CAM, + + /** + * Canada + * + */ + CAN, + + /** + * Cayman Islands + * + */ + CAY, + + /** + * Congo + * + */ + CGO, + + /** + * Chad + * + */ + CHA, + + /** + * Chile + * + */ + CHI, + + /** + * China, PR + * + */ + CHN, + + /** + * Ivory Coast + * + */ + CIV, + + /** + * Cameroon + * + */ + CMR, + + /** + * DR Congo + * + */ + COD, + + /** + * Cook Islands + * + */ + COK, + + /** + * Colombia + * + */ + COL, + + /** + * Comoros + * + */ + COM, + + /** + * Cape Verde + * + */ + CPV, + + /** + * Costa Rica + * + */ + CRC, + + /** + * Croatia + * + */ + CRO, + + /** + * Cuba + * + */ + CUB, + + /** + * Curacao + * + */ + CUR, + + /** + * Cyprus + * + */ + CYP, + + /** + * Czech Republic + * + */ + CZE, + + /** + * Denmark + * + */ + DEN, + + /** + * Djibouti + * + */ + DJI, + + /** + * Dominica + * + */ + DMA, + + /** + * Dominican Republic + * + */ + DOM, + + /** + * Ecuador + * + */ + ECU, + + /** + * Egypt + * + */ + EGY, + + /** + * Eritrea + * + */ + ERI, + + /** + * El Salvador + * + */ + ESA, + + /** + * Spain + * + */ + ESP, + + /** + * Estonia + * + */ + EST, + + /** + * Ethiopia + * + */ + ETH, + + /** + * EQUIPE UNIFIÉE ALLEMANDE + * + */ + EUA, + + /** + * Unified Team + * + */ + EUN, + + /** + * Faroe Islands + * + */ + FAR, + + /** + * French Guiana + * + */ + FGU, + + /** + * Fiji + * + */ + FIJ, + + /** + * Finland + * + */ + FIN, + + /** + * France + * + */ + FRA, + + /** + * Federal Republic of Germany (1950) + * + */ + FRG, + + /** + * Micronesia + * + */ + FSM, + + /** + * Gabon + * + */ + GAB, + + /** + * Gambia + * + */ + GAM, + + /** + * Great Britain + * + */ + GBR, + + /** + * Guinea-bissau + * + */ + GBS, + + /** + * German Democratic Republic (1955) + * + */ + GDR, + + /** + * Georgia + * + */ + GEO, + + /** + * Equatorial Guinea + * + */ + GEQ, + + /** + * Germany + * + */ + GER, + + /** + * Ghana + * + */ + GHA, + + /** + * Gibraltar + * + */ + GIB, + + /** + * Greece + * + */ + GRE, + + /** + * Grenada + * + */ + GRN, + + /** + * Guatemala + * + */ + GUA, + + /** + * Guadeloupe + * + */ + GUD, + + /** + * Guinea + * + */ + GUI, + + /** + * Guam + * + */ + GUM, + + /** + * Guyana + * + */ + GUY, + + /** + * Haiti + * + */ + HAI, + + /** + * Hong Kong + * + */ + HKG, + + /** + * Honduras + * + */ + HON, + + /** + * Hungary + * + */ + HUN, + + /** + * Indonesia + * + */ + INA, + + /** + * India + * + */ + IND, + + /** + * Independent Olympic Athlete + * + */ + IOA, + + /** + * I.R. Iran + * + */ + IRI, + + /** + * Ireland + * + */ + IRL, + + /** + * Iraq + * + */ + IRQ, + + /** + * Iceland + * + */ + ISL, + + /** + * Israel + * + */ + ISR, + + /** + * US Virgin Islands + * + */ + ISV, + + /** + * Italy + * + */ + ITA, + + /** + * British Virgin Islands + * + */ + IVB, + + /** + * Jamaica + * + */ + JAM, + + /** + * Jordan + * + */ + JOR, + + /** + * Japan + * + */ + JPN, + + /** + * Kazakhstan + * + */ + KAZ, + + /** + * Kenya + * + */ + KEN, + + /** + * Kyrgyzstan + * + */ + KGZ, + + /** + * Kiribati + * + */ + KIR, + + /** + * Korea + * + */ + KOR, + + /** + * Kosovo + * + */ + KOS, + + /** + * Saudi Arabia + * + */ + KSA, + + /** + * Kuwait + * + */ + KUW, + + /** + * Lao P.d.r. + * + */ + LAO, + + /** + * Latvia + * + */ + LAT, + + /** + * Libya + * + */ + LBA, + + /** + * Liberia + * + */ + LBR, + + /** + * St Lucia + * + */ + LCA, + + /** + * Lesotho + * + */ + LES, + + /** + * Lebanon + * + */ + LIB, + + /** + * Liechtenstein + * + */ + LIE, + + /** + * Lithuania + * + */ + LTU, + + /** + * Luxembourg + * + */ + LUX, + + /** + * Macau + * + */ + MAC, + + /** + * Madagascar + * + */ + MAD, + + /** + * Morocco + * + */ + MAR, + + /** + * Malaysia + * + */ + MAS, + + /** + * Malawi + * + */ + MAW, + + /** + * Moldova + * + */ + MDA, + + /** + * Maldives + * + */ + MDV, + + /** + * Mexico + * + */ + MEX, + + /** + * Mongolia + * + */ + MGL, + + /** + * Marshall Islands + * + */ + MHL, + + /** + * Macedonia (FYRO) + * + */ + MKD, + + /** + * Mali + * + */ + MLI, + + /** + * Malta + * + */ + MLT, + + /** + * Montenegro + * + */ + MNE, + + /** + * Montserrat + * + */ + MNT, + + /** + * Monaco + * + */ + MON, + + /** + * Mozambique + * + */ + MOZ, + + /** + * Mauritius + * + */ + MRI, + + /** + * Martinique + * + */ + MRN, + + /** + * Mauritania + * + */ + MTN, + + /** + * Myanmar + * + */ + MYA, + + /** + * Namibia + * + */ + NAM, + + /** + * Nicaragua + * + */ + NCA, + + /** + * Netherlands + * + */ + NED, + + /** + * Nepal + * + */ + NEP, + + /** + * Nigeria + * + */ + NGR, + + /** + * Niger + * + */ + NIG, + + /** + * Northern Mariana Islands + * + */ + NMI, + + /** + * Norway + * + */ + NOR, + + /** + * Nauru + * + */ + NRU, + + /** + * New Zealand + * + */ + NZL, + + /** + * Oman + * + */ + OMA, + + /** + * Pakistan + * + */ + PAK, + + /** + * Panama + * + */ + PAN, + + /** + * Paraguay + * + */ + PAR, + + /** + * Peru + * + */ + PER, + + /** + * Philippines + * + */ + PHI, + + /** + * Palestine + * + */ + PLE, + + /** + * Palau + * + */ + PLW, + + /** + * Papua New Guinea + * + */ + PNG, + + /** + * Poland + * + */ + POL, + + /** + * Portugal + * + */ + POR, + + /** + * Dpr Korea + * + */ + PRK, + + /** + * Puerto Rico + * + */ + PUR, + + /** + * Qatar + * + */ + QAT, + + /** + * Reunion + * + */ + REU, + + /** + * RHODÉSIE + * + */ + RHO, + + /** + * ROMANIA + * + */ + ROM, + + /** + * Romania + * + */ + ROU, + + /** + * South Africa + * + */ + RSA, + + /** + * Russia + * + */ + RUS, + + /** + * Rwanda + * + */ + RWA, + + /** + * Samoa + * + */ + SAM, + + /** + * Senegal + * + */ + SEN, + + /** + * Seychelles + * + */ + SEY, + + /** + * Singapore + * + */ + SIN, + + /** + * St Kitts + * + */ + SKN, + + /** + * Sierra Leone + * + */ + SLE, + + /** + * Slovenia + * + */ + SLO, + + /** + * San Marino + * + */ + SMR, + + /** + * Solomon Islands + * + */ + SOL, + + /** + * Somalia + * + */ + SOM, + + /** + * Serbia + * + */ + SRB, + + /** + * Sri Lanka + * + */ + SRI, + + /** + * Sao Tome And Principe + * + */ + STP, + + /** + * Sudan + * + */ + SUD, + + /** + * Switzerland + * + */ + SUI, + + /** + * Suriname + * + */ + SUR, + + /** + * Slovakia + * + */ + SVK, + + /** + * Sweden + * + */ + SWE, + + /** + * Swaziland + * + */ + SWZ, + + /** + * Syria + * + */ + SYR, + + /** + * Tahiti + * + */ + TAH, + + /** + * Taiwan + * + */ + TAI, + + /** + * Tanzania + * + */ + TAN, + + /** + * CZECHOSLOVAKIA + * + */ + TCH, + + /** + * Tonga + * + */ + TGA, + + /** + * Thailand + * + */ + THA, + + /** + * Tajikistan + * + */ + TJK, + + /** + * Turkmenistan + * + */ + TKM, + + /** + * Turks & Caicos Islands + * + */ + TKS, + + /** + * Timor Leste + * + */ + TLS, + + /** + * Togo + * + */ + TOG, + + /** + * Chinese Taipei + * + */ + TPE, + + /** + * Trinidad And Tobago + * + */ + TRI, + + /** + * Tunisia + * + */ + TUN, + + /** + * Turkey + * + */ + TUR, + + /** + * Tuvalu + * + */ + TUV, + + /** + * United Arab Emirates + * + */ + UAE, + + /** + * Uganda + * + */ + UGA, + + /** + * Ukraine + * + */ + UKR, + + /** + * USSR + * + */ + URS, + + /** + * Uruguay + * + */ + URU, + + /** + * USA + * + */ + USA, + + /** + * Uzbekistan + * + */ + UZB, + + /** + * Vanuatu + * + */ + VAN, + + /** + * Venezuela + * + */ + VEN, + + /** + * Vietnam + * + */ + VIE, + + /** + * St Vincent + * + */ + VIN, + + /** + * Yemen + * + */ + YEM, + + /** + * Yugoslavia + * + */ + YUG, + + /** + * Zaire + * + */ + ZAI, + + /** + * Zambia + * + */ + ZAM, + + /** + * Zimbabwe + * + */ + ZIM; + + public String value() { + return name(); + } + + public static IFNationCode fromValue(String v) { + return valueOf(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFRaceStatus.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFRaceStatus.java new file mode 100755 index 00000000000..176d4d577b5 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/IFRaceStatus.java @@ -0,0 +1,172 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for IFRaceStatus. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="IFRaceStatus">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="planned"/>
+ *     <enumeration value="scheduled"/>
+ *     <enumeration value="startseq"/>
+ *     <enumeration value="inprogress"/>
+ *     <enumeration value="recall"/>
+ *     <enumeration value="finished"/>
+ *     <enumeration value="final"/>
+ *     <enumeration value="result"/>
+ *     <enumeration value="delayed"/>
+ *     <enumeration value="cancelled"/>
+ *     <enumeration value="protested"/>
+ *     <enumeration value="postponed"/>
+ *     <enumeration value="abandoned"/>
+ *     <enumeration value="rescheduled"/>
+ *     <enumeration value="provisional"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "IFRaceStatus") +@XmlEnum +public enum IFRaceStatus { + + + /** + * planned + * + */ + @XmlEnumValue("planned") + PLANNED("planned"), + + /** + * scheduled + * + */ + @XmlEnumValue("scheduled") + SCHEDULED("scheduled"), + + /** + * startseq + * + */ + @XmlEnumValue("startseq") + STARTSEQ("startseq"), + + /** + * inprogress + * + */ + @XmlEnumValue("inprogress") + INPROGRESS("inprogress"), + + /** + * recall + * + */ + @XmlEnumValue("recall") + RECALL("recall"), + + /** + * finished + * + */ + @XmlEnumValue("finished") + FINISHED("finished"), + + /** + * final + * + */ + @XmlEnumValue("final") + FINAL("final"), + + /** + * result + * + */ + @XmlEnumValue("result") + RESULT("result"), + + /** + * delayed + * + */ + @XmlEnumValue("delayed") + DELAYED("delayed"), + + /** + * cancelled + * + */ + @XmlEnumValue("cancelled") + CANCELLED("cancelled"), + + /** + * protested + * + */ + @XmlEnumValue("protested") + PROTESTED("protested"), + + /** + * postponed + * + */ + @XmlEnumValue("postponed") + POSTPONED("postponed"), + + /** + * abandoned + * + */ + @XmlEnumValue("abandoned") + ABANDONED("abandoned"), + + /** + * rescheduled + * + */ + @XmlEnumValue("rescheduled") + RESCHEDULED("rescheduled"), + + /** + * provisional + * + */ + @XmlEnumValue("provisional") + PROVISIONAL("provisional"); + private final String value; + + IFRaceStatus(String v) { + value = v; + } + + public String value() { + return value; + } + + public static IFRaceStatus fromValue(String v) { + for (IFRaceStatus c: IFRaceStatus.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/MatchRaceEntry.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/MatchRaceEntry.java new file mode 100755 index 00000000000..0da43051435 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/MatchRaceEntry.java @@ -0,0 +1,58 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for MatchRaceEntry. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="MatchRaceEntry">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="Port"/>
+ *     <enumeration value="Starboard"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "MatchRaceEntry") +@XmlEnum +public enum MatchRaceEntry { + + @XmlEnumValue("Port") + PORT("Port"), + @XmlEnumValue("Starboard") + STARBOARD("Starboard"); + private final String value; + + MatchRaceEntry(String v) { + value = v; + } + + public String value() { + return value; + } + + public static MatchRaceEntry fromValue(String v) { + for (MatchRaceEntry c: MatchRaceEntry.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/ObjectFactory.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/ObjectFactory.java new file mode 100755 index 00000000000..23c09637375 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/ObjectFactory.java @@ -0,0 +1,164 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.sap.sailing.xrr.resultimport.schema package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _SailingXRR_QNAME = new QName("", "SailingXRR"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sap.sailing.xrr.resultimport.schema + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link RegattaResults } + * + */ + public RegattaResults createRegattaResults() { + return new RegattaResults(); + } + + /** + * Create an instance of {@link EventRef } + * + */ + public EventRef createEventRef() { + return new EventRef(); + } + + /** + * Create an instance of {@link Boat } + * + */ + public Boat createBoat() { + return new Boat(); + } + + /** + * Create an instance of {@link SeriesResult } + * + */ + public SeriesResult createSeriesResult() { + return new SeriesResult(); + } + + /** + * Create an instance of {@link RaceResult } + * + */ + public RaceResult createRaceResult() { + return new RaceResult(); + } + + /** + * Create an instance of {@link TRRaceResult } + * + */ + public TRRaceResult createTRRaceResult() { + return new TRRaceResult(); + } + + /** + * Create an instance of {@link TRSeriesResult } + * + */ + public TRSeriesResult createTRSeriesResult() { + return new TRSeriesResult(); + } + + /** + * Create an instance of {@link Crew } + * + */ + public Crew createCrew() { + return new Crew(); + } + + /** + * Create an instance of {@link Event } + * + */ + public Event createEvent() { + return new Event(); + } + + /** + * Create an instance of {@link Race } + * + */ + public Race createRace() { + return new Race(); + } + + /** + * Create an instance of {@link Team } + * + */ + public Team createTeam() { + return new Team(); + } + + /** + * Create an instance of {@link Division } + * + */ + public Division createDivision() { + return new Division(); + } + + /** + * Create an instance of {@link RegattaSeriesResult } + * + */ + public RegattaSeriesResult createRegattaSeriesResult() { + return new RegattaSeriesResult(); + } + + /** + * Create an instance of {@link Person } + * + */ + public Person createPerson() { + return new Person(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RegattaResults }{@code >}} + * + */ + @XmlElementDecl(namespace = "", name = "SailingXRR") + public JAXBElement createSailingXRR(RegattaResults value) { + return new JAXBElement(_SailingXRR_QNAME, RegattaResults.class, null, value); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Person.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Person.java new file mode 100755 index 00000000000..59b8de06a7d --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Person.java @@ -0,0 +1,284 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for Person complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Person">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="PersonID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="IFPersonID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="FamilyName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="NOC" type="{}IFNationCode" />
+ *       <attribute name="Gender" type="{}PersonGender" />
+ *       <attribute name="ClassificationGroup" type="{}IFCfcnGroup" />
+ *       <attribute name="ClassificationStatus" type="{}IFCfcnStatus" />
+ *       <attribute name="ClassificationExpiry" type="{http://www.w3.org/2001/XMLSchema}date" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Person") +public class Person { + + @XmlAttribute(name = "PersonID", required = true) + protected String personID; + @XmlAttribute(name = "IFPersonID", required = true) + protected String ifPersonID; + @XmlAttribute(name = "FamilyName", required = true) + protected String familyName; + @XmlAttribute(name = "GivenName") + protected String givenName; + @XmlAttribute(name = "NOC") + protected IFNationCode noc; + @XmlAttribute(name = "Gender") + protected PersonGender gender; + @XmlAttribute(name = "ClassificationGroup") + protected String classificationGroup; + @XmlAttribute(name = "ClassificationStatus") + protected IFCfcnStatus classificationStatus; + @XmlAttribute(name = "ClassificationExpiry") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar classificationExpiry; + + /** + * Gets the value of the personID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPersonID() { + return personID; + } + + /** + * Sets the value of the personID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPersonID(String value) { + this.personID = value; + } + + /** + * Gets the value of the ifPersonID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIFPersonID() { + return ifPersonID; + } + + /** + * Sets the value of the ifPersonID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIFPersonID(String value) { + this.ifPersonID = value; + } + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFamilyName(String value) { + this.familyName = value; + } + + /** + * Gets the value of the givenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGivenName() { + return givenName; + } + + /** + * Sets the value of the givenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGivenName(String value) { + this.givenName = value; + } + + /** + * Gets the value of the noc property. + * + * @return + * possible object is + * {@link IFNationCode } + * + */ + public IFNationCode getNOC() { + return noc; + } + + /** + * Sets the value of the noc property. + * + * @param value + * allowed object is + * {@link IFNationCode } + * + */ + public void setNOC(IFNationCode value) { + this.noc = value; + } + + /** + * Gets the value of the gender property. + * + * @return + * possible object is + * {@link PersonGender } + * + */ + public PersonGender getGender() { + return gender; + } + + /** + * Sets the value of the gender property. + * + * @param value + * allowed object is + * {@link PersonGender } + * + */ + public void setGender(PersonGender value) { + this.gender = value; + } + + /** + * Gets the value of the classificationGroup property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getClassificationGroup() { + return classificationGroup; + } + + /** + * Sets the value of the classificationGroup property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setClassificationGroup(String value) { + this.classificationGroup = value; + } + + /** + * Gets the value of the classificationStatus property. + * + * @return + * possible object is + * {@link IFCfcnStatus } + * + */ + public IFCfcnStatus getClassificationStatus() { + return classificationStatus; + } + + /** + * Sets the value of the classificationStatus property. + * + * @param value + * allowed object is + * {@link IFCfcnStatus } + * + */ + public void setClassificationStatus(IFCfcnStatus value) { + this.classificationStatus = value; + } + + /** + * Gets the value of the classificationExpiry property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getClassificationExpiry() { + return classificationExpiry; + } + + /** + * Sets the value of the classificationExpiry property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setClassificationExpiry(XMLGregorianCalendar value) { + this.classificationExpiry = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/PersonGender.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/PersonGender.java new file mode 100755 index 00000000000..355ee1553f0 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/PersonGender.java @@ -0,0 +1,68 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for PersonGender. + * + *

The following schema fragment specifies the expected content contained within this class. + *

+ *

+ * <simpleType name="PersonGender">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="Male"/>
+ *     <enumeration value="Female"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "PersonGender") +@XmlEnum +public enum PersonGender { + + + /** + * Male + * + */ + @XmlEnumValue("Male") + MALE("Male"), + + /** + * Female + * + */ + @XmlEnumValue("Female") + FEMALE("Female"); + private final String value; + + PersonGender(String v) { + value = v; + } + + public String value() { + return value; + } + + public static PersonGender fromValue(String v) { + for (PersonGender c: PersonGender.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Race.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Race.java new file mode 100755 index 00000000000..065bc0d9723 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Race.java @@ -0,0 +1,290 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * + * very preliminary, info about a single race within a regatta + * + * + *

Java class for Race complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Race">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="RaceID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="RaceNumber" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ *       <attribute name="RaceName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="RaceStartDate" type="{http://www.w3.org/2001/XMLSchema}date" />
+ *       <attribute name="RaceStartTime" type="{http://www.w3.org/2001/XMLSchema}time" />
+ *       <attribute name="RaceStatus" type="{}IFRaceStatus" />
+ *       <attribute name="Stage" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Flight" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Match" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Race") +public class Race { + + @XmlAttribute(name = "RaceID", required = true) + protected String raceID; + @XmlAttribute(name = "RaceNumber", required = true) + protected BigInteger raceNumber; + @XmlAttribute(name = "RaceName") + protected String raceName; + @XmlAttribute(name = "RaceStartDate") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar raceStartDate; + @XmlAttribute(name = "RaceStartTime") + @XmlSchemaType(name = "time") + protected XMLGregorianCalendar raceStartTime; + @XmlAttribute(name = "RaceStatus") + protected IFRaceStatus raceStatus; + @XmlAttribute(name = "Stage") + protected String stage; + @XmlAttribute(name = "Flight") + protected String flight; + @XmlAttribute(name = "Match") + protected String match; + + /** + * Gets the value of the raceID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRaceID() { + return raceID; + } + + /** + * Sets the value of the raceID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRaceID(String value) { + this.raceID = value; + } + + /** + * Gets the value of the raceNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRaceNumber() { + return raceNumber; + } + + /** + * Sets the value of the raceNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRaceNumber(BigInteger value) { + this.raceNumber = value; + } + + /** + * Gets the value of the raceName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRaceName() { + return raceName; + } + + /** + * Sets the value of the raceName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRaceName(String value) { + this.raceName = value; + } + + /** + * Gets the value of the raceStartDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getRaceStartDate() { + return raceStartDate; + } + + /** + * Sets the value of the raceStartDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setRaceStartDate(XMLGregorianCalendar value) { + this.raceStartDate = value; + } + + /** + * Gets the value of the raceStartTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getRaceStartTime() { + return raceStartTime; + } + + /** + * Sets the value of the raceStartTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setRaceStartTime(XMLGregorianCalendar value) { + this.raceStartTime = value; + } + + /** + * Gets the value of the raceStatus property. + * + * @return + * possible object is + * {@link IFRaceStatus } + * + */ + public IFRaceStatus getRaceStatus() { + return raceStatus; + } + + /** + * Sets the value of the raceStatus property. + * + * @param value + * allowed object is + * {@link IFRaceStatus } + * + */ + public void setRaceStatus(IFRaceStatus value) { + this.raceStatus = value; + } + + /** + * Gets the value of the stage property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStage() { + return stage; + } + + /** + * Sets the value of the stage property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStage(String value) { + this.stage = value; + } + + /** + * Gets the value of the flight property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFlight() { + return flight; + } + + /** + * Sets the value of the flight property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFlight(String value) { + this.flight = value; + } + + /** + * Gets the value of the match property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMatch() { + return match; + } + + /** + * Sets the value of the match property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMatch(String value) { + this.match = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RaceResult.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RaceResult.java new file mode 100755 index 00000000000..7761a250c47 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RaceResult.java @@ -0,0 +1,262 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigDecimal; +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for RaceResult complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RaceResult">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="RaceID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="TeamID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="BoatID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="RacePoints" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="RaceRank" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *       <attribute name="Discard" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="ScoreCode" type="{}IFBoatStatus" />
+ *       <attribute name="Entry" type="{}MatchRaceEntry" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RaceResult") +public class RaceResult { + + @XmlAttribute(name = "RaceID", required = true) + protected String raceID; + @XmlAttribute(name = "TeamID", required = true) + protected String teamID; + @XmlAttribute(name = "BoatID") + protected String boatID; + @XmlAttribute(name = "RacePoints", required = true) + protected BigDecimal racePoints; + @XmlAttribute(name = "RaceRank") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger raceRank; + @XmlAttribute(name = "Discard") + protected Boolean discard; + @XmlAttribute(name = "ScoreCode") + protected IFBoatStatus scoreCode; + @XmlAttribute(name = "Entry") + protected MatchRaceEntry entry; + + /** + * Gets the value of the raceID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRaceID() { + return raceID; + } + + /** + * Sets the value of the raceID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRaceID(String value) { + this.raceID = value; + } + + /** + * Gets the value of the teamID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTeamID() { + return teamID; + } + + /** + * Sets the value of the teamID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTeamID(String value) { + this.teamID = value; + } + + /** + * Gets the value of the boatID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBoatID() { + return boatID; + } + + /** + * Sets the value of the boatID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBoatID(String value) { + this.boatID = value; + } + + /** + * Gets the value of the racePoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getRacePoints() { + return racePoints; + } + + /** + * Sets the value of the racePoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setRacePoints(BigDecimal value) { + this.racePoints = value; + } + + /** + * Gets the value of the raceRank property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRaceRank() { + return raceRank; + } + + /** + * Sets the value of the raceRank property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRaceRank(BigInteger value) { + this.raceRank = value; + } + + /** + * Gets the value of the discard property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isDiscard() { + if (discard == null) { + return false; + } else { + return discard; + } + } + + /** + * Sets the value of the discard property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDiscard(Boolean value) { + this.discard = value; + } + + /** + * Gets the value of the scoreCode property. + * + * @return + * possible object is + * {@link IFBoatStatus } + * + */ + public IFBoatStatus getScoreCode() { + return scoreCode; + } + + /** + * Sets the value of the scoreCode property. + * + * @param value + * allowed object is + * {@link IFBoatStatus } + * + */ + public void setScoreCode(IFBoatStatus value) { + this.scoreCode = value; + } + + /** + * Gets the value of the entry property. + * + * @return + * possible object is + * {@link MatchRaceEntry } + * + */ + public MatchRaceEntry getEntry() { + return entry; + } + + /** + * Sets the value of the entry property. + * + * @param value + * allowed object is + * {@link MatchRaceEntry } + * + */ + public void setEntry(MatchRaceEntry value) { + this.entry = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaResults.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaResults.java new file mode 100755 index 00000000000..81a5730acd5 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaResults.java @@ -0,0 +1,201 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + *

Java class for RegattaResults complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RegattaResults">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded">
+ *         <element name="Person" type="{}Person" maxOccurs="unbounded"/>
+ *         <element name="Boat" type="{}Boat" maxOccurs="unbounded"/>
+ *         <element name="Team" type="{}Team" maxOccurs="unbounded"/>
+ *         <element name="Event" type="{}Event" maxOccurs="unbounded"/>
+ *       </choice>
+ *       <attribute name="Date" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
+ *       <attribute name="Time" use="required" type="{http://www.w3.org/2001/XMLSchema}time" />
+ *       <attribute name="Type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RegattaResults", propOrder = { + "personOrBoatOrTeam" +}) +public class RegattaResults { + + @XmlElements({ + @XmlElement(name = "Person", type = Person.class), + @XmlElement(name = "Boat", type = Boat.class), + @XmlElement(name = "Team", type = Team.class), + @XmlElement(name = "Event", type = Event.class) + }) + protected List personOrBoatOrTeam; + @XmlAttribute(name = "Date", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar date; + @XmlAttribute(name = "Time", required = true) + @XmlSchemaType(name = "time") + protected XMLGregorianCalendar time; + @XmlAttribute(name = "Type", required = true) + protected String type; + @XmlAttribute(name = "Version", required = true) + protected String version; + + /** + * Gets the value of the personOrBoatOrTeam property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the personOrBoatOrTeam property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getPersonOrBoatOrTeam().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Person } + * {@link Boat } + * {@link Team } + * {@link Event } + * + * + */ + public List getPersonOrBoatOrTeam() { + if (personOrBoatOrTeam == null) { + personOrBoatOrTeam = new ArrayList(); + } + return this.personOrBoatOrTeam; + } + + /** + * Gets the value of the date property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDate() { + return date; + } + + /** + * Sets the value of the date property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDate(XMLGregorianCalendar value) { + this.date = value; + } + + /** + * Gets the value of the time property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTime() { + return time; + } + + /** + * Sets the value of the time property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTime(XMLGregorianCalendar value) { + this.time = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaSeriesResult.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaSeriesResult.java new file mode 100755 index 00000000000..27c5f1b4906 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/RegattaSeriesResult.java @@ -0,0 +1,162 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigDecimal; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for RegattaSeriesResult complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RegattaSeriesResult">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded">
+ *         <element name="EventID" type="{}EventRef"/>
+ *       </choice>
+ *       <attribute name="TeamID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="TotalPoints" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="Rank" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RegattaSeriesResult", propOrder = { + "eventID" +}) +public class RegattaSeriesResult { + + @XmlElement(name = "EventID") + protected List eventID; + @XmlAttribute(name = "TeamID") + protected String teamID; + @XmlAttribute(name = "TotalPoints", required = true) + protected BigDecimal totalPoints; + @XmlAttribute(name = "Rank", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger rank; + + /** + * Gets the value of the eventID property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the eventID property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getEventID().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link EventRef } + * + * + */ + public List getEventID() { + if (eventID == null) { + eventID = new ArrayList(); + } + return this.eventID; + } + + /** + * Gets the value of the teamID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTeamID() { + return teamID; + } + + /** + * Sets the value of the teamID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTeamID(String value) { + this.teamID = value; + } + + /** + * Gets the value of the totalPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getTotalPoints() { + return totalPoints; + } + + /** + * Sets the value of the totalPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setTotalPoints(BigDecimal value) { + this.totalPoints = value; + } + + /** + * Gets the value of the rank property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRank() { + return rank; + } + + /** + * Sets the value of the rank property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRank(BigInteger value) { + this.rank = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/SeriesResult.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/SeriesResult.java new file mode 100755 index 00000000000..3c5fb9384bd --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/SeriesResult.java @@ -0,0 +1,181 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigDecimal; +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for SeriesResult complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="SeriesResult">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="TeamID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="NetPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="TotalPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="Tied" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="Rank" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SeriesResult") +public class SeriesResult { + + @XmlAttribute(name = "TeamID", required = true) + protected String teamID; + @XmlAttribute(name = "NetPoints") + protected BigDecimal netPoints; + @XmlAttribute(name = "TotalPoints") + protected BigDecimal totalPoints; + @XmlAttribute(name = "Tied") + protected Boolean tied; + @XmlAttribute(name = "Rank", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger rank; + + /** + * Gets the value of the teamID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTeamID() { + return teamID; + } + + /** + * Sets the value of the teamID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTeamID(String value) { + this.teamID = value; + } + + /** + * Gets the value of the netPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getNetPoints() { + return netPoints; + } + + /** + * Sets the value of the netPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setNetPoints(BigDecimal value) { + this.netPoints = value; + } + + /** + * Gets the value of the totalPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getTotalPoints() { + return totalPoints; + } + + /** + * Sets the value of the totalPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setTotalPoints(BigDecimal value) { + this.totalPoints = value; + } + + /** + * Gets the value of the tied property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isTied() { + if (tied == null) { + return false; + } else { + return tied; + } + } + + /** + * Sets the value of the tied property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setTied(Boolean value) { + this.tied = value; + } + + /** + * Gets the value of the rank property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRank() { + return rank; + } + + /** + * Sets the value of the rank property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRank(BigInteger value) { + this.rank = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRRaceResult.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRRaceResult.java new file mode 100755 index 00000000000..51397f6ee19 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRRaceResult.java @@ -0,0 +1,150 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigDecimal; +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for TRRaceResult complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRRaceResult">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="RaceID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="NetPoints" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="TeamPoints" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="RaceRank" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRRaceResult") +public class TRRaceResult { + + @XmlAttribute(name = "RaceID", required = true) + protected String raceID; + @XmlAttribute(name = "NetPoints", required = true) + protected BigDecimal netPoints; + @XmlAttribute(name = "TeamPoints", required = true) + protected BigDecimal teamPoints; + @XmlAttribute(name = "RaceRank") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger raceRank; + + /** + * Gets the value of the raceID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRaceID() { + return raceID; + } + + /** + * Sets the value of the raceID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRaceID(String value) { + this.raceID = value; + } + + /** + * Gets the value of the netPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getNetPoints() { + return netPoints; + } + + /** + * Sets the value of the netPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setNetPoints(BigDecimal value) { + this.netPoints = value; + } + + /** + * Gets the value of the teamPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getTeamPoints() { + return teamPoints; + } + + /** + * Sets the value of the teamPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setTeamPoints(BigDecimal value) { + this.teamPoints = value; + } + + /** + * Gets the value of the raceRank property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRaceRank() { + return raceRank; + } + + /** + * Sets the value of the raceRank property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRaceRank(BigInteger value) { + this.raceRank = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRSeriesResult.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRSeriesResult.java new file mode 100755 index 00000000000..0271451133c --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/TRSeriesResult.java @@ -0,0 +1,154 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.math.BigDecimal; +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for TRSeriesResult complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="TRSeriesResult">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="NetPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="TotalPoints" type="{http://www.w3.org/2001/XMLSchema}decimal" />
+ *       <attribute name="Tied" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *       <attribute name="Rank" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRSeriesResult") +public class TRSeriesResult { + + @XmlAttribute(name = "NetPoints") + protected BigDecimal netPoints; + @XmlAttribute(name = "TotalPoints") + protected BigDecimal totalPoints; + @XmlAttribute(name = "Tied") + protected Boolean tied; + @XmlAttribute(name = "Rank", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger rank; + + /** + * Gets the value of the netPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getNetPoints() { + return netPoints; + } + + /** + * Sets the value of the netPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setNetPoints(BigDecimal value) { + this.netPoints = value; + } + + /** + * Gets the value of the totalPoints property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getTotalPoints() { + return totalPoints; + } + + /** + * Sets the value of the totalPoints property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setTotalPoints(BigDecimal value) { + this.totalPoints = value; + } + + /** + * Gets the value of the tied property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isTied() { + if (tied == null) { + return false; + } else { + return tied; + } + } + + /** + * Sets the value of the tied property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setTied(Boolean value) { + this.tied = value; + } + + /** + * Gets the value of the rank property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRank() { + return rank; + } + + /** + * Sets the value of the rank property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRank(BigInteger value) { + this.rank = value; + } + +} diff --git a/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Team.java b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Team.java new file mode 100755 index 00000000000..12adfd1bc88 --- /dev/null +++ b/java/com.sap.sailing.xrr.resultimport/src/com/sap/sailing/xrr/resultimport/schema/Team.java @@ -0,0 +1,212 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2013.03.14 at 03:41:40 PM CET +// + + +package com.sap.sailing.xrr.resultimport.schema; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for Team complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Team">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Crew" type="{}Crew" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="TeamID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="BoatID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="NOC" type="{}IFNationCode" />
+ *       <attribute name="TeamName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="Gender" type="{}EventGender" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Team", propOrder = { + "crew" +}) +public class Team { + + @XmlElement(name = "Crew") + protected List crew; + @XmlAttribute(name = "TeamID", required = true) + protected String teamID; + @XmlAttribute(name = "BoatID", required = true) + protected String boatID; + @XmlAttribute(name = "NOC") + protected IFNationCode noc; + @XmlAttribute(name = "TeamName") + protected String teamName; + @XmlAttribute(name = "Gender") + protected EventGender gender; + + /** + * Gets the value of the crew property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the crew property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getCrew().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Crew } + * + * + */ + public List getCrew() { + if (crew == null) { + crew = new ArrayList(); + } + return this.crew; + } + + /** + * Gets the value of the teamID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTeamID() { + return teamID; + } + + /** + * Sets the value of the teamID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTeamID(String value) { + this.teamID = value; + } + + /** + * Gets the value of the boatID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBoatID() { + return boatID; + } + + /** + * Sets the value of the boatID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBoatID(String value) { + this.boatID = value; + } + + /** + * Gets the value of the noc property. + * + * @return + * possible object is + * {@link IFNationCode } + * + */ + public IFNationCode getNOC() { + return noc; + } + + /** + * Sets the value of the noc property. + * + * @param value + * allowed object is + * {@link IFNationCode } + * + */ + public void setNOC(IFNationCode value) { + this.noc = value; + } + + /** + * Gets the value of the teamName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTeamName() { + return teamName; + } + + /** + * Sets the value of the teamName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTeamName(String value) { + this.teamName = value; + } + + /** + * Gets the value of the gender property. + * + * @return + * possible object is + * {@link EventGender } + * + */ + public EventGender getGender() { + return gender; + } + + /** + * Sets the value of the gender property. + * + * @param value + * allowed object is + * {@link EventGender } + * + */ + public void setGender(EventGender value) { + this.gender = value; + } + +}