org.eclipse.mtl
Interface Block

All Superinterfaces:
org.eclipse.ocl.utilities.ASTNode, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.ETypedElement, 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 Subinterfaces:
FileBlock, ForBlock, IfBlock, LetBlock, Macro, ProtectedAreaBlock, Template, TraceBlock
All Known Implementing Classes:
BlockImpl, FileBlockImpl, ForBlockImpl, IfBlockImpl, LetBlockImpl, MacroImpl, ProtectedAreaBlockImpl, TemplateImpl, TraceBlockImpl

public interface Block
extends TemplateExpression

A representation of the model object 'Block'.

The following features are supported:

See Also:
MtlPackage.getBlock()

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.OCLExpression> getBody()
          Returns the value of the 'Body' containment reference list.
 InitSection getInit()
          Returns the value of the 'Init' containment reference.
 void setInit(InitSection value)
          Sets the value of the 'Init' containment reference.
 
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, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 

Method Detail

getInit

InitSection getInit()
Returns the value of the 'Init' containment reference.

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

Returns:
the value of the 'Init' containment reference.
See Also:
setInit(InitSection), MtlPackage.getBlock_Init()

setInit

void setInit(InitSection value)
Sets the value of the 'Init' containment reference.

Parameters:
value - the new value of the 'Init' containment reference.
See Also:
getInit()

getBody

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

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

Returns:
the value of the 'Body' containment reference list.
See Also:
MtlPackage.getBlock_Body()

Copyright 2008 Obeo
All Rights Reserved.