|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JField
Represents a field declaration.
Method Summary | |
---|---|
java.lang.String |
getInitializer()
Returns the initializer expression for this field. |
java.lang.String |
getType()
Returns the type name of this field. |
void |
setInitializer(java.lang.String initializer)
Sets the initializer expression for this field. |
void |
setType(java.lang.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, setName |
Method Detail |
---|
java.lang.String getInitializer()
Note: The expression does not include a "=
".
null
if this field does
not have an initializervoid setInitializer(java.lang.String initializer)
Note: The expression does not include a "=
".
initializer
- the initializer expression, or null
indicating
the field does not have an initializerjava.lang.String getType()
void setType(java.lang.String typeName)
"String"
, "int[]"
, or "java.io.File"
.
typeName
- the type name
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |