public final class SavotResource extends MarkupComment implements IDSupport, NameSupport
Resource element
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 and Description |
---|
SavotResource()
Constructor
|
Modifier and Type | Method and Description |
---|---|
CoosysSet |
getCoosys()
Deprecated.
since VOTable 1.2
|
SavotData |
getData(int tableIndex)
Get a SavotData object for table index tableIndex (shortcut)
|
java.lang.String |
getDescription()
Get the description
|
java.lang.String |
getDescription(int tableIndex)
Get a Description object (String) for table index tableIndex (shortcut)
|
FieldSet |
getFieldSet(int tableIndex)
Get a FieldSet object for table index tableIndex (shortcut)
|
GroupSet |
getGroups()
Get GROUP element set reference
|
java.lang.String |
getId()
Get the id attribute
|
InfoSet |
getInfos()
Get the Infos elements
|
InfoSet |
getInfosAtEnd()
Get the InfosAtEnd elements
|
LinkSet |
getLinks()
Get the Link elements
|
LinkSet |
getLinkSet(int tableIndex)
Get a LinkSet object for table index tableIndex (shortcut)
|
java.lang.String |
getName()
Get the name attribute
|
ParamSet |
getParams()
Get the Param elements
|
ResourceSet |
getResources()
Get the Resource elements
|
int |
getTableCount()
Return the number of tables contained in the resource this value doesn't
contain the tables of included resources (shortcut)
|
TableSet |
getTables()
Get the Table elements
|
SavotTR |
getTR(int tableIndex,
int rowIndex)
Get a TR object for table index tableIndex and the corresponding row
index rowIndex of this table (shortcut)
|
int |
getTRCount(int tableIndex)
Get the number of TR object for table index tableIndex (shortcut)
|
TRSet |
getTRSet(int tableIndex)
Get a TRSet object for table index tableIndex (shortcut)
|
java.lang.String |
getType()
Get the type attribute
|
java.lang.String |
getUtype()
Get the utype attribute
|
void |
init()
init a SavotResource object
|
void |
setCoosys(CoosysSet coosys)
Deprecated.
since VOTable 1.2
|
void |
setDescription(java.lang.String description)
Set the description
|
void |
setGroups(GroupSet groups)
Set GROUP element set reference
|
void |
setId(java.lang.String id)
Set the id attribute
|
void |
setInfos(InfoSet infos)
Set the Infos elements
|
void |
setInfosAtEnd(InfoSet infosAtEnd)
Set the InfosAtEnd elements
|
void |
setLinks(LinkSet links)
Set the Link elements
|
void |
setName(java.lang.String name)
Set the name attribute
|
void |
setParams(ParamSet params)
Set the Param elements
|
void |
setResources(ResourceSet resources)
Set the Resource elements
|
void |
setTables(TableSet tables)
Set the Table elements
|
void |
setType(java.lang.String type)
Set the type attribute
|
void |
setUtype(java.lang.String utype)
Set the utype attribute
|
getAbove, getBelow, setAbove, setBelow
public void init()
public void setDescription(java.lang.String description)
description
- Stringpublic java.lang.String getDescription()
public void setCoosys(CoosysSet coosys)
coosys
- public CoosysSet getCoosys()
public void setGroups(GroupSet groups)
groups
- public GroupSet getGroups()
public void setInfos(InfoSet infos)
infos
- public InfoSet getInfos()
public void setParams(ParamSet params)
params
- public ParamSet getParams()
public void setLinks(LinkSet links)
links
- public LinkSet getLinks()
public void setTables(TableSet tables)
tables
- public TableSet getTables()
public void setResources(ResourceSet resources)
resources
- public ResourceSet getResources()
public void setInfosAtEnd(InfoSet infosAtEnd)
infosAtEnd
- public InfoSet getInfosAtEnd()
public void setName(java.lang.String name)
setName
in interface NameSupport
name
- Stringpublic java.lang.String getName()
getName
in interface NameSupport
public void setId(java.lang.String id)
public java.lang.String getId()
public void setType(java.lang.String type)
type
- String (results, meta)public java.lang.String getType()
public void setUtype(java.lang.String utype)
utype
- Stringpublic java.lang.String getUtype()
public int getTRCount(int tableIndex)
tableIndex
- public TRSet getTRSet(int tableIndex)
tableIndex
- public SavotTR getTR(int tableIndex, int rowIndex)
tableIndex
- rowIndex
- public int getTableCount()
public FieldSet getFieldSet(int tableIndex)
tableIndex
- public LinkSet getLinkSet(int tableIndex)
tableIndex
- public java.lang.String getDescription(int tableIndex)
tableIndex
- public SavotData getData(int tableIndex)
tableIndex
-