Package uk.ac.starlink.ttools.jel
Interface Constant
-
- All Known Implementing Classes:
FixedConstant
public interface Constant
Defines a typed value. Not necessarily constant in that the value will not change, but in the context of the jel package it is not dependent on the column index.- Since:
- 10 Dec 2007
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
getContentClass()
Returns a class of which this object's value will be an instance.java.lang.Object
getValue()
Returns this object's value.
-
-
-
Method Detail
-
getContentClass
java.lang.Class<?> getContentClass()
Returns a class of which this object's value will be an instance.- Returns:
- content class
-
getValue
java.lang.Object getValue()
Returns this object's value. Not necessarily always the same. Must be an instance ofgetContentClass()
(or null).- Returns:
- value
-
-