|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grid.GridParameter
ucar.nc2.iosp.gempak.GempakParameter
public class GempakParameter
Class which represents a GEMPAK parameter. Add on decimal scale and numeric flag to the superclass.
| Field Summary |
|---|
| Fields inherited from class ucar.grid.GridParameter |
|---|
description, name, number, unit |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class ucar.grid.GridParameter |
|---|
getDescription, getName, getNumber, getUnit, setDescription, setName, setNumber, setUnit |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 factor
public 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 numeric| Method Detail |
|---|
public int getDecimalScale()
public boolean getIsNumeric()
public void setIsNumeric(boolean yesorno)
yesorno - true if numericpublic java.lang.String toString()
toString in class ucar.grid.GridParameterpublic boolean equals(java.lang.Object o)
equals in class ucar.grid.GridParametero - the object in question
public int hashCode()
hashCode in class ucar.grid.GridParameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||