Enum RItemKind

    • Enum Constant Detail

      • PROPERTY

        public static final RItemKind PROPERTY
      • CONTAINER

        public static final RItemKind CONTAINER
      • OBJECT

        public static final RItemKind OBJECT
      • REFERENCE

        public static final RItemKind REFERENCE
    • Method Detail

      • values

        public static RItemKind[] 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 (RItemKind c : RItemKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RItemKind 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
      • getItemClass

        public Class<? extends Item> getItemClass()
      • getTypeFromItemClass

        public static RItemKind getTypeFromItemClass​(Class<? extends Item> clazz)
      • getTypeFromItemDefinitionClass

        public static RItemKind getTypeFromItemDefinitionClass​(@NotNull
                                                               @NotNull Class<? extends ItemDefinition> clazz)