org.eclipse.xtext.common.types
Interface JvmOperation

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmAnnotationTarget, JvmExecutable, JvmFeature, JvmIdentifiableElement, JvmMember, JvmTypeParameterDeclarator, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
JvmOperationImpl

public interface JvmOperation
extends JvmExecutable

A representation of the model object 'Jvm Operation'.

The following features are supported:

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

Method Summary
 JvmAnnotationValue getDefaultValue()
          Returns the value of the 'Default Value' containment reference.
 JvmTypeReference getReturnType()
          Returns the value of the 'Return Type' containment reference.
 boolean isAbstract()
          Returns the value of the 'Abstract' attribute.
 boolean isFinal()
          Returns the value of the 'Final' attribute.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setAbstract(boolean value)
          Sets the value of the 'Abstract' attribute.
 void setDefaultValue(JvmAnnotationValue value)
          Sets the value of the 'Default Value' containment reference.
 void setFinal(boolean value)
          Sets the value of the 'Final' attribute.
 void setReturnType(JvmTypeReference value)
          Sets the value of the 'Return Type' containment reference.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmExecutable
getExceptions, getParameters, isVarArgs, setVarArgs
 
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
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmTypeParameterDeclarator
getTypeParameters
 

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.getJvmOperation_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.getJvmOperation_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

isAbstract

boolean isAbstract()
Returns the value of the 'Abstract' attribute.

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

Returns:
the value of the 'Abstract' attribute.
See Also:
setAbstract(boolean), TypesPackage.getJvmOperation_Abstract()
EMF generated code
EMF model element

setAbstract

void setAbstract(boolean value)
Sets the value of the 'Abstract' attribute.

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

getReturnType

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

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

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

setReturnType

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

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

getDefaultValue

JvmAnnotationValue getDefaultValue()
Returns the value of the 'Default Value' containment reference.

Returns the default value for the annotation member represented by this JvmOperation instance.

Returns null if no default is associated with the member, or if the operation does not represent a declared member of an annotation type.

Returns:
the value of the 'Default Value' containment reference.
See Also:
setDefaultValue(JvmAnnotationValue), TypesPackage.getJvmOperation_DefaultValue()
EMF generated code
EMF model element
containment="true" resolveProxies="true"

setDefaultValue

void setDefaultValue(JvmAnnotationValue value)
Sets the value of the 'Default Value' containment reference.

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