org.eclipse.xtend.core.xtend
Interface XtendField

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, XtendAnnotationTarget, XtendMember
All Known Implementing Classes:
XtendFieldImpl

public interface XtendField
extends XtendMember

A representation of the model object 'Field'.

The following features are supported:

See Also:
XtendPackage.getXtendField()
EMF generated code
EMF model element

Method Summary
 XExpression getInitialValue()
          Returns the value of the 'Initial Value' containment reference.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 JvmTypeReference getType()
          Returns the value of the 'Type' containment reference.
 JvmVisibility getVisibility()
          Returns the value of the 'Visibility' attribute.
 boolean isExtension()
          Returns the value of the 'Extension' attribute.
 boolean isFinal()
          Returns the value of the 'Final' attribute.
 boolean isSetVisibility()
          Returns whether the value of the 'Visibility' attribute is set.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setExtension(boolean value)
          Sets the value of the 'Extension' attribute.
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute.
 void setInitialValue(XExpression value)
          Sets the value of the 'Initial Value' containment reference.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 void setType(JvmTypeReference value)
          Sets the value of the 'Type' containment reference.
 void setVisibility(JvmVisibility value)
          Sets the value of the 'Visibility' attribute.
 void unsetVisibility()
          Unsets the value of the 'Visibility' attribute.
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtend.core.xtend.XtendAnnotationTarget
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
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), XtendPackage.getXtendField_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
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), XtendPackage.getXtendField_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), XtendPackage.getXtendField_Type()
EMF generated code
EMF model element
containment="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

isExtension

boolean isExtension()
Returns the value of the 'Extension' attribute.

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

Returns:
the value of the 'Extension' attribute.
See Also:
setExtension(boolean), XtendPackage.getXtendField_Extension()
EMF generated code
EMF model element

setExtension

void setExtension(boolean value)
Sets the value of the 'Extension' attribute.

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

getVisibility

JvmVisibility getVisibility()
Returns the value of the 'Visibility' attribute. The default value is "PRIVATE". The literals are from the enumeration JvmVisibility.

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

Returns:
the value of the 'Visibility' attribute.
See Also:
JvmVisibility, isSetVisibility(), unsetVisibility(), setVisibility(JvmVisibility), XtendPackage.getXtendField_Visibility()
EMF generated code
EMF model element
default="PRIVATE" unsettable="true"

setVisibility

void setVisibility(JvmVisibility value)
Sets the value of the 'Visibility' attribute.

Parameters:
value - the new value of the 'Visibility' attribute.
See Also:
JvmVisibility, isSetVisibility(), unsetVisibility(), getVisibility()
EMF generated code

unsetVisibility

void unsetVisibility()
Unsets the value of the 'Visibility' attribute.

See Also:
isSetVisibility(), getVisibility(), setVisibility(JvmVisibility)
EMF generated code

isSetVisibility

boolean isSetVisibility()
Returns whether the value of the 'Visibility' attribute is set.

Returns:
whether the value of the 'Visibility' attribute is set.
See Also:
unsetVisibility(), getVisibility(), setVisibility(JvmVisibility)
EMF generated code

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), XtendPackage.getXtendField_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

getInitialValue

XExpression getInitialValue()
Returns the value of the 'Initial Value' containment reference.

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

Returns:
the value of the 'Initial Value' containment reference.
See Also:
setInitialValue(XExpression), XtendPackage.getXtendField_InitialValue()
EMF generated code
EMF model element
containment="true"

setInitialValue

void setInitialValue(XExpression value)
Sets the value of the 'Initial Value' containment reference.

Parameters:
value - the new value of the 'Initial Value' containment reference.
See Also:
getInitialValue()
EMF generated code