cds.xml
Class VotField

java.lang.Object
  extended bycds.xml.VotField
Direct Known Subclasses:
VotParam, VotStandardField

public class VotField
extends java.lang.Object

This class deals with the common part of the definition of the FIELD and PARAM tags. It is the base class for VotField and VotParam classes.
It should never be used by itself.

Version:
1.0 Apr 2002
Author:
Marc Wenger (CDS)

Field Summary
(package private)  java.lang.String arraysize
           
(package private)  java.lang.String datatype
           
(package private)  java.lang.String description
           
(package private)  boolean done
           
(package private)  java.lang.String id
           
(package private)  java.util.ArrayList link
           
(package private)  java.lang.String name
           
(package private)  java.lang.String precision
           
(package private)  java.lang.String ref
           
(package private)  java.lang.String ucd
           
(package private)  java.lang.String unit
           
(package private)  java.util.ArrayList values
           
(package private)  java.lang.String width
           
 
Constructor Summary
VotField()
           
VotField(java.lang.String id)
           
 
Method Summary
 java.lang.String getArraysize()
           
 java.lang.String getDatatype()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getLink()
           
 java.lang.String getName()
           
 java.lang.String getPrecision()
           
 java.lang.String getRef()
           
 java.lang.String getUcd()
           
 java.lang.String getUnit()
           
 java.lang.String getWidth()
           
 boolean isDone()
           
 VotField set(java.lang.String name, java.lang.String ucd, java.lang.String datatype, java.lang.String unit, java.lang.String prec, java.lang.String width, java.lang.String arraysize)
          Initialisation of most of the parameters characterizing the field/param Any field can be set to null if no value is available
 VotField setArraysize(java.lang.String arrsize)
           
 VotField setDatatype(java.lang.String datatype)
           
 VotField setDescription(java.lang.String txt)
           
 void setDone()
           
 VotField setId(java.lang.String id)
           
 VotField setLink(java.lang.String txt)
           
 VotField setName(java.lang.String name)
           
 VotField setPrecision(java.lang.String prec)
           
 VotField setRef(java.lang.String ref)
           
 VotField setUcd(java.lang.String ucd)
           
 VotField setUnit(java.lang.String unit)
           
 VotField setWidth(java.lang.String width)
           
 
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

ref

java.lang.String ref

name

java.lang.String name

datatype

java.lang.String datatype

ucd

java.lang.String ucd

unit

java.lang.String unit

precision

java.lang.String precision

width

java.lang.String width

arraysize

java.lang.String arraysize

description

java.lang.String description

link

java.util.ArrayList link

values

java.util.ArrayList values

done

boolean done
Constructor Detail

VotField

public VotField()

VotField

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

set

public VotField set(java.lang.String name,
                    java.lang.String ucd,
                    java.lang.String datatype,
                    java.lang.String unit,
                    java.lang.String prec,
                    java.lang.String width,
                    java.lang.String arraysize)
Initialisation of most of the parameters characterizing the field/param Any field can be set to null if no value is available


setId

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

setRef

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

setName

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

setDatatype

public final VotField setDatatype(java.lang.String datatype)

setUcd

public final VotField setUcd(java.lang.String ucd)

setUnit

public final VotField setUnit(java.lang.String unit)

setPrecision

public final VotField setPrecision(java.lang.String prec)

setWidth

public final VotField setWidth(java.lang.String width)

setArraysize

public final VotField setArraysize(java.lang.String arrsize)

setDescription

public final VotField setDescription(java.lang.String txt)

setLink

public VotField setLink(java.lang.String txt)

getId

public final java.lang.String getId()

getRef

public final java.lang.String getRef()

getName

public final java.lang.String getName()

getDatatype

public final java.lang.String getDatatype()

getUcd

public final java.lang.String getUcd()

getUnit

public final java.lang.String getUnit()

getPrecision

public final java.lang.String getPrecision()

getWidth

public final java.lang.String getWidth()

getArraysize

public final java.lang.String getArraysize()

getDescription

public final java.lang.String getDescription()

getLink

public final java.lang.String getLink()

setDone

public final void setDone()

isDone

public final boolean isDone()