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, setUnit
public GempakParameter(int number, java.lang.String name, java.lang.String description, java.lang.String unit, int scale)
number
- name
- description
- unit
- of parameterscale
- decimal (10E*) scaling factorpublic GempakParameter(int number, java.lang.String name, java.lang.String description, java.lang.String unit, int scale, boolean isNumeric)
number
- name
- description
- unit
- 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 GridParameter
public boolean equals(java.lang.Object o)
equals
in class GridParameter
o
- the object in questionpublic int hashCode()
hashCode
in class GridParameter