Class Circle


  • @Entity
    public class Circle
    extends Shape
    This class provides an example of an entity sub-class that is part of a mixed strategy of inheritance. The root base class is a non-entity and the immediate base class uses a join table strategy. That means that a table will be created to hold the unque properties of this class and joined with the parent table.
    • Field Detail

      • radius

        private int radius
    • Constructor Detail

      • Circle

        public Circle()
    • Method Detail

      • getRadius

        public int getRadius()
      • setRadius

        public void setRadius​(int radius)