|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.model.JSCTypes
public abstract class JSCTypes
This enumeration contains all existing JSCData
types. If new
data types are to be added, this class needs to be extended.
Field Summary | |
---|---|
static JSCTypes |
DATE
Contains an single TSDate . |
static JSCTypes |
DRANGE
Contains an single TSDateRange . |
static JSCTypes |
INT
Contains a single Integer . |
static JSCTypes |
MAP
Contains an single arbitrary Object . |
static JSCTypes |
NARRAY
Contains an m x n double array. |
static JSCTypes |
NUMBER
Contains a single Double . |
static JSCTypes |
SARRAY
Contains an m x n String array. |
static JSCTypes |
STRING
Contains a single String . |
static JSCTypes |
VOID
Contains an single arbitrary Object . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Override prevention method to enforce a.equals(b) if and
only if a==b . |
javax.swing.Icon |
getIcon()
Gets the respective icon that visualizes the type. |
int |
hashCode()
Override prevention method invokes super method. |
java.lang.String |
toString()
Gets string representation of this object. |
abstract JSCData |
valueOfEmpty(java.lang.String name)
Gets an empty JSCData instance for the specified type. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final JSCTypes NUMBER
Double
. Represented by
JSCNumber
.
public static final JSCTypes INT
Integer
. Represented by
JSCInt
.
public static final JSCTypes STRING
String
. Represented by
JSCString
.
public static final JSCTypes NARRAY
double
array. Represented by
JSCNArray
.
public static final JSCTypes SARRAY
String
array. Represented by
JSCSArray
.
public static final JSCTypes DATE
TSDate
. Represented by
JSCDate
.
public static final JSCTypes DRANGE
TSDateRange
. Represented by
JSCDRange
.
public static final JSCTypes VOID
Object
. Represented by
JSCVoid
.
public static final JSCTypes MAP
Object
. Represented by
JSCMap
.
Method Detail |
---|
public final boolean equals(java.lang.Object o)
a.equals(b)
if and
only if a==b
.
equals
in class java.lang.Object
o
- object to compare with
true
if equal, false
otherwisepublic javax.swing.Icon getIcon()
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
public abstract JSCData valueOfEmpty(java.lang.String name)
JSCData
instance for the specified type.
Must be implemented by JSCTypes
.
name
- the name of the new instance
isEmpty == true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |