Class MetaModelResource


  • @OpenApiAll
    public class MetaModelResource
    extends java.lang.Object
    This class is used to retrieve the resources from the metamodel resource bundle files.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BUNDLE_NAME  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getString​(java.lang.Class classType)
      Get localized resource string according the given element class type.
      static java.lang.String getString​(java.lang.String key)
      Get localized resource string according the given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetaModelResource

        public MetaModelResource()
    • Method Detail

      • getString

        public static java.lang.String getString​(java.lang.String key)
        Get localized resource string according the given key.
        Parameters:
        key - key.
        Returns:
        resource string.
      • getString

        public static java.lang.String getString​(java.lang.Class classType)
        Get localized resource string according the given element class type.
        Parameters:
        classType - element class type
        Returns:
        resource string
        See Also:
        ClassTypes