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 attributeint
Get width attributegetXtype()
Get xtype attributevoid
setArraySize
(String arraysize) Set arraysize attributevoid
setDataType
(String datatype) Set datatype attributevoid
setDescription
(String description) Set DESCRIPTION contentvoid
Set ID attributevoid
Set Link set referencevoid
Set name attributevoid
setPrecision
(String precision) Set precision attributevoid
Set ref attributevoid
Set ucd attributevoid
Set unit attributevoid
Set utype attributevoid
Set value attributevoid
setValues
(SavotValues values) Set VALUES elementvoid
Set width attributevoid
setWidthValue
(int width) Set width attributevoid
Set 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:
setRef
in interfaceRefSupport
- Parameters:
ref
-
-
getRef
Get ref attribute- Specified by:
getRef
in interfaceRefSupport
- Returns:
- String
-
setName
Set name attribute- Specified by:
setName
in interfaceNameSupport
- Parameters:
name
-
-
getName
Get name attribute- Specified by:
getName
in 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
-
-