caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.
| Modifier and type | Field and description |
|---|---|
| protected static var SarlPackage | modelPackage
The cached model package |
| Modifier and type | Action and description |
|---|---|
| T | caseSarlAction(SarlAction)
Returns the result of interpreting the object as an instance of 'Action'. |
| T | caseSarlAgent(SarlAgent)
Returns the result of interpreting the object as an instance of 'Agent'. |
| T | caseSarlAnnotationType(SarlAnnotationType)
Returns the result of interpreting the object as an instance of 'Annotation Type'. |
| T | caseSarlArtifact(SarlArtifact)
Returns the result of interpreting the object as an instance of 'Artifact'. |
| T | caseSarlAssertExpression(SarlAssertExpression)
Returns the result of interpreting the object as an instance of 'Assert Expression'. |
| T | caseSarlBehavior(SarlBehavior)
Returns the result of interpreting the object as an instance of 'Behavior'. |
| T | caseSarlBehaviorUnit(SarlBehaviorUnit)
Returns the result of interpreting the object as an instance of 'Behavior Unit'. |
| T | caseSarlBreakExpression(SarlBreakExpression)
Returns the result of interpreting the object as an instance of 'Break Expression'. |
| T | caseSarlCapacity(SarlCapacity)
Returns the result of interpreting the object as an instance of 'Capacity'. |
| T | caseSarlCapacityUses(SarlCapacityUses)
Returns the result of interpreting the object as an instance of 'Capacity Uses'. |
| T | caseSarlCastedExpression(SarlCastedExpression)
Returns the result of interpreting the object as an instance of 'Casted Expression'. |
| T | caseSarlClass(SarlClass)
Returns the result of interpreting the object as an instance of 'Class'. |
| T | caseSarlConstructor(SarlConstructor)
Returns the result of interpreting the object as an instance of 'Constructor'. |
| T | caseSarlContinueExpression(SarlContinueExpression)
Returns the result of interpreting the object as an instance of 'Continue Expression'. |
| T | caseSarlEnumeration(SarlEnumeration)
Returns the result of interpreting the object as an instance of 'Enumeration'. |
| T | caseSarlEnumLiteral(SarlEnumLiteral)
Returns the result of interpreting the object as an instance of 'Enum Literal'. |
| T | caseSarlEvent(SarlEvent)
Returns the result of interpreting the object as an instance of 'Event'. |
| T | caseSarlField(SarlField)
Returns the result of interpreting the object as an instance of 'Field'. |
| T | caseSarlFormalParameter(SarlFormalParameter)
Returns the result of interpreting the object as an instance of 'Formal Parameter'. |
| T | caseSarlInterface(SarlInterface)
Returns the result of interpreting the object as an instance of 'Interface'. |
| T | caseSarlRequiredCapacity(SarlRequiredCapacity)
Returns the result of interpreting the object as an instance of 'Required Capacity'. |
| T | caseSarlScript(SarlScript)
Returns the result of interpreting the object as an instance of 'Script'. |
| T | caseSarlSkill(SarlSkill)
Returns the result of interpreting the object as an instance of 'Skill'. |
| T | caseSarlSpace(SarlSpace)
Returns the result of interpreting the object as an instance of 'Space'. |
| T | caseXCastedExpression(XCastedExpression)
Returns the result of interpreting the object as an instance of 'XCasted Expression'. |
| T | caseXExpression(XExpression)
Returns the result of interpreting the object as an instance of 'XExpression'. |
| T | caseXtendAnnotationTarget(XtendAnnotationTarget)
Returns the result of interpreting the object as an instance of 'Annotation Target'. |
| T | caseXtendAnnotationType(XtendAnnotationType)
Returns the result of interpreting the object as an instance of 'Annotation Type'. |
| T | caseXtendClass(XtendClass)
Returns the result of interpreting the object as an instance of 'Class'. |
| T | caseXtendConstructor(XtendConstructor)
Returns the result of interpreting the object as an instance of 'Constructor'. |
| T | caseXtendEnum(XtendEnum)
Returns the result of interpreting the object as an instance of 'Enum'. |
| T | caseXtendEnumLiteral(XtendEnumLiteral)
Returns the result of interpreting the object as an instance of 'Enum Literal'. |
| T | caseXtendExecutable(XtendExecutable)
Returns the result of interpreting the object as an instance of 'Executable'. |
| T | caseXtendField(XtendField)
Returns the result of interpreting the object as an instance of 'Field'. |
| T | caseXtendFile(XtendFile)
Returns the result of interpreting the object as an instance of 'File'. |
| T | caseXtendFunction(XtendFunction)
Returns the result of interpreting the object as an instance of 'Function'. |
| T | caseXtendInterface(XtendInterface)
Returns the result of interpreting the object as an instance of 'Interface'. |
| T | caseXtendMember(XtendMember)
Returns the result of interpreting the object as an instance of 'Member'. |
| T | caseXtendParameter(XtendParameter)
Returns the result of interpreting the object as an instance of 'Parameter'. |
| T | caseXtendTypeDeclaration(XtendTypeDeclaration)
Returns the result of interpreting the object as an instance of 'Type Declaration'. |
| T | defaultCase(EObject)
Returns the result of interpreting the object as an instance of 'EObject'. |
| protected T | doSwitch(int,EObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
| protected boolean | isSwitchFor(EPackage)
Checks whether this is a switch for the given package. |
protected static var modelPackage : SarlPackage
new
def caseSarlAction(SarlAction) : T
def caseSarlAgent(SarlAgent) : T
def caseSarlAnnotationType(SarlAnnotationType) : T
def caseSarlArtifact(SarlArtifact) : T
def caseSarlAssertExpression(SarlAssertExpression) : T
def caseSarlBehavior(SarlBehavior) : T
def caseSarlBehaviorUnit(SarlBehaviorUnit) : T
def caseSarlBreakExpression(SarlBreakExpression) : T
def caseSarlCapacity(SarlCapacity) : T
def caseSarlCapacityUses(SarlCapacityUses) : T
def caseSarlCastedExpression(SarlCastedExpression) : T
def caseSarlClass(SarlClass) : T
def caseSarlConstructor(SarlConstructor) : T
def caseSarlContinueExpression(SarlContinueExpression) : T
def caseSarlEnumeration(SarlEnumeration) : T
def caseSarlEnumLiteral(SarlEnumLiteral) : T
def caseSarlEvent(SarlEvent) : T
def caseSarlField(SarlField) : T
def caseSarlFormalParameter(SarlFormalParameter) : T
def caseSarlInterface(SarlInterface) : T
def caseSarlRequiredCapacity(SarlRequiredCapacity) : T
def caseSarlScript(SarlScript) : T
def caseSarlSkill(SarlSkill) : T
def caseSarlSpace(SarlSpace) : T
def caseXCastedExpression(XCastedExpression) : T
def caseXExpression(XExpression) : T
def caseXtendAnnotationTarget(XtendAnnotationTarget) : T
def caseXtendAnnotationType(XtendAnnotationType) : T
def caseXtendClass(XtendClass) : T
def caseXtendConstructor(XtendConstructor) : T
def caseXtendEnum(XtendEnum) : T
def caseXtendEnumLiteral(XtendEnumLiteral) : T
def caseXtendExecutable(XtendExecutable) : T
def caseXtendField(XtendField) : T
def caseXtendFile(XtendFile) : T
def caseXtendFunction(XtendFunction) : T
def caseXtendInterface(XtendInterface) : T
def caseXtendMember(XtendMember) : T
def caseXtendParameter(XtendParameter) : T
def caseXtendTypeDeclaration(XtendTypeDeclaration) : T
def defaultCase(EObject) : T
protected def doSwitch(int,EObject) : T
caseXXX for each class of the model until one returns a non null result; it yields that result.
protected def isSwitchFor(EPackage) : boolean