|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grid.GridParameter
public class GridParameter
Class which represents a grid parameter. A parameter consists of a number that can be used to look up in a table, a name( ie Temperature), a description( ie Temperature at 2 meters), and Units( ie K ).
Field Summary | |
---|---|
protected String |
description
description of parameter. |
protected String |
name
name of parameter. |
protected int |
number
parameter number. |
protected String |
unit
unit of Parameter. |
Constructor Summary | |
---|---|
GridParameter()
constructor. |
|
GridParameter(int number,
String name,
String description,
String unit)
constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Check for equality |
String |
getDescription()
description of parameter. |
String |
getName()
name of parameter. |
int |
getNumber()
number of parameter. |
String |
getUnit()
unit of parameter. |
int |
hashCode()
Generate a hash code. |
void |
setDescription(String description)
sets description of parameter. |
void |
setName(String name)
sets name of parameter. |
void |
setNumber(int number)
sets number of parameter. |
void |
setUnit(String unit)
sets unit of parameter. |
String |
toString()
Return a String representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int number
protected String name
protected String description
protected String unit
Constructor Detail |
---|
public GridParameter()
public GridParameter(int number, String name, String description, String unit)
number
- name
- description
- unit
- of parameterMethod Detail |
---|
public final int getNumber()
public final String getName()
public final String getDescription()
public final String getUnit()
public final void setNumber(int number)
number
- of parameterpublic final void setName(String name)
name
- of parameterpublic final void setDescription(String description)
description
- of parameterpublic final void setUnit(String unit)
unit
- of parameterpublic String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
o
- the object in question
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |