|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.Discipline
public final class Discipline
Class which represents a discipline from a parameter table. Each discipline has a set of categories associated with it. A parameter consists of a discipline( ie Meteorological_products), a Category( ie Temperature ) and a number that refers to a name( ie Temperature) see Parameters.txt
Constructor Summary | |
---|---|
Discipline()
Constructor for Discipline. |
Method Summary | |
---|---|
Category |
getCategory(int cat)
returns a Category for this Discipline given a Category number. |
java.lang.String |
getName()
returns name of this Discipline. |
int |
getNumber()
returns number of this Discipline. |
void |
setCategory(Category cat)
adds a Category to this Discipline. |
void |
setName(java.lang.String name)
sets name of this Discipline. |
void |
setNumber(int number)
sets number of this Discipline. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Discipline()
Method Detail |
---|
public final int getNumber()
public final java.lang.String getName()
public final Category getCategory(int cat)
cat
- category one wants
public final void setNumber(int number)
number
- of this Disciplinepublic final void setName(java.lang.String name)
name
- of this Disciplinepublic final void setCategory(Category cat)
cat
- of this Discipline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |