cfa.vo.sed.dm
Interface IValue

All Known Implementing Classes:
ArrayValue, PointsParam, PosValue, SingleValue

public interface IValue


Method Summary
 void addDataValue(java.lang.Object value, java.lang.String datatype)
           
 java.util.Vector getData()
           
 java.lang.String getDatatype()
           
 java.lang.Object getDataValue(int index)
           
 java.lang.String getName()
          Gets the value of the name property.
 long getSize()
           
 java.lang.String getUCD()
          Gets the value of the UCD property.
 java.lang.String getUnits()
          Gets the value of the units property.
 boolean isConstant()
          Gets the isConstant property.
 boolean isSet()
           
 void setIsConstant(boolean constant)
          Sets the isConstant property.
 void setName(java.lang.String name)
          Sets the value of the name property
 void setUCD(java.lang.String ucd)
          Sets the value of the UCD property
 void setUnits(java.lang.String units)
          Sets the value of the units property
 

Method Detail

isConstant

boolean isConstant()
Gets the isConstant property.

Returns:
boolean

setIsConstant

void setIsConstant(boolean constant)
Sets the isConstant property. Typically should only need to set to true, when necessary. Both implementations of this interface default to isConstant value of false. Might need to use this method when the represented value is part of a set of data points, but is the constant portion of the coordinates.

Parameters:
constant - boolean

getUCD

java.lang.String getUCD()
Gets the value of the UCD property.

Returns:
possible object is String

setUCD

void setUCD(java.lang.String ucd)
Sets the value of the UCD property

Parameters:
ucd - allowed object is String

getName

java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

void setName(java.lang.String name)
Sets the value of the name property

Parameters:
name - allowed object is String

getUnits

java.lang.String getUnits()
Gets the value of the units property.

Returns:
possible object is String

setUnits

void setUnits(java.lang.String units)
Sets the value of the units property

Parameters:
units - allowed object is String

getDatatype

java.lang.String getDatatype()

getData

java.util.Vector getData()

getDataValue

java.lang.Object getDataValue(int index)
                              throws SEDException
Throws:
SEDException

addDataValue

void addDataValue(java.lang.Object value,
                  java.lang.String datatype)

getSize

long getSize()

isSet

boolean isSet()