Class GuiContextData

    • Field Detail

      • itemType

        private int itemType
      • contextType

        private int contextType
    • Constructor Detail

      • GuiContextData

        GuiContextData()
      • GuiContextData

        public GuiContextData​(int itemType,
                              int contextType)
    • Method Detail

      • getItemType

        public int getItemType()
        Hibernate: property
        column="`item_type`" type="int"
      • setItemType

        void setItemType​(int itemType)
      • getContextType

        public int getContextType()
        Hibernate: property
        column="`context_type`" type="int"
      • setContextType

        void setContextType​(int contextType)
      • equals

        public boolean equals​(Object o)
        Check if this object is equal to another GuiContext object. They are equal if both have the same item type and context type
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Calculate the hash code for the object.
        Overrides:
        hashCode in class Object