cds.savot.model
Class SavotField

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

public class SavotField
extends MarkupComment
implements SimpleTypes

Field 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
SavotField()
          Constructor
 
Method Summary
 java.lang.String getArraySize()
          Get arraysize attribute
 java.lang.String getDataType()
          Get datatype attribute
 java.lang.String getDescription()
          Get DESCRIPTION content
 java.lang.String getId()
          Get id attribute
 LinkSet getLinks()
          Get LINK elements set reference
 java.lang.String getName()
          Get name attribute
 java.lang.String getPrecision()
          Get precision attribute
 java.lang.String getRef()
          Get ref attribute
 java.lang.String getType()
          Get type attribute
 java.lang.String getUcd()
          Get ucd attribute
 java.lang.String getUnit()
          Get unit attribute
 java.lang.String getUtype()
          Get utype attribute
 SavotValues getValues()
          Get the VALUES element
 java.lang.String getWidth()
          Get width attribute
 int getWidthValue()
          Get width attribute
 void setArraySize(java.lang.String arraysize)
          Set arraysize attribute
 void setDataType(java.lang.String datatype)
          Set datatype attribute
 void setDescription(java.lang.String description)
          Set DESCRIPTION content
 void setId(java.lang.String id)
          Set ID attribute
 void setLinks(LinkSet links)
          Set LINK elements set reference
 void setName(java.lang.String name)
          Set name attribute
 void setPrecision(java.lang.String precision)
          Set precision attribute
 void setRef(java.lang.String ref)
          Set ref attribute
 void setType(java.lang.String type)
          Set type attribute
 void setUcd(java.lang.String ucd)
          Set ucd attribute
 void setUnit(java.lang.String unit)
          Set unit attribute
 void setUtype(java.lang.String utype)
          Set utype attribute
 void setValues(SavotValues values)
          Set the VALUES element
 void setWidth(java.lang.String width)
          Set width attribute
 void setWidthValue(int width)
          Set width 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

SavotField

public SavotField()
Constructor

Method Detail

setId

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

Parameters:
id -

getId

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

Returns:
String

getUnit

public java.lang.String getUnit()
Get unit attribute

Returns:
String

setUnit

public void setUnit(java.lang.String unit)
Set unit attribute

Parameters:
unit -

getDataType

public java.lang.String getDataType()
Get datatype attribute

Returns:
String

setDataType

public void setDataType(java.lang.String datatype)
Set datatype attribute

Parameters:
datatype - (boolean, bit, unsignedByte, short, int, long, char, unicodeChar, float, double, floatComplex, doubleComplex)

setName

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

Parameters:
name -

getName

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

Returns:
String

setUcd

public void setUcd(java.lang.String ucd)
Set ucd attribute

Parameters:
ucd - ([A-Za-z0-9_.,-]*)

getUcd

public java.lang.String getUcd()
Get ucd attribute

Returns:
String

setRef

public void setRef(java.lang.String ref)
Set ref attribute

Parameters:
ref -

getRef

public java.lang.String getRef()
Get ref attribute

Returns:
String

setPrecision

public void setPrecision(java.lang.String precision)
Set precision attribute

Parameters:
precision - ([EF]?[1-0][0-9]*)

getPrecision

public java.lang.String getPrecision()
Get precision attribute

Returns:
String

setWidth

public void setWidth(java.lang.String width)
Set width attribute

Parameters:
width -

setWidthValue

public void setWidthValue(int width)
Set width attribute

Parameters:
width -

getWidth

public java.lang.String getWidth()
Get width attribute

Returns:
String

getWidthValue

public int getWidthValue()
Get width attribute

Returns:
String

setArraySize

public void setArraySize(java.lang.String arraysize)
Set arraysize attribute

Parameters:
arraysize -

getArraySize

public java.lang.String getArraySize()
Get arraysize attribute

Returns:
String

setType

public void setType(java.lang.String type)
Set type attribute

Parameters:
type - (hidden, no_query, trigger, location) warning : deprecated in VOTable 1.1

getType

public java.lang.String getType()
Get type attribute

Returns:
String warning : deprecated in VOTable 1.1

setUtype

public void setUtype(java.lang.String utype)
Set utype attribute

Parameters:
utype -

getUtype

public java.lang.String getUtype()
Get utype attribute

Returns:
String

setDescription

public void setDescription(java.lang.String description)
Set DESCRIPTION content

Parameters:
description -

getDescription

public java.lang.String getDescription()
Get DESCRIPTION content

Returns:
String

setValues

public void setValues(SavotValues values)
Set the VALUES element

Parameters:
values -

getValues

public SavotValues getValues()
Get the VALUES element

Returns:
SavotValues

getLinks

public LinkSet getLinks()
Get LINK elements set reference

Returns:
LinkSet

setLinks

public void setLinks(LinkSet links)
Set LINK elements set reference

Parameters:
links -


Copyright © 2009 UDS/CNRS