org.eclipse.xtext.xtend2.xtend2
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 'Xtend Field'.

The following features are supported:

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

Method Summary
 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 isSetVisibility()
          Returns whether the value of the 'Visibility' attribute is set
 void setExtension(boolean value)
          Sets the value of the 'Extension' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' 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.xtext.xtend2.xtend2.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtext.xtend2.xtend2.XtendAnnotationTarget
getAnnotations
 
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

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), Xtend2Package.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

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), Xtend2Package.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), Xtend2Package.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), Xtend2Package.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