org.eclipse.xtext.common.types
Interface JvmField

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmAnnotationTarget, JvmFeature, JvmIdentifiableElement, JvmMember, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
JvmEnumerationLiteral
All Known Implementing Classes:
JvmEnumerationLiteralImpl, JvmEnumerationLiteralImplCustom, JvmFieldImpl

public interface JvmField
extends JvmFeature

A representation of the model object 'Jvm Field'.

The following features are supported:

See Also:
TypesPackage.getJvmField()
EMF generated code
EMF model element

Method Summary
 JvmTypeReference getType()
          Returns the value of the 'Type' containment reference.
 boolean isFinal()
          Returns the value of the 'Final' attribute.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 void setType(JvmTypeReference value)
          Sets the value of the 'Type' containment reference.
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmMember
getDeclaringType, getIdentifier, getSimpleName, getVisibility, internalSetIdentifier, setDeclaringType, setSimpleName, setVisibility
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getQualifiedName, getQualifiedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

If the meaning of the 'Static' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), TypesPackage.getJvmField_Static()
EMF generated code
EMF model element

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
EMF generated code

isFinal

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

If the meaning of the 'Final' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Final' attribute.
See Also:
setFinal(boolean), TypesPackage.getJvmField_Final()
EMF generated code
EMF model element

setFinal

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

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

getType

JvmTypeReference getType()
Returns the value of the 'Type' containment reference.

If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' containment reference.
See Also:
setType(JvmTypeReference), TypesPackage.getJvmField_Type()
EMF generated code
EMF model element
containment="true" resolveProxies="true"

setType

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

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