|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jpel.language.ExpressionType
Classe usada para fornecer a linguagem a noção de tipos. Por enquanto, a validação de tipo apenas está presente na avaliação de expressões.
Field Summary | |
static jpel.language.ExpressionType |
BOOLEAN
Representa o tipo boolean. |
static jpel.language.ExpressionType |
CHARACTER
Representa o tipo caracter. |
static jpel.language.ExpressionType |
ID
Indica um identificador. |
static jpel.language.ExpressionType |
LIST
Representa o tipo List. |
static jpel.language.ExpressionType |
NUMBER
Representa o tipo numérico. |
static jpel.language.ExpressionType |
OBJECT
Representa o tipo Object. |
static jpel.language.ExpressionType |
STRING
Representa o tipo String. |
static jpel.language.ExpressionType |
UNKNOWN
representa um tipo ainda não conhecido. |
Method Summary | |
boolean |
equivalent(java.lang.Object obj)
|
int |
getType()
|
boolean |
isBoolean()
|
boolean |
isCharacter()
|
boolean |
isId()
|
boolean |
isList()
|
boolean |
isNumber()
|
boolean |
isObject()
|
boolean |
isString()
|
boolean |
isUnknown()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final jpel.language.ExpressionType UNKNOWN
public static final jpel.language.ExpressionType BOOLEAN
public static final jpel.language.ExpressionType NUMBER
public static final jpel.language.ExpressionType CHARACTER
public static final jpel.language.ExpressionType STRING
public static final jpel.language.ExpressionType OBJECT
public static final jpel.language.ExpressionType ID
public static final jpel.language.ExpressionType LIST
Method Detail |
public int getType()
public boolean isUnknown()
public boolean isBoolean()
public boolean isNumber()
public boolean isCharacter()
public boolean isString()
public boolean isObject()
public boolean isId()
public boolean isList()
public boolean equivalent(java.lang.Object obj)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |