Package cds.savot.model
Class SavotField
- java.lang.Object
-
- cds.savot.model.SavotBase
-
- cds.savot.model.MarkupComment
-
- cds.savot.model.SavotField
-
- All Implemented Interfaces:
IDSupport,NameSupport,RefSupport,SimpleTypes
public final class SavotField extends MarkupComment implements IDSupport, NameSupport, RefSupport
Field element
- 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
Constructors Constructor Description SavotField()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArraySize()Get arraysize attributejava.lang.StringgetDataType()Get datatype attributejava.lang.StringgetDescription()Get DESCRIPTION contentjava.lang.StringgetId()Get id attributeLinkSetgetLinks()Get LINK elements set referencejava.lang.StringgetName()Get name attributejava.lang.StringgetPrecision()Get precision attributejava.lang.StringgetRef()Get ref attributejava.lang.StringgetType()Get type attributejava.lang.StringgetUcd()Get ucd attributejava.lang.StringgetUnit()Get unit attributejava.lang.StringgetUtype()Get utype attributeSavotValuesgetValues()Get the VALUES elementjava.lang.StringgetWidth()Get width attributeintgetWidthValue()Get width attributejava.lang.StringgetXtype()Get xtype attributevoidsetArraySize(java.lang.String arraysize)Set arraysize attributevoidsetDataType(java.lang.String datatype)Set datatype attributevoidsetDescription(java.lang.String description)Set DESCRIPTION contentvoidsetId(java.lang.String id)Set ID attributevoidsetLinks(LinkSet links)Set LINK elements set referencevoidsetName(java.lang.String name)Set name attributevoidsetPrecision(java.lang.String precision)Set precision attributevoidsetRef(java.lang.String ref)Set ref attributevoidsetType(java.lang.String type)Set type attributevoidsetUcd(java.lang.String ucd)Set ucd attributevoidsetUnit(java.lang.String unit)Set unit attributevoidsetUtype(java.lang.String utype)Set utype attributevoidsetValues(SavotValues values)Set the VALUES elementvoidsetWidth(java.lang.String width)Set width attributevoidsetWidthValue(int width)Set width attributevoidsetXtype(java.lang.String xtype)Set xtype attribute-
Methods inherited from class cds.savot.model.MarkupComment
getAbove, getBelow, setAbove, setBelow
-
-
-
-
Method Detail
-
setId
public void setId(java.lang.String id)
Set ID attribute
-
getId
public java.lang.String getId()
Get id attribute
-
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- Specified by:
setNamein interfaceNameSupport- Parameters:
name-
-
getName
public java.lang.String getName()
Get name attribute- Specified by:
getNamein interfaceNameSupport- 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- Specified by:
setRefin interfaceRefSupport- Parameters:
ref-
-
getRef
public java.lang.String getRef()
Get ref attribute- Specified by:
getRefin interfaceRefSupport- 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-
-
getWidth
public java.lang.String getWidth()
Get width attribute- Returns:
- String
-
setWidthValue
public void setWidthValue(int width)
Set width attribute- Parameters:
width-
-
getWidthValue
public int getWidthValue()
Get width attribute- Returns:
- String
-
setXtype
public void setXtype(java.lang.String xtype)
Set xtype attribute- Parameters:
xtype-- Since:
- VOTable 1.2
-
getXtype
public java.lang.String getXtype()
Get xtype attribute- Returns:
- String
- Since:
- VOTable 1.2
-
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-
-
-