Class CircleError

java.lang.Object
org.ivoa.dm.demodm.catalog.SkyError
org.ivoa.dm.demodm.catalog.CircleError
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="DemoDM:catalog.CircleError", role=dataType) public class CircleError extends SkyError implements org.ivoa.vodml.jpa.JPAManipulations
. dataType: CircleError
  • Field Details

    • radius

      @VoDml(id="DemoDM:catalog.CircleError.radius", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double radius
      . : Attribute radius : multiplicity 1
  • Constructor Details

    • CircleError

      public CircleError()
      Creates a new CircleError
    • CircleError

      public CircleError(Double radius)
      full parameter constructor.
      Parameters:
      radius - .
    • CircleError

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

      public CircleError(SkyError superinstance, Double radius)
      Constructor from supertype instance.
      Parameters:
      superinstance - The supertype.
      radius - .
  • Method Details

    • copyMe

      public SkyError copyMe()
      make a clone of the object taking into account current polymorhic type.
      Specified by:
      copyMe in class SkyError
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(CircleError 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.
    • getRadius

      public Double getRadius()
      Returns radius Attribute.
      Returns:
      radius Attribute
    • setRadius

      public void setRadius(Double pRadius)
      Set radius Attribute.
      Parameters:
      pRadius - value to set
    • withRadius

      public CircleError withRadius(Double pRadius)
      fluent setter for radius Attribute.
      Parameters:
      pRadius - value to set
      Returns:
      CircleError
    • createCircleError

      public static CircleError createCircleError(Consumer<CircleError.CircleErrorBuilder> f)
      create a CircleError in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

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