Class FieldRefElement

All Implemented Interfaces:
Element, Node

public class FieldRefElement extends VOElement
Object representing a FIELDref element.
Since:
16 Sep 2004
Author:
Mark Taylor (Starlink)
  • Method Details

    • getField

      public FieldElement getField()
      Returns the FIELD element referenced by this FIELDref. If this element has no ref attribute, or if it doesn't refer to a FIELD element (neither of which ought to happen for a sensible document) then null is returned.
      Returns:
      referent FIELD
    • getUcd

      public String getUcd()
      Returns the value of the ucd attribute, or null if there is none. Note that (since VOTable 1.2) this may differ from the ucd of the referenced FIELD.
      Returns:
      the ucd string
      See Also:
      • UCD
    • getUtype

      public String getUtype()
      Returns the value of the utype attribute, or null if there is none. Note that (since VOTable 1.2) this may differ from the utype of the referenced FIELD.
      Returns:
      the utype string