public class GempakParameter extends GridParameter
cf_name, description, name, number, unit| Constructor and Description |
|---|
GempakParameter(int number,
java.lang.String name,
java.lang.String description,
java.lang.String unit,
int scale)
Create a new numeric GEMPAK parameter
|
GempakParameter(int number,
java.lang.String name,
java.lang.String description,
java.lang.String unit,
int scale,
boolean isNumeric)
Create a new GEMPAK parameter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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
|
java.lang.String |
toString()
Return a String representation of this object
|
getCFname, getDescription, getName, getNumber, getUnit, setDescription, setName, setNumber, setUnitpublic GempakParameter(int number,
java.lang.String name,
java.lang.String description,
java.lang.String unit,
int scale)
public GempakParameter(int number,
java.lang.String name,
java.lang.String description,
java.lang.String unit,
int scale,
boolean isNumeric)
number - parameter numbername - namedescription - descriptionunit - of parameterscale - decimal (10E*) scaling factorisNumeric - flag for numericpublic int getDecimalScale()
public boolean getIsNumeric()
public void setIsNumeric(boolean yesorno)
yesorno - true if numericpublic java.lang.String toString()
toString in class GridParameterpublic boolean equals(java.lang.Object o)
equals in class GridParametero - the object in questionpublic int hashCode()
hashCode in class GridParameter