Package cds.savot.model
Class SavotResource
java.lang.Object
cds.savot.model.SavotBase
cds.savot.model.MarkupComment
cds.savot.model.SavotResource
- All Implemented Interfaces:
IDSupport,NameSupport,SimpleTypes
Resource element
- Author:
- Andre Schaaff
-
Field Summary
Fields inherited from interface cds.savot.model.SimpleTypes
ACTUAL, BARYCENTRIC, BASE64, BIT, BOOLEAN, CHAR, COOSYSSYSTEM, DATATYPE, DOC, DOUBLE, DOUBLECOMPLEX, DYNAMIC, ECL_FK4, ECL_FK5, ENCODINGTYPE, EQ_FK4, EQ_FK5, FIELDTYPE, FLOAT, FLOATCOMPLEX, GALACTIC, GEO_APP, GZIP, HIDDEN, HINTS, ICRS, INT, LEGAL, LINKCONTENT_ROLE, LOCATION, LONG, META, NO, NO_QUERY, NONE, ONLOAD, ONREQUEST, OTHER, QUERY, RESOURCETYPE, RESULTS, SHORT, STREAMACTUATE, SUPERGALACTIC, TRIGGER, UNICODECHAR, UNSIGNEDBYTE, VALUESTYPE, version, XY, YES, YESNO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since VOTable 1.2getData(int tableIndex) Get a SavotData object for table index tableIndex (shortcut)Get the descriptiongetDescription(int tableIndex) Get a Description object (String) for table index tableIndex (shortcut)getFieldSet(int tableIndex) Get a FieldSet object for table index tableIndex (shortcut)Get GROUP element set referencegetId()Get the id attributegetInfos()Get the Infos elementsGet the InfosAtEnd elementsgetLinks()Get the Link elementsgetLinkSet(int tableIndex) Get a LinkSet object for table index tableIndex (shortcut)getName()Get the name attributeGet the Param elementsGet the Resource elementsintReturn the number of tables contained in the resource this value doesn't contain the tables of included resources (shortcut)Get the Table elementsgetTR(int tableIndex, int rowIndex) Get a TR object for table index tableIndex and the corresponding row index rowIndex of this table (shortcut)intgetTRCount(int tableIndex) Get the number of TR object for table index tableIndex (shortcut)getTRSet(int tableIndex) Get a TRSet object for table index tableIndex (shortcut)getType()Get the type attributegetUtype()Get the utype attributevoidinit()init a SavotResource objectvoidDeprecated.since VOTable 1.2voidsetDescription(String description) Set the descriptionvoidSet GROUP element set referencevoidSet the id attributevoidSet the Infos elementsvoidsetInfosAtEnd(InfoSet infosAtEnd) Set the InfosAtEnd elementsvoidSet the Link elementsvoidSet the name attributevoidSet the Param elementsvoidsetResources(ResourceSet resources) Set the Resource elementsvoidSet the Table elementsvoidSet the type attributevoidSet the utype attributeMethods inherited from class cds.savot.model.MarkupComment
getAbove, getBelow, setAbove, setBelow
-
Constructor Details
-
SavotResource
public SavotResource()Constructor
-
-
Method Details
-
init
public void init()init a SavotResource object -
setDescription
Set the description- Parameters:
description- String
-
getDescription
Get the description- Returns:
- a String
-
setCoosys
Deprecated.since VOTable 1.2Set the Coosys elements- Parameters:
coosys-
-
getCoosys
Deprecated.since VOTable 1.2Get the Coosys elements- Returns:
- a CoosysSet object
-
setGroups
Set GROUP element set reference- Parameters:
groups-- Since:
- VOTable 1.2
-
getGroups
Get GROUP element set reference- Returns:
- GroupSet
- Since:
- VOTable 1.2
-
setInfos
Set the Infos elements- Parameters:
infos-
-
getInfos
Get the Infos elements- Returns:
- a InfoSet object
-
setParams
Set the Param elements- Parameters:
params-
-
getParams
Get the Param elements- Returns:
- a ParamSet object
-
setLinks
Set the Link elements- Parameters:
links-
-
getLinks
Get the Link elements- Returns:
- a LinkSet object
-
setTables
Set the Table elements- Parameters:
tables-
-
getTables
Get the Table elements- Returns:
- a TableSet object
-
setResources
Set the Resource elements- Parameters:
resources-
-
getResources
Get the Resource elements- Returns:
- a ResourceSet object
-
setInfosAtEnd
Set the InfosAtEnd elements- Parameters:
infosAtEnd-- Since:
- VOTable 1.2
-
getInfosAtEnd
Get the InfosAtEnd elements- Returns:
- a InfoSet object
- Since:
- VOTable 1.2
-
setName
Set the name attribute- Specified by:
setNamein interfaceNameSupport- Parameters:
name- String
-
getName
Get the name attribute- Specified by:
getNamein interfaceNameSupport- Returns:
- a String
-
setId
Set the id attribute -
getId
Get the id attribute -
setType
Set the type attribute- Parameters:
type- String (results, meta)
-
getType
Get the type attribute- Returns:
- a String
-
setUtype
Set the utype attribute- Parameters:
utype- 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
Get a TRSet object for table index tableIndex (shortcut)- Parameters:
tableIndex-- Returns:
- TRSet
-
getTR
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
Get a FieldSet object for table index tableIndex (shortcut)- Parameters:
tableIndex-- Returns:
- FieldSet
-
getLinkSet
Get a LinkSet object for table index tableIndex (shortcut)- Parameters:
tableIndex-- Returns:
- LinkSet
-
getDescription
Get a Description object (String) for table index tableIndex (shortcut)- Parameters:
tableIndex-- Returns:
- String
-
getData
Get a SavotData object for table index tableIndex (shortcut)- Parameters:
tableIndex-- Returns:
- SavotData
-