Class Item


  • @Entity
    public class Item
    extends Object
    This class provides an example of a child entity that derives its primary key from the parent/one side of a many-to-one relation.
    • Constructor Detail

      • Item

        protected Item()
      • Item

        public Item​(ItemType itemType,
                    int number)
    • Method Detail

      • getId

        public ItemPK getId()
      • getItemType

        public ItemType getItemType()
      • getCreated

        public Date getCreated()
      • setCreated

        public void setCreated​(Date created)