Class SavotResource

All Implemented Interfaces:
IDSupport, NameSupport, SimpleTypes

public final class SavotResource extends MarkupComment implements IDSupport, NameSupport

Resource element

Author:
Andre Schaaff
  • Constructor Details

    • SavotResource

      public SavotResource()
      Constructor
  • Method Details

    • init

      public void init()
      init a SavotResource object
    • setDescription

      public void setDescription(String description)
      Set the description
      Parameters:
      description - String
    • getDescription

      public String getDescription()
      Get the description
      Returns:
      a String
    • setCoosys

      public void setCoosys(CoosysSet coosys)
      Deprecated.
      since VOTable 1.2
      Set the Coosys elements
      Parameters:
      coosys -
    • getCoosys

      public CoosysSet getCoosys()
      Deprecated.
      since VOTable 1.2
      Get the Coosys elements
      Returns:
      a CoosysSet object
    • setGroups

      public void setGroups(GroupSet groups)
      Set GROUP element set reference
      Parameters:
      groups -
      Since:
      VOTable 1.2
    • getGroups

      public GroupSet getGroups()
      Get GROUP element set reference
      Returns:
      GroupSet
      Since:
      VOTable 1.2
    • setInfos

      public void setInfos(InfoSet infos)
      Set the Infos elements
      Parameters:
      infos -
    • getInfos

      public InfoSet getInfos()
      Get the Infos elements
      Returns:
      a InfoSet object
    • setParams

      public void setParams(ParamSet params)
      Set the Param elements
      Parameters:
      params -
    • getParams

      public ParamSet getParams()
      Get the Param elements
      Returns:
      a ParamSet object
    • setLinks

      public void setLinks(LinkSet links)
      Set the Link elements
      Parameters:
      links -
    • getLinks

      public LinkSet getLinks()
      Get the Link elements
      Returns:
      a LinkSet object
    • setTables

      public void setTables(TableSet tables)
      Set the Table elements
      Parameters:
      tables -
    • getTables

      public TableSet getTables()
      Get the Table elements
      Returns:
      a TableSet object
    • setResources

      public void setResources(ResourceSet resources)
      Set the Resource elements
      Parameters:
      resources -
    • getResources

      public ResourceSet getResources()
      Get the Resource elements
      Returns:
      a ResourceSet object
    • setInfosAtEnd

      public void setInfosAtEnd(InfoSet infosAtEnd)
      Set the InfosAtEnd elements
      Parameters:
      infosAtEnd -
      Since:
      VOTable 1.2
    • getInfosAtEnd

      public InfoSet getInfosAtEnd()
      Get the InfosAtEnd elements
      Returns:
      a InfoSet object
      Since:
      VOTable 1.2
    • setName

      public void setName(String name)
      Set the name attribute
      Specified by:
      setName in interface NameSupport
      Parameters:
      name - String
    • getName

      public String getName()
      Get the name attribute
      Specified by:
      getName in interface NameSupport
      Returns:
      a String
    • setId

      public void setId(String id)
      Set the id attribute
      Specified by:
      setId in interface IDSupport
      Parameters:
      id - String
    • getId

      public String getId()
      Get the id attribute
      Specified by:
      getId in interface IDSupport
      Returns:
      String
    • setType

      public void setType(String type)
      Set the type attribute
      Parameters:
      type - String (results, meta)
    • getType

      public String getType()
      Get the type attribute
      Returns:
      a String
    • setUtype

      public void setUtype(String utype)
      Set the utype attribute
      Parameters:
      utype - String
    • getUtype

      public String getUtype()
      Get the utype attribute
      Returns:
      a String
    • getTRCount

      public int getTRCount(int tableIndex)
      Get the number of TR object for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      int
    • getTRSet

      public TRSet getTRSet(int tableIndex)
      Get a TRSet object for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      TRSet
    • getTR

      public SavotTR getTR(int tableIndex, int rowIndex)
      Get a TR object for table index tableIndex and the corresponding row index rowIndex of this table (shortcut)
      Parameters:
      tableIndex -
      rowIndex -
      Returns:
      SavotTR
    • getTableCount

      public int getTableCount()
      Return the number of tables contained in the resource this value doesn't contain the tables of included resources (shortcut)
      Returns:
      int
    • getFieldSet

      public FieldSet getFieldSet(int tableIndex)
      Get a FieldSet object for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      FieldSet
    • getLinkSet

      public LinkSet getLinkSet(int tableIndex)
      Get a LinkSet object for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      LinkSet
    • getDescription

      public String getDescription(int tableIndex)
      Get a Description object (String) for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      String
    • getData

      public SavotData getData(int tableIndex)
      Get a SavotData object for table index tableIndex (shortcut)
      Parameters:
      tableIndex -
      Returns:
      SavotData