Class Shape

java.lang.Object
org.ivoa.dm.adqlgeom.Shape
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
Direct Known Subclasses:
Circle, Polygon

@Embeddable @MappedSuperclass @VoDml(id="adqlgeom:Shape", role=dataType) public abstract class Shape extends Object implements org.ivoa.vodml.jpa.JPAManipulations
base type of all shapes. dataType: Shape
  • Constructor Details

    • Shape

      public Shape()
      Creates a new Shape
    • Shape

      public Shape(Shape other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • copyMe

      public abstract Shape copyMe()
      make a clone of the object taking into account current polymorhic type.
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(Shape other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations