Class ItemType


  • @Entity
    public class ItemType
    extends Object
    This class is an example of a parent in a many-to-one, uni-directional relation where the primary key of the child is derived from the primary key of the parent.
    • Field Detail

      • id

        private int id
    • Constructor Detail

      • ItemType

        protected ItemType()
      • ItemType

        public ItemType​(String name)
    • Method Detail

      • getId

        public int getId()
      • getName

        public String getName()
      • setName

        public void setName​(String name)