|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.VarInfo
public class VarInfo
Class Variable Holds info about track variables
| Constructor Summary | |
|---|---|
VarInfo(String name,
String units)
ctor |
|
VarInfo(String name,
String desc,
String units)
ctor |
|
VarInfo(String name,
String desc,
String category,
Unit unit)
ctor |
|
VarInfo(String name,
String desc,
String category,
Unit unit,
double missingValue)
ctor |
|
VarInfo(String name,
String desc,
Unit unit)
ctor |
|
VarInfo(String name,
Unit unit)
ctor |
|
| Method Summary | |
|---|---|
String |
getCategory()
Get the Category property. |
String |
getDescription()
get desc |
boolean |
getIsNumeric()
Get the IsNumeric property. |
double |
getMissingValue()
Get the MissingValue property. |
String |
getName()
get the name |
RealType |
getRealType()
Get the RealType property. |
String |
getShortName()
get the name |
Unit |
getUnit()
Get the Unit property. |
static VarInfo |
getVarInfo(String variableName,
List<VarInfo> variables)
Utility to find the variable with the given name |
void |
setCategory(String value)
Set the Category property. |
void |
setIsNumeric(boolean value)
Set the IsNumeric property. |
void |
setMissingValue(double value)
Set the MissingValue property. |
void |
setRealType(RealType value)
Set the RealType property. |
void |
setUnit(Unit value)
Set the Unit property. |
String |
toString()
to string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VarInfo(String name,
String desc,
Unit unit)
name - namedesc - descunit - unit
public VarInfo(String name,
String desc,
String category,
Unit unit)
name - namedesc - desccategory - the category of the varunit - unit
public VarInfo(String name,
String desc,
String category,
Unit unit,
double missingValue)
name - namedesc - desccategory - the category of the varunit - unitmissingValue - missing value
public VarInfo(String name,
Unit unit)
name - nameunit - unit
public VarInfo(String name,
String units)
name - nameunits - unit string
public VarInfo(String name,
String desc,
String units)
name - namedesc - descriptionunits - unit string| Method Detail |
|---|
public static VarInfo getVarInfo(String variableName,
List<VarInfo> variables)
variableName - The namevariables - List of variables to look into
public String getName()
public String getShortName()
public String getDescription()
public void setCategory(String value)
value - The new value for Categorypublic String getCategory()
public String toString()
toString in class Objectpublic void setIsNumeric(boolean value)
value - The new value for IsNumericpublic boolean getIsNumeric()
public void setRealType(RealType value)
value - The new value for RealTypepublic RealType getRealType()
public void setUnit(Unit value)
value - The new value for Unitpublic Unit getUnit()
public void setMissingValue(double value)
value - The new value for MissingValuepublic double getMissingValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||