public class GbjGciReport extends Observable implements Cloneable
Customer applications should not directly use this class, but instead use GbjGciObject or GbjObject as appropriate. Note that for many of the public methods, we don't confirm that the client fields are up-to-date if there have been server-side object changes. Many of these methods have versions in GbjGciObject that provide the update before calling the super-version.
The public methods available from this class include:
int Constant --- -------------- -1: OBJTYPE_UNKNOWN 0: OBJTYPE_OOP 1: OBJTYPE_BYTE 2: OBJTYPE_NSC 3: OBJTYPE_SPECIAL
int Constant --- -------------- -1: VALTYPE_UNKNOWN 0: VALTYPE_NULL 1: VALTYPE_BOOLEAN 2: VALTYPE_CHARACTER 3: VALTYPE_LONG 4: VALTYPE_DOUBLE 5: VALTYPE_BYTES 6: VALTYPE_OOPS 7: VALTYPE_STRING 8: VALTYPE_DBSTRING 9: VALTYPE_CALENDAR
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Generate a clone of this GS object.
|
void |
debugPrint(PrintStream out)
Write to printstream a detailed multi-line string describing
the internal structure of this GbjGciReport.
|
boolean |
equals(Object o)
Equals comparison against another java object.
|
int |
getObjType()
Returns an integer representing the type of object
as represented on the GS server.
|
long |
getOop()
Return the oop of this GS object.
|
int |
getValType()
Returns an integer representing the type of java object
cached on the client as representative of the GS server object.
|
int |
hashCode()
Return a hash code value for this object.
|
boolean |
isNil()
Return true if this GS object is NIL.
|
boolean |
isSpecial()
Return true if this GS object is a "special".
|
String |
toString()
Return a short string representing this GbjGciReport
|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
public boolean equals(Object o)
public int hashCode()
public boolean isNil()
public boolean isSpecial()
public long getOop()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void debugPrint(PrintStream out)
public String toString()
public int getObjType()
Possible values include:
int Constant --- --------------- -1: OJTYPE_UNKNOWN 0: OBJTYPE_OOP 1: OBJTYPE_BYTE 2: OBJTYPE_NSC 3: OBJTYPE_SPECIAL
public int getValType()
Possible values include:
int Constant Value retrieval methods --- ---------------- -------------------------------------------------- -1: VALTYPE_UNKNOWN 0: VALTYPE_NULL null 1: VALTYPE_BOOLEAN booleanValue() 2: VALTYPE_CHARACTER charValue() 3: VALTYPE_LONG byteValue(), shortValue(), intValue(), longValue() 4: VALTYPE_DOUBLE floatValue(), doubleValue() 5: VALTYPE_BYTES getBytes() 6: VALTYPE_OOPS getNamedOops(), getOops() 7: VALTYPE_STRING stringValue() 8: VALTYPE_DBSTRING stringValue() 9: VALTYPE_CALENDAR dateValue(), calendarValue()Note that most of the retrieval methods can also be used on objects with object types VALTYPE_STRING or VALTYPE_DBSTRING, if the associated string happens to be formatted correctly for the given type.