Class MetadataUtils

java.lang.Object
io.jmix.graphql.MetadataUtils

@Component("gql_MetadataUtils") public class MetadataUtils extends Object
  • Field Details

  • Constructor Details

    • MetadataUtils

      public MetadataUtils()
  • Method Details

    • isDateTime

      public static boolean isDateTime(MetaProperty metaProperty)
    • isTime

      public static boolean isTime(MetaProperty metaProperty)
    • isDate

      public static boolean isDate(MetaProperty metaProperty)
    • getDatatypeId

      public static String getDatatypeId(MetaProperty metaProperty)
    • allSupportedMetaClasses

      public List<MetaClass> allSupportedMetaClasses()
    • allEnumJavaClasses

      public List<Class<?>> allEnumJavaClasses()
      Returns:
      enums java classes used in generic model
    • getEnumValues

      public static Enum<?>[] getEnumValues(Class<?> javaType)