View Javadoc

1   /*
2    * WARNING: Generated code. All changes will be lost upon re-generation.
3    *
4    * Generator org.jdtaus.mojo.resource.util.BundleGenerator 3.3
5    * Template META-INF/templates/Bundle.java.vm
6    * Generated 2012-12-03T21:29:32.015+0100
7    */
8   package org.jdtaus.core.container.ri.client;
9   
10  import java.util.Locale;
11  import java.util.ResourceBundle;
12  import java.text.MessageFormat;
13  
14  /**
15   * Accessor methods for the <code>"org/jdtaus/core/container/ri/client/DefaultModelBundle"</code>
16   * <code>ResourceBundle</code>.
17   */
18  class DefaultModelBundle
19  {
20  
21    /** Singleton instance. */
22    private static final DefaultModelBundle instance =
23      new DefaultModelBundle();
24  
25    /** Creates a new <code>DefaultModelBundle</code> instance. */
26    DefaultModelBundle()
27    {
28      this.getMessage ( "noValidationWarning", Locale.getDefault() );
29      this.getMessage ( "missingImplementation", Locale.getDefault() );
30      this.getMessage ( "invalidMultiplicity", Locale.getDefault() );
31      this.getMessage ( "unresolvedImplementation", Locale.getDefault() );
32      this.getMessage ( "platformModuleDescription", Locale.getDefault() );
33      this.getMessage ( "noPlatformSpecification", Locale.getDefault() );
34      this.getMessage ( "notPublic", Locale.getDefault() );
35      this.getMessage ( "addedPlatformModule", Locale.getDefault() );
36      this.getMessage ( "addedPlatformSpecification", Locale.getDefault() );
37      this.getMessage ( "deprecatedModel", Locale.getDefault() );
38      this.getMessage ( "unsupportedModelversion", Locale.getDefault() );
39      this.getMessage ( "unsupportedMultiplicity", Locale.getDefault() );
40      this.getMessage ( "unsupportedPropertyType", Locale.getDefault() );
41      this.getMessage ( "classNotFound", Locale.getDefault() );
42      this.getMessage ( "unknownNamespace", Locale.getDefault() );
43      this.getMessage ( "invalidVersion", Locale.getDefault() );
44      this.getMessage ( "incompatibleDependency", Locale.getDefault() );
45      this.getMessage ( "providerClassNotFound", Locale.getDefault() );
46      this.getMessage ( "invalidProviderClass", Locale.getDefault() );
47      this.getMessage ( "configuredResource", Locale.getDefault() );
48      this.getMessage ( "incompatibleImplementation", Locale.getDefault() );
49      this.getMessage ( "unsupportedElement", Locale.getDefault() );
50      this.getMessage ( "parseException", Locale.getDefault() );
51      this.getMessage ( "missingAttribute", Locale.getDefault() );
52      this.getMessage ( "unsupportedScope", Locale.getDefault() );
53      this.getMessage ( "propertyValueNotAllowed", Locale.getDefault() );
54      this.getMessage ( "missingPropertyType", Locale.getDefault() );
55      this.getMessage ( "unsupportedArgumentType", Locale.getDefault() );
56      this.getMessage ( "illegalTemplate", Locale.getDefault() );
57      this.getMessage ( "resourceInformation", Locale.getDefault() );
58      this.getMessage ( "unknownVendor", Locale.getDefault() );
59      this.getMessage ( "noVersionAvailable", Locale.getDefault() );
60      this.getMessage ( "noPackageAvailable", Locale.getDefault() );
61      this.getMessage ( "addedDefaultImplementation", Locale.getDefault() );
62      this.getMessage ( "overwrittenDefaultImplementation", Locale.getDefault() );
63      this.getMessage ( "ignoredModule", Locale.getDefault() );
64    }
65  
66    /**
67     * Gets the <code>DefaultModelBundle</code> singleton.
68     *
69     * @return The <code>DefaultModelBundle</code> singleton.
70     */
71    static DefaultModelBundle getInstance()
72    {
73      return instance;
74    }
75  
76    /**
77     * Gets the text of the message with key {@code "noValidationWarning"}.
78     *
79     * @return <blockquote><pre>No JAXP validation available. {0}</pre></blockquote>
80     * <blockquote><pre>Keine JAXP Validierung verfügbar. {0}</pre></blockquote>
81     * 
82     */
83    String getNoValidationWarningMessage
84    (
85        Locale locale
86      , final java.lang.String cause
87    )
88    {
89      if ( locale == null )
90      {
91        locale = Locale.getDefault();
92      }
93  
94      return new MessageFormat( this.getMessage(
95          "noValidationWarning", locale ), locale ).format(
96          new Object[]
97          {
98              cause,
99              null
100         } );
101 
102   }
103   /**
104    * Gets the text of the message with key {@code "missingImplementation"}.
105    *
106    * @return <blockquote><pre>({0}: {1})</pre></blockquote>
107    * <blockquote><pre>({0}: {1})</pre></blockquote>
108    * 
109    */
110   String getMissingImplementationMessage
111   (
112       Locale locale
113     , final java.lang.String implementationIdentifier
114     , final java.lang.String implementationIdentifier2
115   )
116   {
117     if ( locale == null )
118     {
119       locale = Locale.getDefault();
120     }
121 
122     return new MessageFormat( this.getMessage(
123         "missingImplementation", locale ), locale ).format(
124         new Object[]
125         {
126             implementationIdentifier,
127             implementationIdentifier2,
128             null
129         } );
130 
131   }
132   /**
133    * Gets the text of the message with key {@code "invalidMultiplicity"}.
134    *
135    * @return <blockquote><pre>{0} implementations for specification {1} with multiplicity MULTIPLICITY_ONE.</pre></blockquote>
136    * <blockquote><pre>{0} Implementierungen für Spezifikation {1} mit Eigenschaft MULTIPLICITY_ONE.</pre></blockquote>
137    * 
138    */
139   String getInvalidMultiplicityMessage
140   (
141       Locale locale
142     , final java.lang.Number specificationCount
143     , final java.lang.Number specificationIdentifier
144   )
145   {
146     if ( locale == null )
147     {
148       locale = Locale.getDefault();
149     }
150 
151     return new MessageFormat( this.getMessage(
152         "invalidMultiplicity", locale ), locale ).format(
153         new Object[]
154         {
155             specificationCount,
156             specificationIdentifier,
157             null
158         } );
159 
160   }
161   /**
162    * Gets the text of the message with key {@code "unresolvedImplementation"}.
163    *
164    * @return <blockquote><pre>No implementation available.</pre></blockquote>
165    * <blockquote><pre>Keine Implementierung verfügbar.</pre></blockquote>
166    * 
167    */
168   String getUnresolvedImplementationMessage
169   (
170       Locale locale
171   )
172   {
173     if ( locale == null )
174     {
175       locale = Locale.getDefault();
176     }
177 
178     return new MessageFormat( this.getMessage(
179         "unresolvedImplementation", locale ), locale ).format(
180         new Object[]
181         {
182             null
183         } );
184 
185   }
186   /**
187    * Gets the text of the message with key {@code "platformModuleDescription"}.
188    *
189    * @return <blockquote><pre>Module holding any automatically discovered meta-data.</pre></blockquote>
190    * <blockquote><pre>Modul mit automatisch ermittelten Meta-Daten.</pre></blockquote>
191    * 
192    */
193   String getPlatformModuleDescriptionMessage
194   (
195       Locale locale
196   )
197   {
198     if ( locale == null )
199     {
200       locale = Locale.getDefault();
201     }
202 
203     return new MessageFormat( this.getMessage(
204         "platformModuleDescription", locale ), locale ).format(
205         new Object[]
206         {
207             null
208         } );
209 
210   }
211   /**
212    * Gets the text of the message with key {@code "noPlatformSpecification"}.
213    *
214    * @return <blockquote><pre>{0} is no platform specification.</pre></blockquote>
215    * <blockquote><pre>{0} ist keine Plattform-Spezifikation.</pre></blockquote>
216    * 
217    */
218   String getNoPlatformSpecificationMessage
219   (
220       Locale locale
221     , final java.lang.String specificationIdentifier
222   )
223   {
224     if ( locale == null )
225     {
226       locale = Locale.getDefault();
227     }
228 
229     return new MessageFormat( this.getMessage(
230         "noPlatformSpecification", locale ), locale ).format(
231         new Object[]
232         {
233             specificationIdentifier,
234             null
235         } );
236 
237   }
238   /**
239    * Gets the text of the message with key {@code "notPublic"}.
240    *
241    * @return <blockquote><pre>{0} is not declared public.</pre></blockquote>
242    * <blockquote><pre>{0} ist nicht öffentlich zugänglich.</pre></blockquote>
243    * 
244    */
245   String getNotPublicMessage
246   (
247       Locale locale
248     , final java.lang.String specificationIdentifier
249   )
250   {
251     if ( locale == null )
252     {
253       locale = Locale.getDefault();
254     }
255 
256     return new MessageFormat( this.getMessage(
257         "notPublic", locale ), locale ).format(
258         new Object[]
259         {
260             specificationIdentifier,
261             null
262         } );
263 
264   }
265   /**
266    * Gets the text of the message with key {@code "addedPlatformModule"}.
267    *
268    * @return <blockquote><pre>Added {0}.</pre></blockquote>
269    * <blockquote><pre>{0} hinzugefügt.</pre></blockquote>
270    * 
271    */
272   String getAddedPlatformModuleMessage
273   (
274       Locale locale
275     , final java.lang.String platformDescription
276   )
277   {
278     if ( locale == null )
279     {
280       locale = Locale.getDefault();
281     }
282 
283     return new MessageFormat( this.getMessage(
284         "addedPlatformModule", locale ), locale ).format(
285         new Object[]
286         {
287             platformDescription,
288             null
289         } );
290 
291   }
292   /**
293    * Gets the text of the message with key {@code "addedPlatformSpecification"}.
294    *
295    * @return <blockquote><pre>Platform specification {0} discovered automatically. Version {1} - Vendor {2}</pre></blockquote>
296    * <blockquote><pre>Platform-Spezifikation {0} automatisch ermittelt. Version {1} - Hersteller {2}</pre></blockquote>
297    * 
298    */
299   String getAddedPlatformSpecificationMessage
300   (
301       Locale locale
302     , final java.lang.String specificationIdentifier
303     , final java.lang.String specificationVersion
304     , final java.lang.String specificationVendor
305   )
306   {
307     if ( locale == null )
308     {
309       locale = Locale.getDefault();
310     }
311 
312     return new MessageFormat( this.getMessage(
313         "addedPlatformSpecification", locale ), locale ).format(
314         new Object[]
315         {
316             specificationIdentifier,
317             specificationVersion,
318             specificationVendor,
319             null
320         } );
321 
322   }
323   /**
324    * Gets the text of the message with key {@code "deprecatedModel"}.
325    *
326    * @return <blockquote><pre>Processed deprecated model version {0} {1}.</pre></blockquote>
327    * <blockquote><pre>Veraltete Modellversion {0} {1} verarbeitet.</pre></blockquote>
328    * 
329    */
330   String getDeprecatedModelMessage
331   (
332       Locale locale
333     , final java.lang.String deprecatedNamespace
334     , final java.lang.String deprecatedVersion
335   )
336   {
337     if ( locale == null )
338     {
339       locale = Locale.getDefault();
340     }
341 
342     return new MessageFormat( this.getMessage(
343         "deprecatedModel", locale ), locale ).format(
344         new Object[]
345         {
346             deprecatedNamespace,
347             deprecatedVersion,
348             null
349         } );
350 
351   }
352   /**
353    * Gets the text of the message with key {@code "unsupportedModelversion"}.
354    *
355    * @return <blockquote><pre>Unsupported model version {0}.</pre></blockquote>
356    * <blockquote><pre>Keine Unterstützung für Modellversion {0}.</pre></blockquote>
357    * 
358    */
359   String getUnsupportedModelversionMessage
360   (
361       Locale locale
362     , final java.lang.String unsupportedVersion
363   )
364   {
365     if ( locale == null )
366     {
367       locale = Locale.getDefault();
368     }
369 
370     return new MessageFormat( this.getMessage(
371         "unsupportedModelversion", locale ), locale ).format(
372         new Object[]
373         {
374             unsupportedVersion,
375             null
376         } );
377 
378   }
379   /**
380    * Gets the text of the message with key {@code "unsupportedMultiplicity"}.
381    *
382    * @return <blockquote><pre>Unsupported multiplicity {0}.</pre></blockquote>
383    * <blockquote><pre>Keine Unterstützung für Kardinalität {0}.</pre></blockquote>
384    * 
385    */
386   String getUnsupportedMultiplicityMessage
387   (
388       Locale locale
389     , final java.lang.String unsupportedMultiplicity
390   )
391   {
392     if ( locale == null )
393     {
394       locale = Locale.getDefault();
395     }
396 
397     return new MessageFormat( this.getMessage(
398         "unsupportedMultiplicity", locale ), locale ).format(
399         new Object[]
400         {
401             unsupportedMultiplicity,
402             null
403         } );
404 
405   }
406   /**
407    * Gets the text of the message with key {@code "unsupportedPropertyType"}.
408    *
409    * @return <blockquote><pre>Unsupported property type {0}.</pre></blockquote>
410    * <blockquote><pre>Keine Unterstützung für Eigenschaftstyp {0}.</pre></blockquote>
411    * 
412    */
413   String getUnsupportedPropertyTypeMessage
414   (
415       Locale locale
416     , final java.lang.String unsupportedPropertyType
417   )
418   {
419     if ( locale == null )
420     {
421       locale = Locale.getDefault();
422     }
423 
424     return new MessageFormat( this.getMessage(
425         "unsupportedPropertyType", locale ), locale ).format(
426         new Object[]
427         {
428             unsupportedPropertyType,
429             null
430         } );
431 
432   }
433   /**
434    * Gets the text of the message with key {@code "classNotFound"}.
435    *
436    * @return <blockquote><pre>Could not load class {0}.</pre></blockquote>
437    * <blockquote><pre>Klasse {0} konnte nicht geladen werden.</pre></blockquote>
438    * 
439    */
440   String getClassNotFoundMessage
441   (
442       Locale locale
443     , final java.lang.String className
444   )
445   {
446     if ( locale == null )
447     {
448       locale = Locale.getDefault();
449     }
450 
451     return new MessageFormat( this.getMessage(
452         "classNotFound", locale ), locale ).format(
453         new Object[]
454         {
455             className,
456             null
457         } );
458 
459   }
460   /**
461    * Gets the text of the message with key {@code "unknownNamespace"}.
462    *
463    * @return <blockquote><pre>Unknown namespace {0} for document element {1}.</pre></blockquote>
464    * <blockquote><pre>Unbekannter Namensraum {0} für Wurzelelement {1}.</pre></blockquote>
465    * 
466    */
467   String getUnknownNamespaceMessage
468   (
469       Locale locale
470     , final java.lang.String unknownNamespace
471     , final java.lang.String documentElementName
472   )
473   {
474     if ( locale == null )
475     {
476       locale = Locale.getDefault();
477     }
478 
479     return new MessageFormat( this.getMessage(
480         "unknownNamespace", locale ), locale ).format(
481         new Object[]
482         {
483             unknownNamespace,
484             documentElementName,
485             null
486         } );
487 
488   }
489   /**
490    * Gets the text of the message with key {@code "invalidVersion"}.
491    *
492    * @return <blockquote><pre>Invalid version {0} at {1,number}.</pre></blockquote>
493    * <blockquote><pre>Ungültige Version {0} an Stelle {1,number}.</pre></blockquote>
494    * 
495    */
496   String getInvalidVersionMessage
497   (
498       Locale locale
499     , final java.lang.String invalidVersion
500     , final java.lang.Number invalidIndex
501   )
502   {
503     if ( locale == null )
504     {
505       locale = Locale.getDefault();
506     }
507 
508     return new MessageFormat( this.getMessage(
509         "invalidVersion", locale ), locale ).format(
510         new Object[]
511         {
512             invalidVersion,
513             invalidIndex,
514             null
515         } );
516 
517   }
518   /**
519    * Gets the text of the message with key {@code "incompatibleDependency"}.
520    *
521    * @return <blockquote><pre>Implementation "{1}" depends on version "{2}" of specification "{0}". Available specification level is  "{3}".</pre></blockquote>
522    * <blockquote><pre>Implementierung "{1}" hängt von Version "{2}" der Spezifikation "{0}" ab. Verfügbare Spezifikationsstufe ist "{3}".</pre></blockquote>
523    * 
524    */
525   String getIncompatibleDependencyMessage
526   (
527       Locale locale
528     , final java.lang.String specificationIdentifier
529     , final java.lang.String implementationIdentifier
530     , final java.lang.String requiredVersion
531     , final java.lang.String availableVersion
532   )
533   {
534     if ( locale == null )
535     {
536       locale = Locale.getDefault();
537     }
538 
539     return new MessageFormat( this.getMessage(
540         "incompatibleDependency", locale ), locale ).format(
541         new Object[]
542         {
543             specificationIdentifier,
544             implementationIdentifier,
545             requiredVersion,
546             availableVersion,
547             null
548         } );
549 
550   }
551   /**
552    * Gets the text of the message with key {@code "providerClassNotFound"}.
553    *
554    * @return <blockquote><pre>Class {0} defined in {1} not found.</pre></blockquote>
555    * <blockquote><pre>Klasse {0} aus Konfigurationsdatei {1} nicht gefunden.</pre></blockquote>
556    * 
557    */
558   String getProviderClassNotFoundMessage
559   (
560       Locale locale
561     , final java.lang.String className
562     , final java.lang.String fileName
563   )
564   {
565     if ( locale == null )
566     {
567       locale = Locale.getDefault();
568     }
569 
570     return new MessageFormat( this.getMessage(
571         "providerClassNotFound", locale ), locale ).format(
572         new Object[]
573         {
574             className,
575             fileName,
576             null
577         } );
578 
579   }
580   /**
581    * Gets the text of the message with key {@code "invalidProviderClass"}.
582    *
583    * @return <blockquote><pre>Invalid provider class {0}. {1}</pre></blockquote>
584    * <blockquote><pre>Ungültige Providerklasse {0}. {1}</pre></blockquote>
585    * 
586    */
587   String getInvalidProviderClassMessage
588   (
589       Locale locale
590     , final java.lang.String className
591     , final java.lang.String cause
592   )
593   {
594     if ( locale == null )
595     {
596       locale = Locale.getDefault();
597     }
598 
599     return new MessageFormat( this.getMessage(
600         "invalidProviderClass", locale ), locale ).format(
601         new Object[]
602         {
603             className,
604             cause,
605             null
606         } );
607 
608   }
609   /**
610    * Gets the text of the message with key {@code "configuredResource"}.
611    *
612    * @return <blockquote><pre>Resource: {0}</pre></blockquote>
613    * <blockquote><pre>Resource: {0}</pre></blockquote>
614    * 
615    */
616   String getConfiguredResourceMessage
617   (
618       Locale locale
619     , final java.lang.String resourceName
620   )
621   {
622     if ( locale == null )
623     {
624       locale = Locale.getDefault();
625     }
626 
627     return new MessageFormat( this.getMessage(
628         "configuredResource", locale ), locale ).format(
629         new Object[]
630         {
631             resourceName,
632             null
633         } );
634 
635   }
636   /**
637    * Gets the text of the message with key {@code "incompatibleImplementation"}.
638    *
639    * @return <blockquote><pre>Implementation "{0}" implements version "{2}" of specification "{1}". Required implementation level is "{3}".</pre></blockquote>
640    * <blockquote><pre>Implementierung "{0}" implementiert Version "{2}" der Spezifikation "{1}". Benötigte Implementierungsstufe ist "{3}".</pre></blockquote>
641    * 
642    */
643   String getIncompatibleImplementationMessage
644   (
645       Locale locale
646     , final java.lang.String implementationIdentifier
647     , final java.lang.String specificationIdentifier
648     , final java.lang.String implementedVersion
649     , final java.lang.String specifiedVersion
650   )
651   {
652     if ( locale == null )
653     {
654       locale = Locale.getDefault();
655     }
656 
657     return new MessageFormat( this.getMessage(
658         "incompatibleImplementation", locale ), locale ).format(
659         new Object[]
660         {
661             implementationIdentifier,
662             specificationIdentifier,
663             implementedVersion,
664             specifiedVersion,
665             null
666         } );
667 
668   }
669   /**
670    * Gets the text of the message with key {@code "unsupportedElement"}.
671    *
672    * @return <blockquote><pre>Unsupported XML element {0}.</pre></blockquote>
673    * <blockquote><pre>Nicht unterstütztes XML-Element {0}.</pre></blockquote>
674    * 
675    */
676   String getUnsupportedElementMessage
677   (
678       Locale locale
679     , final java.lang.String elementName
680   )
681   {
682     if ( locale == null )
683     {
684       locale = Locale.getDefault();
685     }
686 
687     return new MessageFormat( this.getMessage(
688         "unsupportedElement", locale ), locale ).format(
689         new Object[]
690         {
691             elementName,
692             null
693         } );
694 
695   }
696   /**
697    * Gets the text of the message with key {@code "parseException"}.
698    *
699    * @return <blockquote><pre>Error parsing resource "{0}" at line {2}, column {3}. {1}</pre></blockquote>
700    * <blockquote><pre>Fehler bei der Verarbeitung der Resource "{0}" in Zeile {2}, Spalte {3}. {1}</pre></blockquote>
701    * 
702    */
703   String getParseExceptionMessage
704   (
705       Locale locale
706     , final java.lang.String resourceName
707     , final java.lang.String cause
708     , final java.lang.Number line
709     , final java.lang.Number column
710   )
711   {
712     if ( locale == null )
713     {
714       locale = Locale.getDefault();
715     }
716 
717     return new MessageFormat( this.getMessage(
718         "parseException", locale ), locale ).format(
719         new Object[]
720         {
721             resourceName,
722             cause,
723             line,
724             column,
725             null
726         } );
727 
728   }
729   /**
730    * Gets the text of the message with key {@code "missingAttribute"}.
731    *
732    * @return <blockquote><pre>Attribute "{0}" expected on element "{1}".</pre></blockquote>
733    * <blockquote><pre>Attribut "{0}" für Element "{1}" erwartet.</pre></blockquote>
734    * 
735    */
736   String getMissingAttributeMessage
737   (
738       Locale locale
739     , final java.lang.String attributeName
740     , final java.lang.String elementName
741   )
742   {
743     if ( locale == null )
744     {
745       locale = Locale.getDefault();
746     }
747 
748     return new MessageFormat( this.getMessage(
749         "missingAttribute", locale ), locale ).format(
750         new Object[]
751         {
752             attributeName,
753             elementName,
754             null
755         } );
756 
757   }
758   /**
759    * Gets the text of the message with key {@code "unsupportedScope"}.
760    *
761    * @return <blockquote><pre>Unknown scope "{1}" of specification "{0}".</pre></blockquote>
762    * <blockquote><pre>Unbekannter Geltungsbereich "{1}" der Spezifikation "{0}".</pre></blockquote>
763    * 
764    */
765   String getUnsupportedScopeMessage
766   (
767       Locale locale
768     , final java.lang.String unknownScope
769     , final java.lang.String specificationIdentifier
770   )
771   {
772     if ( locale == null )
773     {
774       locale = Locale.getDefault();
775     }
776 
777     return new MessageFormat( this.getMessage(
778         "unsupportedScope", locale ), locale ).format(
779         new Object[]
780         {
781             unknownScope,
782             specificationIdentifier,
783             null
784         } );
785 
786   }
787   /**
788    * Gets the text of the message with key {@code "propertyValueNotAllowed"}.
789    *
790    * @return <blockquote><pre>No value allowed for property "{1}" of specification "{0}".</pre></blockquote>
791    * <blockquote><pre>Wert für "{1}" Eigenschaft der Spezifikation "{0}" nicht erlaubt.</pre></blockquote>
792    * 
793    */
794   String getPropertyValueNotAllowedMessage
795   (
796       Locale locale
797     , final java.lang.String specificationIdentifier
798     , final java.lang.String propertyName
799   )
800   {
801     if ( locale == null )
802     {
803       locale = Locale.getDefault();
804     }
805 
806     return new MessageFormat( this.getMessage(
807         "propertyValueNotAllowed", locale ), locale ).format(
808         new Object[]
809         {
810             specificationIdentifier,
811             propertyName,
812             null
813         } );
814 
815   }
816   /**
817    * Gets the text of the message with key {@code "missingPropertyType"}.
818    *
819    * @return <blockquote><pre>Property "{0}" of "{1}" has no type.</pre></blockquote>
820    * <blockquote><pre>"{0}" Eigenschaft von "{1}" hat keinen Typ.</pre></blockquote>
821    * 
822    */
823   String getMissingPropertyTypeMessage
824   (
825       Locale locale
826     , final java.lang.String propertyName
827     , final java.lang.String elementName
828   )
829   {
830     if ( locale == null )
831     {
832       locale = Locale.getDefault();
833     }
834 
835     return new MessageFormat( this.getMessage(
836         "missingPropertyType", locale ), locale ).format(
837         new Object[]
838         {
839             propertyName,
840             elementName,
841             null
842         } );
843 
844   }
845   /**
846    * Gets the text of the message with key {@code "unsupportedArgumentType"}.
847    *
848    * @return <blockquote><pre>Unsupported argument type {0}.</pre></blockquote>
849    * <blockquote><pre>Keine Unterstützung für Argument-Typ {0}.</pre></blockquote>
850    * 
851    */
852   String getUnsupportedArgumentTypeMessage
853   (
854       Locale locale
855     , final java.lang.String unsupportedType
856   )
857   {
858     if ( locale == null )
859     {
860       locale = Locale.getDefault();
861     }
862 
863     return new MessageFormat( this.getMessage(
864         "unsupportedArgumentType", locale ), locale ).format(
865         new Object[]
866         {
867             unsupportedType,
868             null
869         } );
870 
871   }
872   /**
873    * Gets the text of the message with key {@code "illegalTemplate"}.
874    *
875    * @return <blockquote><pre>Illegal template "{0}" for message "{1}". {2}</pre></blockquote>
876    * <blockquote><pre>Meldung "{1}" enthält ungültige Textschablone "{0}". {2}</pre></blockquote>
877    * 
878    */
879   String getIllegalTemplateMessage
880   (
881       Locale locale
882     , final java.lang.String template
883     , final java.lang.String messageName
884     , final java.lang.String cause
885   )
886   {
887     if ( locale == null )
888     {
889       locale = Locale.getDefault();
890     }
891 
892     return new MessageFormat( this.getMessage(
893         "illegalTemplate", locale ), locale ).format(
894         new Object[]
895         {
896             template,
897             messageName,
898             cause,
899             null
900         } );
901 
902   }
903   /**
904    * Gets the text of the message with key {@code "resourceInformation"}.
905    *
906    * @return <blockquote><pre>Processing {0}.</pre></blockquote>
907    * <blockquote><pre>Verarbeitet {0}.</pre></blockquote>
908    * 
909    */
910   String getResourceInformationMessage
911   (
912       Locale locale
913     , final java.lang.String resourceLocation
914   )
915   {
916     if ( locale == null )
917     {
918       locale = Locale.getDefault();
919     }
920 
921     return new MessageFormat( this.getMessage(
922         "resourceInformation", locale ), locale ).format(
923         new Object[]
924         {
925             resourceLocation,
926             null
927         } );
928 
929   }
930   /**
931    * Gets the text of the message with key {@code "unknownVendor"}.
932    *
933    * @return <blockquote><pre>No vendor information available.</pre></blockquote>
934    * <blockquote><pre>Keine Hersteller-Informationen verfügbar.</pre></blockquote>
935    * 
936    */
937   String getUnknownVendorMessage
938   (
939       Locale locale
940   )
941   {
942     if ( locale == null )
943     {
944       locale = Locale.getDefault();
945     }
946 
947     return new MessageFormat( this.getMessage(
948         "unknownVendor", locale ), locale ).format(
949         new Object[]
950         {
951             null
952         } );
953 
954   }
955   /**
956    * Gets the text of the message with key {@code "noVersionAvailable"}.
957    *
958    * @return <blockquote><pre>No version information available for {0}.</pre></blockquote>
959    * <blockquote><pre>Keine Versions-Informationen für {0} verfügbar.</pre></blockquote>
960    * 
961    */
962   String getNoVersionAvailableMessage
963   (
964       Locale locale
965     , final java.lang.String className
966   )
967   {
968     if ( locale == null )
969     {
970       locale = Locale.getDefault();
971     }
972 
973     return new MessageFormat( this.getMessage(
974         "noVersionAvailable", locale ), locale ).format(
975         new Object[]
976         {
977             className,
978             null
979         } );
980 
981   }
982   /**
983    * Gets the text of the message with key {@code "noPackageAvailable"}.
984    *
985    * @return <blockquote><pre>No package information available for {0}.</pre></blockquote>
986    * <blockquote><pre>Keine Paket-Informationen für {0} verfügbar.</pre></blockquote>
987    * 
988    */
989   String getNoPackageAvailableMessage
990   (
991       Locale locale
992     , final java.lang.String className
993   )
994   {
995     if ( locale == null )
996     {
997       locale = Locale.getDefault();
998     }
999 
1000     return new MessageFormat( this.getMessage(
1001         "noPackageAvailable", locale ), locale ).format(
1002         new Object[]
1003         {
1004             className,
1005             null
1006         } );
1007 
1008   }
1009   /**
1010    * Gets the text of the message with key {@code "addedDefaultImplementation"}.
1011    *
1012    * @return <blockquote><pre>Default implementation {0} of specification {1} discovered automatically. Version {2} - Vendor {3}</pre></blockquote>
1013    * <blockquote><pre>Standard-Implementierung {0} der Spezifikation {1} automatisch ermittelt. Version {2} - Hersteller {3}</pre></blockquote>
1014    * 
1015    */
1016   String getAddedDefaultImplementationMessage
1017   (
1018       Locale locale
1019     , final java.lang.String implementationIdentifier
1020     , final java.lang.String specificationIdentifier
1021     , final java.lang.String implementationVersion
1022     , final java.lang.String implementationVendor
1023   )
1024   {
1025     if ( locale == null )
1026     {
1027       locale = Locale.getDefault();
1028     }
1029 
1030     return new MessageFormat( this.getMessage(
1031         "addedDefaultImplementation", locale ), locale ).format(
1032         new Object[]
1033         {
1034             implementationIdentifier,
1035             specificationIdentifier,
1036             implementationVersion,
1037             implementationVendor,
1038             null
1039         } );
1040 
1041   }
1042   /**
1043    * Gets the text of the message with key {@code "overwrittenDefaultImplementation"}.
1044    *
1045    * @return <blockquote><pre>Default implementation {0} of specification {1} got overwritten by implementation {2}.</pre></blockquote>
1046    * <blockquote><pre>Standard-Implementierung {0} der Spezifikation {1} wurde mit Implementierung {2} überschrieben.</pre></blockquote>
1047    * 
1048    */
1049   String getOverwrittenDefaultImplementationMessage
1050   (
1051       Locale locale
1052     , final java.lang.String implementationIdentifier
1053     , final java.lang.String specificationIdentifier
1054     , final java.lang.String overwrittenIdentifier
1055   )
1056   {
1057     if ( locale == null )
1058     {
1059       locale = Locale.getDefault();
1060     }
1061 
1062     return new MessageFormat( this.getMessage(
1063         "overwrittenDefaultImplementation", locale ), locale ).format(
1064         new Object[]
1065         {
1066             implementationIdentifier,
1067             specificationIdentifier,
1068             overwrittenIdentifier,
1069             null
1070         } );
1071 
1072   }
1073   /**
1074    * Gets the text of the message with key {@code "ignoredModule"}.
1075    *
1076    * @return <blockquote><pre>Duplicate module resource {0} ignored during running in an application construction environment. Module got already defined in resource {1}.</pre></blockquote>
1077    * <blockquote><pre>Modulressource {0} während der Ausführung in einer Anwendungs-Konstruktions-Umgebung ignoriert. Modul ist bereits in Ressource {1} definiert.</pre></blockquote>
1078    * 
1079    */
1080   String getIgnoredModuleMessage
1081   (
1082       Locale locale
1083     , final java.lang.String duplicateModuleResource
1084     , final java.lang.String definedModuleResource
1085   )
1086   {
1087     if ( locale == null )
1088     {
1089       locale = Locale.getDefault();
1090     }
1091 
1092     return new MessageFormat( this.getMessage(
1093         "ignoredModule", locale ), locale ).format(
1094         new Object[]
1095         {
1096             duplicateModuleResource,
1097             definedModuleResource,
1098             null
1099         } );
1100 
1101   }
1102 
1103   /**
1104    * Gets a message for a given key and locale.
1105    *
1106    * @param key The key of the message to return.
1107    * @param locale The locale of the message.
1108    *
1109    * @return Message for {@code key} using {@code locale}.
1110    */
1111   private String getMessage( final String key, Locale locale )
1112   {
1113     if ( locale == null )
1114     {
1115       locale = Locale.getDefault();
1116     }
1117 
1118     return ResourceBundle.getBundle(
1119         "org/jdtaus/core/container/ri/client/DefaultModelBundle", locale ).
1120         getString( key );
1121 
1122   }
1123 }