|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A JotAssignment represents an assignment expression.
An assignment consists of three parts: a left hand expression, an operator,
and a right hand expression. The left hand expression must be a variable.
The operator is one of =, +=, -=,
*=, /=, %=,
<<=, >>=, >>>=,
&=, |=, or ^=.
The right hand expression is any expression.
| Field Summary |
| Method Summary | |
JotExpression |
getAssignmentExpression()
Retrieves the right hand expression. |
java.lang.String |
getAssignmentOperator()
Retrieves the assignment operator. |
JotExpression |
getVariableExpression()
Retrieves the left hand variable expression. |
java.lang.String |
getVariableName()
Retrieves the left hand variable expression as a string. |
boolean |
isCompoundOperator()
Whether this assignment is using a compound assignment operator. |
void |
setAssignmentExpression(java.lang.String exp)
Sets the right hand expression. |
void |
setAssignmentOperator(java.lang.String oper)
Sets the assignment operator. |
void |
setVariableName(java.lang.String newVar)
Sets the left hand variable expression. |
| Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
| Method Detail |
public JotExpression getVariableExpression()
public java.lang.String getVariableName()
public void setVariableName(java.lang.String newVar)
newVar - the new variable expression.public java.lang.String getAssignmentOperator()
public void setAssignmentOperator(java.lang.String oper)
oper - the new operator.public boolean isCompoundOperator()
false if the assignment operator is
=, true if the operator is any one of the eleven
other operators.public JotExpression getAssignmentExpression()
JotExpression that makes up the
right hand side of the assignment.public void setAssignmentExpression(java.lang.String exp)
exp - the new right hand expression as a String.
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.