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
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 -
Method Summary
Modifier and TypeMethodDescriptionGet arraysize attributeGet datatype attributeGet DESCRIPTION contentgetId()Get id attributegetLinks()Get LINK elements set referencegetName()Get name attributeGet precision attributegetRef()Get ref attributegetType()Get type attributegetUcd()Get ucd attributegetUnit()Get unit attributegetUtype()Get utype attributeGet the VALUES elementgetWidth()Get width attributeintGet width attributegetXtype()Get xtype attributevoidsetArraySize(String arraysize) Set arraysize attributevoidsetDataType(String datatype) Set datatype attributevoidsetDescription(String description) Set DESCRIPTION contentvoidSet ID attributevoidSet LINK elements set referencevoidSet name attributevoidsetPrecision(String precision) Set precision attributevoidSet ref attributevoidSet type attributevoidSet ucd attributevoidSet unit attributevoidSet utype attributevoidsetValues(SavotValues values) Set the VALUES elementvoidSet width attributevoidsetWidthValue(int width) Set width attributevoidSet xtype attributeMethods inherited from class cds.savot.model.MarkupComment
getAbove, getBelow, setAbove, setBelow
-
Constructor Details
-
SavotField
public SavotField()Constructor
-
-
Method Details
-
setId
Set ID attribute -
getId
Get id attribute -
getUnit
Get unit attribute- Returns:
- String
-
setUnit
Set unit attribute- Parameters:
unit-
-
getDataType
Get datatype attribute- Returns:
- String
-
setDataType
Set datatype attribute- Parameters:
datatype- (boolean, bit, unsignedByte, short, int, long, char, unicodeChar, float, double, floatComplex, doubleComplex)
-
setName
Set name attribute- Specified by:
setNamein interfaceNameSupport- Parameters:
name-
-
getName
Get name attribute- Specified by:
getNamein interfaceNameSupport- Returns:
- String
-
setUcd
Set ucd attribute- Parameters:
ucd- ([A-Za-z0-9_.,-]*)
-
getUcd
Get ucd attribute- Returns:
- String
-
setRef
Set ref attribute- Specified by:
setRefin interfaceRefSupport- Parameters:
ref-
-
getRef
Get ref attribute- Specified by:
getRefin interfaceRefSupport- Returns:
- String
-
setPrecision
Set precision attribute- Parameters:
precision- ([EF]?[1-0][0-9]*)
-
getPrecision
Get precision attribute- Returns:
- String
-
setWidth
Set width attribute- Parameters:
width-
-
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
Set xtype attribute- Parameters:
xtype-- Since:
- VOTable 1.2
-
getXtype
Get xtype attribute- Returns:
- String
- Since:
- VOTable 1.2
-
setArraySize
Set arraysize attribute- Parameters:
arraysize-
-
getArraySize
Get arraysize attribute- Returns:
- String
-
setType
Set type attribute- Parameters:
type- (hidden, no_query, trigger, location) warning : deprecated in VOTable 1.1
-
getType
Get type attribute- Returns:
- String warning : deprecated in VOTable 1.1
-
setUtype
Set utype attribute- Parameters:
utype-
-
getUtype
Get utype attribute- Returns:
- String
-
setDescription
Set DESCRIPTION content- Parameters:
description-
-
getDescription
Get DESCRIPTION content- Returns:
- String
-
setValues
Set the VALUES element- Parameters:
values-
-
getValues
Get the VALUES element- Returns:
- SavotValues
-
getLinks
Get LINK elements set reference- Returns:
- LinkSet
-
setLinks
Set LINK elements set reference- Parameters:
links-
-