|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotArrayAllocation
represents an array allocation
expression. Array allocation expressions are used to create new array
instances and have one of the following forms:
new String[3] new int[5][] new String[] { "Foo", "Bar" }
Field Summary |
Method Summary | |
int |
getDimensions()
Retrieves the dimensions of this array allocation expression. |
JotExpression |
getExpressionAt(int dimension)
Retrieves a dimension expression. |
JotArrayInitializer |
getInitializationExpression()
Retrieves the current array initialiation expression. |
JotExpression |
setExpressionAt(int dimension,
java.lang.String exp)
Sets a dimension expression. |
JotArrayInitializer |
setInitializationExpression(java.lang.String exp)
Sets the array initialization expression. |
Methods inherited from interface oracle.jdeveloper.jot.JotAllocation |
getObjectType, setObjectType |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public int getDimensions()
public JotExpression getExpressionAt(int dimension)
dimension
- the dimension whose expression is required.
public JotExpression setExpressionAt(int dimension, java.lang.String exp)
dimension
- the specifiec dimension indexexp
- the new expression.
JotExpression
public JotArrayInitializer getInitializationExpression()
null
if none is set.public JotArrayInitializer setInitializationExpression(java.lang.String exp)
exp
- the new expression, or null
to remove the expression.
JotArrayInitializer
.
|
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.