|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectau.gov.aao.drama.DramaStatus
public class DramaStatus
The DramaStatus class is used to access DRAMA status codes.
Note that the messgen utility can generate status codes as java. See the -j and -J options.
DramaTask| Field Summary | |
|---|---|
static int |
OK
|
static String |
RCSID
The RCS (ACMM) ID. |
| Constructor Summary | |
|---|---|
DramaStatus(int code)
Construct a DramaStatus value from an integer value |
|
| Method Summary | |
|---|---|
boolean |
equals(DramaStatus s)
Tests a status code for equality with another status code Remember that == will only test for a reference to the same object, you must use this member function to test if two objects contain the same code. |
boolean |
equals(int s)
Tests a status code for equality with an integer value. |
int |
toInt()
Convert a status code to an integer value |
String |
toString()
Convert a status code to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String RCSID
public static final int OK
| Constructor Detail |
|---|
public DramaStatus(int code)
code - The interger value to construct the code from.| Method Detail |
|---|
public String toString()
toString in class Objectpublic int toInt()
public boolean equals(DramaStatus s)
s - The status code to complare the object with
public boolean equals(int s)
s - The status code to complare the object with
|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au.