cds.savot.model
Class SavotResource

java.lang.Object
  extended by cds.savot.model.MarkupComment
      extended by cds.savot.model.SavotResource
All Implemented Interfaces:
SimpleTypes

public class SavotResource
extends MarkupComment
implements SimpleTypes

Resource element

Version:
2.6 Copyright CDS 2002-2005 (kickoff 31 May 02)
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
SavotResource()
          Constructor
 
Method Summary
 CoosysSet getCoosys()
          Get the Coosys elements
 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)
 java.lang.String getId()
          Get the id attribute
 InfoSet getInfos()
          Get the Infos 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)
          Set the Coosys elements
 void setDescription(java.lang.String description)
          Set the description
 void setId(java.lang.String id)
          Set the id attribute
 void setInfos(InfoSet infos)
          Set the Infos 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
 
Methods inherited from class cds.savot.model.MarkupComment
getAbove, getBelow, setAbove, setBelow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SavotResource

public SavotResource()
Constructor

Method Detail

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)
Set the Coosys elements

Parameters:
coosys -

getCoosys

public CoosysSet getCoosys()
Get the Coosys elements

Returns:
a CoosysSet object

setInfos

public void setInfos(InfoSet infos)
Set the Infos elements

Parameters:
infos -

getInfos

public InfoSet getInfos()
Get the Infos elements

Returns:
a CoosysSet 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

setName

public void setName(java.lang.String name)
Set the name attribute

Parameters:
name - String

getName

public java.lang.String getName()
Get the name attribute

Returns:
a String

setId

public void setId(java.lang.String id)
Set the id attribute

Parameters:
id - String

getId

public java.lang.String getId()
Get the id attribute

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

init

public void init()
init a SavotResource object


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


Copyright © 2009 UDS/CNRS