Class SavotResource

    • Constructor Detail

      • SavotResource

        public SavotResource()
        Constructor
    • Method Detail

      • init

        public void init()
        init a SavotResource object
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description
        Parameters:
        description - String
      • getDescription

        public java.lang.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​(java.lang.String name)
        Set the name attribute
        Specified by:
        setName in interface NameSupport
        Parameters:
        name - String
      • getName

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

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

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

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

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

        public void setUtype​(java.lang.String utype)
        Set the utype attribute
        Parameters:
        utype - String
      • getUtype

        public java.lang.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 java.lang.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