Class ParameterLiteral

java.lang.Object
org.ivoa.dm.pdl.ParameterLiteral
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
Direct Known Subclasses:
BooleanLiteral, IntegerLiteral, JsonLiteral, RealLiteral, StringLiteral, UriLiteral

@MappedSuperclass @VoDml(id="pdl:ParameterLiteral", role=dataType) public abstract class ParameterLiteral extends Object implements org.ivoa.vodml.jpa.JPAManipulations
A typed literal value for parameter defaults and value constraints. dataType: ParameterLiteral
  • Constructor Details

    • ParameterLiteral

      public ParameterLiteral()
      Creates a new ParameterLiteral
    • ParameterLiteral

      public ParameterLiteral(ParameterLiteral 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 ParameterLiteral copyMe()
      make a clone of the object taking into account current polymorhic type.
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(ParameterLiteral 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
    • equals

      public boolean equals(Object o_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object