Class Position


  • @Entity
    public class Position
    extends Object
    This class is an example of an entity that will be referenced from the parent in its relationship through a Map which uses a value unique to that parent.
    • Field Detail

      • id

        private int id
      • position

        private String position
      • player

        private String player
    • Constructor Detail

      • Position

        protected Position()
      • Position

        public Position​(String position,
                        String player)
    • Method Detail

      • getId

        public int getId()
      • getPosition

        public String getPosition()
      • setPosition

        public void setPosition​(String position)
      • getPlayer

        public String getPlayer()
      • setPlayer

        public void setPlayer​(String player)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object