public class JDOMJField extends JDOMJMember implements JField
EMPTY_STRING_ARRAY, qualifiedName
Constructor and Description |
---|
JDOMJField(IDOMField field) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInitializer()
Returns the initializer expression for this field.
|
java.lang.String |
getType()
Returns the type name of this field.
|
protected IDOMField |
getWrappedObject() |
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.
|
getComment, getContents, getFlags, setComment, setFlags, splitLastComment
dispose, getChildren, getFacadeHelper, getName, getParent, isDisposed, setFacadeHelper, setName
computeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, getName, getQualifiedName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComment, setComment
getChildren, getContents, getFlags, getName, getParent, getQualifiedName, setFlags, setName
protected IDOMField getWrappedObject()
getWrappedObject
in class JDOMJMember
public java.lang.String getInitializer()
JField
Note: The expression does not include a "=
".
getInitializer
in interface JField
null
if this field does
not have an initializerpublic void setInitializer(java.lang.String initializer)
JField
Note: The expression does not include a "=
".
setInitializer
in interface JField
initializer
- the initializer expression, or null
indicating
the field does not have an initializerpublic java.lang.String getType()
JField
public void setType(java.lang.String typeName)
JField
"String"
, "int[]"
, or "java.io.File"
.