Package cds.savot.model
Class SavotParam
java.lang.Object
cds.savot.model.SavotBase
cds.savot.model.MarkupComment
cds.savot.model.SavotParam
- All Implemented Interfaces:
IDSupport,NameSupport,RefSupport,SimpleTypes
Param 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 set referencegetName()Get name attributeGet precision attributegetRef()Get ref attributegetUcd()Get ucd attributegetUnit()Get unit attributegetUtype()Get utype attributegetValue()Get value attributeGet 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 set referencevoidSet name attributevoidsetPrecision(String precision) Set precision attributevoidSet ref attributevoidSet ucd attributevoidSet unit attributevoidSet utype attributevoidSet value attributevoidsetValues(SavotValues values) Set VALUES elementvoidSet width attributevoidsetWidthValue(int width) Set width attributevoidSet xtype attributeMethods inherited from class cds.savot.model.MarkupComment
getAbove, getBelow, setAbove, setBelow
-
Constructor Details
-
SavotParam
public SavotParam()Constructor
-
-
Method Details
-
setId
Set ID attribute -
getId
Get id attribute -
setUnit
Set unit attribute- Parameters:
unit-
-
getUnit
Get unit attribute- Returns:
- String
-
setDataType
Set datatype attribute- Parameters:
datatype- (boolean, bit, unsignedByte, short, int, long, char, unicodeChar, float, double, floatComplex, doubleComplex)
-
getDataType
Get datatype attribute- 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-
-
setWidthValue
public void setWidthValue(int width) Set width attribute- Parameters:
width-
-
getWidth
Get width attribute- Returns:
- String
-
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
-
setRef
Set ref attribute- Specified by:
setRefin interfaceRefSupport- Parameters:
ref-
-
getRef
Get ref attribute- Specified by:
getRefin interfaceRefSupport- Returns:
- String
-
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
-
setUtype
Set utype attribute- Parameters:
utype-
-
getUtype
Get utype attribute- Returns:
- String
-
setValue
Set value attribute- Parameters:
value-
-
getValue
Get value attribute- Returns:
- String
-
setArraySize
Set arraysize attribute- Parameters:
arraysize- (([0-9]+x)*[0-9]*[*]?(s\W)?)
-
getArraySize
Get arraysize attribute- Returns:
- String
-
setDescription
Set DESCRIPTION content- Parameters:
description-
-
getDescription
Get DESCRIPTION content- Returns:
- String
-
setValues
Set VALUES element- Parameters:
values-
-
getValues
Get VALUES element- Returns:
- a SavotValues object
-
getLinks
Get Link set reference- Returns:
- a set of LINK elements
-
setLinks
Set Link set reference- Parameters:
links-
-