org.eclipse.mtl
Interface Macro

All Superinterfaces:
org.eclipse.ocl.utilities.ASTNode, Block, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.ETypedElement, ModuleElement, org.eclipse.emf.common.notify.Notifier, org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier>, TemplateExpression, org.eclipse.ocl.utilities.TypedElement<org.eclipse.emf.ecore.EClassifier>, org.eclipse.ocl.utilities.Visitable
All Known Implementing Classes:
MacroImpl

public interface Macro
extends Block, ModuleElement

A representation of the model object 'Macro'.

The following features are supported:

See Also:
MtlPackage.getMacro()

Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.ETypedElement
UNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY
 
Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.ocl.ecore.Variable> getParameter()
          Returns the value of the 'Parameter' containment reference list.
 org.eclipse.emf.ecore.EClassifier getType()
          Returns the value of the 'Type' reference.
 void setType(org.eclipse.emf.ecore.EClassifier value)
          Sets the value of the 'Type' reference.
 
Methods inherited from interface org.eclipse.mtl.Block
getBody, getInit, setInit
 
Methods inherited from interface org.eclipse.emf.ecore.ETypedElement
getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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.ocl.utilities.TypedElement
getName, setName
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
Methods inherited from interface org.eclipse.mtl.ModuleElement
getVisibility, setVisibility
 

Method Detail

getParameter

org.eclipse.emf.common.util.EList<org.eclipse.ocl.ecore.Variable> getParameter()
Returns the value of the 'Parameter' containment reference list. The list contents are of type Variable.

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

Returns:
the value of the 'Parameter' containment reference list.
See Also:
MtlPackage.getMacro_Parameter()

getType

org.eclipse.emf.ecore.EClassifier getType()
Returns the value of the 'Type' reference.

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

Specified by:
getType in interface org.eclipse.ocl.utilities.TypedElement<org.eclipse.emf.ecore.EClassifier>
Returns:
the value of the 'Type' reference.
See Also:
setType(EClassifier), MtlPackage.getMacro_Type()

setType

void setType(org.eclipse.emf.ecore.EClassifier value)
Sets the value of the 'Type' reference.

Specified by:
setType in interface org.eclipse.ocl.utilities.TypedElement<org.eclipse.emf.ecore.EClassifier>
Parameters:
value - the new value of the 'Type' reference.
See Also:
getType()

Copyright 2008 Obeo
All Rights Reserved.