Class NormalItem

Object
Item
NormalItem
All Implemented Interfaces:
Serializable, AttributeWrangler, DisplayInterface, ItemWrangler, Ownage

@Entity public class NormalItem extends Item
Author:
maartenl
See Also:
  • Constructor Details

    • NormalItem

      public NormalItem()
      Default constructor. Used by the ORM itself, not by us.
    • NormalItem

      public NormalItem(ItemDefinition itemDefinition)
      Constructor of a normal item with an item definition.
      Parameters:
      itemDefinition - the definition/template of the item.
  • Method Details

    • getCategory

      public ItemCategory getCategory()
      Description copied from class: Item
      Returns the category of the item.
      Specified by:
      getCategory in class Item
      Returns:
      the category of the item.