Interface Variable
-
- All Known Subinterfaces:
ApertureVariable,CustomVariable,DynapVariable,GlobalVariable,MadxVariable,TrackVariable,TwissVariable
- All Known Implementing Classes:
CustomVariableImpl,EalignVariables,MadxApertureGlobalVariable,MadxApertureVariable,MadxDynapVariable,MadxGlobalVariable,MadxTrackVariable,MadxTwissVariable,PtcGlobalVariable,PtcTwissVariable
public interface VariableThis is the general interface for a variable. It simple has a name and a unit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()java.lang.StringgetUnit()java.lang.Class<?>getValueClass()the type of the values which this variable represents
-
-
-
Method Detail
-
getName
java.lang.String getName()
- Returns:
- the name of the variable (can be arbitrary)
-
getUnit
java.lang.String getUnit()
- Returns:
- a string, that represents the unit of the variable
-
getValueClass
java.lang.Class<?> getValueClass()
the type of the values which this variable represents- Returns:
- The class of the values
-
-