public interface JField extends JMember
The following features are supported:
JavaPackage.getJField()
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInitializer()
Returns the value of the 'Initializer' attribute
|
java.lang.reflect.Field |
getJavaField()
Returns the value of the 'Java Field' attribute
|
JClass |
getType()
Returns the value of the 'Type' reference
|
boolean |
isFinal()
Returns the value of the 'Final' attribute
|
boolean |
isTransient()
Returns the value of the 'Transient' attribute
|
boolean |
isVolatile()
Returns the value of the 'Volatile' attribute
|
void |
setFinal(boolean value)
Sets the value of the '
Final ' attribute |
void |
setInitializer(java.lang.String value)
Sets the value of the '
Initializer ' attribute |
void |
setJavaField(java.lang.reflect.Field value)
Sets the value of the '
Java Field ' attribute |
void |
setTransient(boolean value)
Sets the value of the '
Transient ' attribute |
void |
setType(JClass value)
Sets the value of the '
Type ' reference |
void |
setVolatile(boolean value)
Sets the value of the '
Volatile ' attribute |
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
getJNode, getName, getQualifiedName, setJNode, setName
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isFinal()
setFinal(boolean)
,
JavaPackage.getJField_Final()
void setFinal(boolean value)
Final
' attribute.
value
- the new value of the 'Final' attribute.isFinal()
boolean isTransient()
setTransient(boolean)
,
JavaPackage.getJField_Transient()
void setTransient(boolean value)
Transient
' attribute.
value
- the new value of the 'Transient' attribute.isTransient()
boolean isVolatile()
setVolatile(boolean)
,
JavaPackage.getJField_Volatile()
void setVolatile(boolean value)
Volatile
' attribute.
value
- the new value of the 'Volatile' attribute.isVolatile()
java.lang.reflect.Field getJavaField()
setJavaField(Field)
,
JavaPackage.getJField_JavaField()
void setJavaField(java.lang.reflect.Field value)
Java Field
' attribute.
value
- the new value of the 'Java Field' attribute.getJavaField()
java.lang.String getInitializer()
setInitializer(String)
,
JavaPackage.getJField_Initializer()
void setInitializer(java.lang.String value)
Initializer
' attribute.
value
- the new value of the 'Initializer' attribute.getInitializer()
JClass getType()
setType(JClass)
,
JavaPackage.getJField_Type()