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.String
getArraySize()
Get arraysize attributejava.lang.String
getDataType()
Get datatype attributejava.lang.String
getDescription()
Get DESCRIPTION contentjava.lang.String
getId()
Get id attributeLinkSet
getLinks()
Get LINK elements set referencejava.lang.String
getName()
Get name attributejava.lang.String
getPrecision()
Get precision attributejava.lang.String
getRef()
Get ref attributejava.lang.String
getType()
Get type attributejava.lang.String
getUcd()
Get ucd attributejava.lang.String
getUnit()
Get unit attributejava.lang.String
getUtype()
Get utype attributeSavotValues
getValues()
Get the VALUES elementjava.lang.String
getWidth()
Get width attributeint
getWidthValue()
Get width attributejava.lang.String
getXtype()
Get xtype attributevoid
setArraySize(java.lang.String arraysize)
Set arraysize attributevoid
setDataType(java.lang.String datatype)
Set datatype attributevoid
setDescription(java.lang.String description)
Set DESCRIPTION contentvoid
setId(java.lang.String id)
Set ID attributevoid
setLinks(LinkSet links)
Set LINK elements set referencevoid
setName(java.lang.String name)
Set name attributevoid
setPrecision(java.lang.String precision)
Set precision attributevoid
setRef(java.lang.String ref)
Set ref attributevoid
setType(java.lang.String type)
Set type attributevoid
setUcd(java.lang.String ucd)
Set ucd attributevoid
setUnit(java.lang.String unit)
Set unit attributevoid
setUtype(java.lang.String utype)
Set utype attributevoid
setValues(SavotValues values)
Set the VALUES elementvoid
setWidth(java.lang.String width)
Set width attributevoid
setWidthValue(int width)
Set width attributevoid
setXtype(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:
setName
in interfaceNameSupport
- Parameters:
name
-
-
getName
public java.lang.String getName()
Get name attribute- Specified by:
getName
in 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:
setRef
in interfaceRefSupport
- Parameters:
ref
-
-
getRef
public java.lang.String getRef()
Get ref attribute- Specified by:
getRef
in 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
-
-
-