|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a field declaration.
Method Summary | |
String |
getInitializer()
Returns the initializer expression for this field. |
String |
getType()
Returns the type name of this field. |
void |
setInitializer(String initializer)
Sets the initializer expression for this field. |
void |
setType(String typeName)
Sets the type name of this field. |
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JMember |
getComment, setComment |
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode |
getChildren, getContents, getFlags, getName, getParent, getQualifiedName, setFlags |
Method Detail |
public String getInitializer()
Note: The expression does not include a "=
".
null
if this field does
not have an initializerpublic void setInitializer(String initializer)
Note: The expression does not include a "=
".
initializer
- the initializer expression, or null
indicating
the field does not have an initializerpublic String getType()
public void setType(String typeName)
"String"
, "int[]"
, or "java.io.File"
.
typeName
- the type name
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |