Enum PrimitiveType

    • Method Detail

      • values

        public static PrimitiveType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PrimitiveType c : PrimitiveType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PrimitiveType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • customExcludedClasses

        public static Set<String> customExcludedClasses()
        Adds support for custom mapping of classes to primitive types
        Returns:
        Set of custom classes to primitive type
      • customExcludedExternalClasses

        public static Set<String> customExcludedExternalClasses()
        Adds support for custom mapping of classes to primitive types
        Returns:
        Set of custom classes to primitive type
      • customClasses

        public static Map<String,​PrimitiveType> customClasses()
        Adds support for custom mapping of classes to primitive types
        Returns:
        Map of custom classes to primitive type
      • createProperty

        public static Property createProperty​(Type type)
      • createProperty

        public static Property createProperty​(String name)
      • getCommonName

        public static String getCommonName​(Type type)
      • getKeyClass

        public Class<?> getKeyClass()
      • getCommonName

        public String getCommonName()
      • createProperty

        public abstract Property createProperty()