org.eclipse.emf.java
Interface JField

All Superinterfaces:
EObject, JMember, JModelElement, Notifier
All Known Implementing Classes:
JFieldImpl

public interface JField
extends JMember

A representation of the model object 'JField'.

The following features are supported:

See Also:
JavaPackage.getJField()

Method Summary
 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
 
Methods inherited from interface org.eclipse.emf.java.JMember
getComment, getContainingType, getVisibility, isStatic, setComment, setContainingType, setStatic, setVisibility
 
Methods inherited from interface org.eclipse.emf.java.JModelElement
getJNode, getName, getQualifiedName, setJNode, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isFinal

boolean isFinal()
Returns the value of the 'Final' attribute.

Returns:
the value of the 'Final' attribute.
See Also:
setFinal(boolean), JavaPackage.getJField_Final()

setFinal

void setFinal(boolean value)
Sets the value of the 'Final' attribute.

Parameters:
value - the new value of the 'Final' attribute.
See Also:
isFinal()

isTransient

boolean isTransient()
Returns the value of the 'Transient' attribute.

Returns:
the value of the 'Transient' attribute.
See Also:
setTransient(boolean), JavaPackage.getJField_Transient()

setTransient

void setTransient(boolean value)
Sets the value of the 'Transient' attribute.

Parameters:
value - the new value of the 'Transient' attribute.
See Also:
isTransient()

isVolatile

boolean isVolatile()
Returns the value of the 'Volatile' attribute.

Returns:
the value of the 'Volatile' attribute.
See Also:
setVolatile(boolean), JavaPackage.getJField_Volatile()

setVolatile

void setVolatile(boolean value)
Sets the value of the 'Volatile' attribute.

Parameters:
value - the new value of the 'Volatile' attribute.
See Also:
isVolatile()

getJavaField

java.lang.reflect.Field getJavaField()
Returns the value of the 'Java Field' attribute.

Returns:
the value of the 'Java Field' attribute.
See Also:
setJavaField(Field), JavaPackage.getJField_JavaField()

setJavaField

void setJavaField(java.lang.reflect.Field value)
Sets the value of the 'Java Field' attribute.

Parameters:
value - the new value of the 'Java Field' attribute.
See Also:
getJavaField()

getInitializer

java.lang.String getInitializer()
Returns the value of the 'Initializer' attribute.

Returns:
the value of the 'Initializer' attribute.
See Also:
setInitializer(String), JavaPackage.getJField_Initializer()

setInitializer

void setInitializer(java.lang.String value)
Sets the value of the 'Initializer' attribute.

Parameters:
value - the new value of the 'Initializer' attribute.
See Also:
getInitializer()

getType

JClass getType()
Returns the value of the 'Type' reference.

Returns:
the value of the 'Type' reference.
See Also:
setType(JClass), JavaPackage.getJField_Type()

setType

void setType(JClass value)
Sets the value of the 'Type' reference.

Parameters:
value - the new value of the 'Type' reference.
See Also:
getType()

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.