cds.xml
Class VotTable

java.lang.Object
  extended bycds.xml.VotTable

public class VotTable
extends java.lang.Object


Field Summary
(package private)  java.lang.String description
           
(package private)  SortedHashtable fields
           
(package private)  java.lang.String id
           
(package private)  java.lang.String name
           
(package private)  java.lang.String ref
           
 
Constructor Summary
VotTable()
           
VotTable(java.lang.String id)
           
 
Method Summary
 VotTable addField(int pos, VotField fld)
           
 VotTable addField(VotField fld)
           
 java.lang.String getDescription()
           
 VotMeasurementField getField(int num)
           
 VotMeasurementField getField(java.lang.String name)
           
 VotMeasurementField[] getFields()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getRef()
           
 VotTable set(java.lang.String name, java.lang.String description)
          Initialisation of most of the parameters defining a table Any argument can be set to null if no value is available
 VotTable setDescription(java.lang.String description)
           
 VotTable setId(java.lang.String id)
           
 VotTable setName(java.lang.String name)
           
 VotTable setRef(java.lang.String ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

java.lang.String id

name

java.lang.String name

ref

java.lang.String ref

description

java.lang.String description

fields

SortedHashtable fields
Constructor Detail

VotTable

public VotTable()

VotTable

public VotTable(java.lang.String id)
Method Detail

set

public VotTable set(java.lang.String name,
                    java.lang.String description)
Initialisation of most of the parameters defining a table Any argument can be set to null if no value is available

Parameters:
name - name of the table
description - description of the table
Returns:
the VotTable object

setId

public final VotTable setId(java.lang.String id)

setRef

public final VotTable setRef(java.lang.String ref)

setName

public final VotTable setName(java.lang.String name)

setDescription

public final VotTable setDescription(java.lang.String description)

addField

public final VotTable addField(VotField fld)
                        throws ExistenceException
Throws:
ExistenceException

addField

public final VotTable addField(int pos,
                               VotField fld)
                        throws ExistenceException
Throws:
ExistenceException

getId

public final java.lang.String getId()

getRef

public final java.lang.String getRef()

getName

public final java.lang.String getName()

getDescription

public final java.lang.String getDescription()

getFields

public final VotMeasurementField[] getFields()

getField

public final VotMeasurementField getField(java.lang.String name)

getField

public final VotMeasurementField getField(int num)