public class GempakParameter extends GridParameter
cf_name, description, name, number, unit| Constructor and Description |
|---|
GempakParameter(int number,
String name,
String description,
String unit,
int scale)
Create a new numeric GEMPAK parameter
|
GempakParameter(int number,
String name,
String description,
String unit,
int scale,
boolean isNumeric)
Create a new GEMPAK parameter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Check for equality
|
int |
getDecimalScale()
Get the decimal scale
|
boolean |
getIsNumeric()
Get whether this is numeric or not
|
int |
hashCode()
Generate a hash code.
|
void |
setIsNumeric(boolean yesorno)
Set whether this is numeric or not
|
String |
toString()
Return a String representation of this object
|
cleanupDescription, getCFname, getDescription, getName, getNumber, getUnit, setDescription, setName, setNumber, setUnitpublic GempakParameter(int number,
String name,
String description,
String unit,
int scale)
number - name - description - unit - of parameterscale - decimal (10E*) scaling factorpublic int getDecimalScale()
public boolean getIsNumeric()
public void setIsNumeric(boolean yesorno)
yesorno - true if numericpublic String toString()
toString in class GridParameterpublic boolean equals(Object o)
equals in class GridParametero - the object in questionpublic int hashCode()
hashCode in class GridParameterCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.