Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
TDL Open Source
TOP IDE
Compare revisions
8de2be31dfb28d8c73b10cca87310fc2c6a2585d...f3d706781575163643acc7cb48adf3938540d12d
Hide whitespace changes
Inline
Side-by-side
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/EnumDataTypeImpl.java
View file @
f3d70678
...
...
@@ -72,7 +72,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
EList
<
SimpleDataInstance
>
getValue
()
{
if
(
value
==
null
)
{
if
(
value
==
null
)
{
value
=
new
EObjectContainmentEList
<
SimpleDataInstance
>(
SimpleDataInstance
.
class
,
this
,
tdlPackage
.
ENUM_DATA_TYPE__VALUE
);
}
return
value
;
...
...
@@ -86,7 +87,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
ENUM_DATA_TYPE__VALUE
:
return
((
InternalEList
<?>)
getValue
()).
basicRemove
(
otherEnd
,
msgs
);
}
...
...
@@ -101,7 +103,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
ENUM_DATA_TYPE__VALUE
:
return
getValue
();
}
...
...
@@ -117,7 +120,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
ENUM_DATA_TYPE__VALUE
:
getValue
().
clear
();
getValue
().
addAll
((
Collection
<?
extends
SimpleDataInstance
>)
newValue
);
...
...
@@ -134,7 +138,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
ENUM_DATA_TYPE__VALUE
:
getValue
().
clear
();
return
;
...
...
@@ -150,7 +155,8 @@ public class EnumDataTypeImpl extends SimpleDataTypeImpl implements EnumDataType
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
ENUM_DATA_TYPE__VALUE
:
return
value
!=
null
&&
!
value
.
isEmpty
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/ExceptionalBehaviourImpl.java
View file @
f3d70678
...
...
@@ -99,7 +99,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
{
Block
oldBlock
=
block
;
block
=
newBlock
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
,
oldBlock
,
newBlock
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -114,7 +115,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
void
setBlock
(
Block
newBlock
)
{
if
(
newBlock
!=
block
)
{
if
(
newBlock
!=
block
)
{
NotificationChain
msgs
=
null
;
if
(
block
!=
null
)
msgs
=
((
InternalEObject
)
block
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
,
null
,
msgs
);
...
...
@@ -135,10 +137,12 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
ComponentInstance
getGuardedComponent
()
{
if
(
guardedComponent
!=
null
&&
guardedComponent
.
eIsProxy
())
{
if
(
guardedComponent
!=
null
&&
guardedComponent
.
eIsProxy
())
{
InternalEObject
oldGuardedComponent
=
(
InternalEObject
)
guardedComponent
;
guardedComponent
=
(
ComponentInstance
)
eResolveProxy
(
oldGuardedComponent
);
if
(
guardedComponent
!=
oldGuardedComponent
)
{
if
(
guardedComponent
!=
oldGuardedComponent
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__GUARDED_COMPONENT
,
oldGuardedComponent
,
guardedComponent
));
}
...
...
@@ -189,10 +193,12 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
EList
<
ComponentInstance
>
getParticipatingComponents
()
{
try
{
try
{
return
(
EList
<
ComponentInstance
>)
GET_PARTICIPATING_COMPONENTS__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -205,7 +211,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
:
return
basicSetBlock
(
null
,
msgs
);
}
...
...
@@ -220,7 +227,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
:
return
getBlock
();
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__GUARDED_COMPONENT
:
...
...
@@ -238,7 +246,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
:
setBlock
((
Block
)
newValue
);
return
;
...
...
@@ -257,7 +266,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
:
setBlock
((
Block
)
null
);
return
;
...
...
@@ -276,7 +286,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__BLOCK
:
return
block
!=
null
;
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR__GUARDED_COMPONENT
:
...
...
@@ -293,8 +304,10 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -310,7 +323,8 @@ public abstract class ExceptionalBehaviourImpl extends BehaviourImpl implements
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
EXCEPTIONAL_BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
getParticipatingComponents
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/ExtensionImpl.java
View file @
f3d70678
...
...
@@ -74,10 +74,12 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
PackageableElement
getExtending
()
{
if
(
extending
!=
null
&&
extending
.
eIsProxy
())
{
if
(
extending
!=
null
&&
extending
.
eIsProxy
())
{
InternalEObject
oldExtending
=
(
InternalEObject
)
extending
;
extending
=
(
PackageableElement
)
eResolveProxy
(
oldExtending
);
if
(
extending
!=
oldExtending
)
{
if
(
extending
!=
oldExtending
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
EXTENSION__EXTENDING
,
oldExtending
,
extending
));
}
...
...
@@ -128,10 +130,12 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
EList
<
Extension
>
transitiveExtending
()
{
try
{
try
{
return
(
EList
<
Extension
>)
TRANSITIVE_EXTENDING__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -154,10 +158,12 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
Boolean
isExtending
(
PackageableElement
e
)
{
try
{
try
{
return
(
Boolean
)
IS_EXTENDING_PACKAGEABLE_ELEMENT__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
new
BasicEList
.
UnmodifiableEList
<
Object
>(
1
,
new
Object
[]{
e
}));
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -170,7 +176,8 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXTENSION__EXTENDING
:
if
(
resolve
)
return
getExtending
();
return
basicGetExtending
();
...
...
@@ -186,7 +193,8 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXTENSION__EXTENDING
:
setExtending
((
PackageableElement
)
newValue
);
return
;
...
...
@@ -202,7 +210,8 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXTENSION__EXTENDING
:
setExtending
((
PackageableElement
)
null
);
return
;
...
...
@@ -218,7 +227,8 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
EXTENSION__EXTENDING
:
return
extending
!=
null
;
}
...
...
@@ -233,7 +243,8 @@ public class ExtensionImpl extends ElementImpl implements Extension
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
EXTENSION___TRANSITIVE_EXTENDING
:
return
transitiveExtending
();
case
tdlPackage
.
EXTENSION___IS_EXTENDING__PACKAGEABLEELEMENT
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/FormalParameterUseImpl.java
View file @
f3d70678
...
...
@@ -75,10 +75,12 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
FormalParameter
getParameter
()
{
if
(
parameter
!=
null
&&
parameter
.
eIsProxy
())
{
if
(
parameter
!=
null
&&
parameter
.
eIsProxy
())
{
InternalEObject
oldParameter
=
(
InternalEObject
)
parameter
;
parameter
=
(
FormalParameter
)
eResolveProxy
(
oldParameter
);
if
(
parameter
!=
oldParameter
)
{
if
(
parameter
!=
oldParameter
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
FORMAL_PARAMETER_USE__PARAMETER
,
oldParameter
,
parameter
));
}
...
...
@@ -128,10 +130,12 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
DataType
resolveDataType
()
{
try
{
try
{
return
(
DataType
)
RESOLVE_DATA_TYPE__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -144,7 +148,8 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FORMAL_PARAMETER_USE__PARAMETER
:
if
(
resolve
)
return
getParameter
();
return
basicGetParameter
();
...
...
@@ -160,7 +165,8 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FORMAL_PARAMETER_USE__PARAMETER
:
setParameter
((
FormalParameter
)
newValue
);
return
;
...
...
@@ -176,7 +182,8 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FORMAL_PARAMETER_USE__PARAMETER
:
setParameter
((
FormalParameter
)
null
);
return
;
...
...
@@ -192,7 +199,8 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FORMAL_PARAMETER_USE__PARAMETER
:
return
parameter
!=
null
;
}
...
...
@@ -207,8 +215,10 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
DATA_USE___RESOLVE_DATA_TYPE
:
return
tdlPackage
.
FORMAL_PARAMETER_USE___RESOLVE_DATA_TYPE
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -224,7 +234,8 @@ public class FormalParameterUseImpl extends DynamicDataUseImpl implements Formal
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
FORMAL_PARAMETER_USE___RESOLVE_DATA_TYPE
:
return
resolveDataType
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/FunctionCallImpl.java
View file @
f3d70678
...
...
@@ -75,10 +75,12 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
Function
getFunction
()
{
if
(
function
!=
null
&&
function
.
eIsProxy
())
{
if
(
function
!=
null
&&
function
.
eIsProxy
())
{
InternalEObject
oldFunction
=
(
InternalEObject
)
function
;
function
=
(
Function
)
eResolveProxy
(
oldFunction
);
if
(
function
!=
oldFunction
)
{
if
(
function
!=
oldFunction
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
FUNCTION_CALL__FUNCTION
,
oldFunction
,
function
));
}
...
...
@@ -128,10 +130,12 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
DataType
resolveDataType
()
{
try
{
try
{
return
(
DataType
)
RESOLVE_DATA_TYPE__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -144,7 +148,8 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION_CALL__FUNCTION
:
if
(
resolve
)
return
getFunction
();
return
basicGetFunction
();
...
...
@@ -160,7 +165,8 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION_CALL__FUNCTION
:
setFunction
((
Function
)
newValue
);
return
;
...
...
@@ -176,7 +182,8 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION_CALL__FUNCTION
:
setFunction
((
Function
)
null
);
return
;
...
...
@@ -192,7 +199,8 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION_CALL__FUNCTION
:
return
function
!=
null
;
}
...
...
@@ -207,8 +215,10 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
DATA_USE___RESOLVE_DATA_TYPE
:
return
tdlPackage
.
FUNCTION_CALL___RESOLVE_DATA_TYPE
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -224,7 +234,8 @@ public class FunctionCallImpl extends DynamicDataUseImpl implements FunctionCall
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
FUNCTION_CALL___RESOLVE_DATA_TYPE
:
return
resolveDataType
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/FunctionImpl.java
View file @
f3d70678
...
...
@@ -67,10 +67,12 @@ public class FunctionImpl extends ActionImpl implements Function
@Override
public
DataType
getReturnType
()
{
if
(
returnType
!=
null
&&
returnType
.
eIsProxy
())
{
if
(
returnType
!=
null
&&
returnType
.
eIsProxy
())
{
InternalEObject
oldReturnType
=
(
InternalEObject
)
returnType
;
returnType
=
(
DataType
)
eResolveProxy
(
oldReturnType
);
if
(
returnType
!=
oldReturnType
)
{
if
(
returnType
!=
oldReturnType
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
FUNCTION__RETURN_TYPE
,
oldReturnType
,
returnType
));
}
...
...
@@ -110,7 +112,8 @@ public class FunctionImpl extends ActionImpl implements Function
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION__RETURN_TYPE
:
if
(
resolve
)
return
getReturnType
();
return
basicGetReturnType
();
...
...
@@ -126,7 +129,8 @@ public class FunctionImpl extends ActionImpl implements Function
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION__RETURN_TYPE
:
setReturnType
((
DataType
)
newValue
);
return
;
...
...
@@ -142,7 +146,8 @@ public class FunctionImpl extends ActionImpl implements Function
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION__RETURN_TYPE
:
setReturnType
((
DataType
)
null
);
return
;
...
...
@@ -158,7 +163,8 @@ public class FunctionImpl extends ActionImpl implements Function
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
FUNCTION__RETURN_TYPE
:
return
returnType
!=
null
;
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/GateInstanceImpl.java
View file @
f3d70678
...
...
@@ -67,10 +67,12 @@ public class GateInstanceImpl extends NamedElementImpl implements GateInstance
@Override
public
GateType
getType
()
{
if
(
type
!=
null
&&
type
.
eIsProxy
())
{
if
(
type
!=
null
&&
type
.
eIsProxy
())
{
InternalEObject
oldType
=
(
InternalEObject
)
type
;
type
=
(
GateType
)
eResolveProxy
(
oldType
);
if
(
type
!=
oldType
)
{
if
(
type
!=
oldType
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
GATE_INSTANCE__TYPE
,
oldType
,
type
));
}
...
...
@@ -110,7 +112,8 @@ public class GateInstanceImpl extends NamedElementImpl implements GateInstance
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_INSTANCE__TYPE
:
if
(
resolve
)
return
getType
();
return
basicGetType
();
...
...
@@ -126,7 +129,8 @@ public class GateInstanceImpl extends NamedElementImpl implements GateInstance
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_INSTANCE__TYPE
:
setType
((
GateType
)
newValue
);
return
;
...
...
@@ -142,7 +146,8 @@ public class GateInstanceImpl extends NamedElementImpl implements GateInstance
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_INSTANCE__TYPE
:
setType
((
GateType
)
null
);
return
;
...
...
@@ -158,7 +163,8 @@ public class GateInstanceImpl extends NamedElementImpl implements GateInstance
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_INSTANCE__TYPE
:
return
type
!=
null
;
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/GateReferenceImpl.java
View file @
f3d70678
...
...
@@ -79,10 +79,12 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
ComponentInstance
getComponent
()
{
if
(
component
!=
null
&&
component
.
eIsProxy
())
{
if
(
component
!=
null
&&
component
.
eIsProxy
())
{
InternalEObject
oldComponent
=
(
InternalEObject
)
component
;
component
=
(
ComponentInstance
)
eResolveProxy
(
oldComponent
);
if
(
component
!=
oldComponent
)
{
if
(
component
!=
oldComponent
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
GATE_REFERENCE__COMPONENT
,
oldComponent
,
component
));
}
...
...
@@ -122,10 +124,12 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
GateInstance
getGate
()
{
if
(
gate
!=
null
&&
gate
.
eIsProxy
())
{
if
(
gate
!=
null
&&
gate
.
eIsProxy
())
{
InternalEObject
oldGate
=
(
InternalEObject
)
gate
;
gate
=
(
GateInstance
)
eResolveProxy
(
oldGate
);
if
(
gate
!=
oldGate
)
{
if
(
gate
!=
oldGate
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
GATE_REFERENCE__GATE
,
oldGate
,
gate
));
}
...
...
@@ -165,7 +169,8 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_REFERENCE__COMPONENT
:
if
(
resolve
)
return
getComponent
();
return
basicGetComponent
();
...
...
@@ -184,7 +189,8 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_REFERENCE__COMPONENT
:
setComponent
((
ComponentInstance
)
newValue
);
return
;
...
...
@@ -203,7 +209,8 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_REFERENCE__COMPONENT
:
setComponent
((
ComponentInstance
)
null
);
return
;
...
...
@@ -222,7 +229,8 @@ public class GateReferenceImpl extends ElementImpl implements GateReference
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_REFERENCE__COMPONENT
:
return
component
!=
null
;
case
tdlPackage
.
GATE_REFERENCE__GATE
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/GateTypeImpl.java
View file @
f3d70678
...
...
@@ -112,7 +112,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
EList
<
DataType
>
getDataType
()
{
if
(
dataType
==
null
)
{
if
(
dataType
==
null
)
{
dataType
=
new
EObjectResolvingEList
<
DataType
>(
DataType
.
class
,
this
,
tdlPackage
.
GATE_TYPE__DATA_TYPE
);
}
return
dataType
;
...
...
@@ -163,7 +164,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
{
Extension
oldExtension
=
extension
;
extension
=
newExtension
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
GATE_TYPE__EXTENSION
,
oldExtension
,
newExtension
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -178,7 +180,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
void
setExtension
(
Extension
newExtension
)
{
if
(
newExtension
!=
extension
)
{
if
(
newExtension
!=
extension
)
{
NotificationChain
msgs
=
null
;
if
(
extension
!=
null
)
msgs
=
((
InternalEObject
)
extension
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
GATE_TYPE__EXTENSION
,
null
,
msgs
);
...
...
@@ -210,10 +213,12 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
EList
<
DataType
>
allDataTypes
()
{
try
{
try
{
return
(
EList
<
DataType
>)
ALL_DATA_TYPES__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -226,7 +231,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_TYPE__EXTENSION
:
return
basicSetExtension
(
null
,
msgs
);
}
...
...
@@ -241,7 +247,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_TYPE__DATA_TYPE
:
return
getDataType
();
case
tdlPackage
.
GATE_TYPE__KIND
:
...
...
@@ -261,7 +268,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_TYPE__DATA_TYPE
:
getDataType
().
clear
();
getDataType
().
addAll
((
Collection
<?
extends
DataType
>)
newValue
);
...
...
@@ -284,7 +292,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_TYPE__DATA_TYPE
:
getDataType
().
clear
();
return
;
...
...
@@ -306,7 +315,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
GATE_TYPE__DATA_TYPE
:
return
dataType
!=
null
&&
!
dataType
.
isEmpty
();
case
tdlPackage
.
GATE_TYPE__KIND
:
...
...
@@ -325,7 +335,8 @@ public class GateTypeImpl extends PackageableElementImpl implements GateType
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
GATE_TYPE___ALL_DATA_TYPES
:
return
allDataTypes
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/InlineActionImpl.java
View file @
f3d70678
...
...
@@ -100,7 +100,8 @@ public class InlineActionImpl extends ActionBehaviourImpl implements InlineActio
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INLINE_ACTION__BODY
:
return
getBody
();
}
...
...
@@ -115,7 +116,8 @@ public class InlineActionImpl extends ActionBehaviourImpl implements InlineActio
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INLINE_ACTION__BODY
:
setBody
((
String
)
newValue
);
return
;
...
...
@@ -131,7 +133,8 @@ public class InlineActionImpl extends ActionBehaviourImpl implements InlineActio
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INLINE_ACTION__BODY
:
setBody
(
BODY_EDEFAULT
);
return
;
...
...
@@ -147,7 +150,8 @@ public class InlineActionImpl extends ActionBehaviourImpl implements InlineActio
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INLINE_ACTION__BODY
:
return
BODY_EDEFAULT
==
null
?
body
!=
null
:
!
BODY_EDEFAULT
.
equals
(
body
);
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/InteractionImpl.java
View file @
f3d70678
...
...
@@ -94,10 +94,12 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
GateReference
getSourceGate
()
{
if
(
sourceGate
!=
null
&&
sourceGate
.
eIsProxy
())
{
if
(
sourceGate
!=
null
&&
sourceGate
.
eIsProxy
())
{
InternalEObject
oldSourceGate
=
(
InternalEObject
)
sourceGate
;
sourceGate
=
(
GateReference
)
eResolveProxy
(
oldSourceGate
);
if
(
sourceGate
!=
oldSourceGate
)
{
if
(
sourceGate
!=
oldSourceGate
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
INTERACTION__SOURCE_GATE
,
oldSourceGate
,
sourceGate
));
}
...
...
@@ -137,7 +139,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
EList
<
Target
>
getTarget
()
{
if
(
target
==
null
)
{
if
(
target
==
null
)
{
target
=
new
EObjectContainmentEList
<
Target
>(
Target
.
class
,
this
,
tdlPackage
.
INTERACTION__TARGET
);
}
return
target
;
...
...
@@ -162,10 +165,12 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
EList
<
ComponentInstance
>
getParticipatingComponents
()
{
try
{
try
{
return
(
EList
<
ComponentInstance
>)
GET_PARTICIPATING_COMPONENTS__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -178,7 +183,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INTERACTION__TARGET
:
return
((
InternalEList
<?>)
getTarget
()).
basicRemove
(
otherEnd
,
msgs
);
}
...
...
@@ -193,7 +199,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INTERACTION__SOURCE_GATE
:
if
(
resolve
)
return
getSourceGate
();
return
basicGetSourceGate
();
...
...
@@ -212,7 +219,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INTERACTION__SOURCE_GATE
:
setSourceGate
((
GateReference
)
newValue
);
return
;
...
...
@@ -232,7 +240,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INTERACTION__SOURCE_GATE
:
setSourceGate
((
GateReference
)
null
);
return
;
...
...
@@ -251,7 +260,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
INTERACTION__SOURCE_GATE
:
return
sourceGate
!=
null
;
case
tdlPackage
.
INTERACTION__TARGET
:
...
...
@@ -268,14 +278,18 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
tdlPackage
.
INTERACTION___GET_PARTICIPATING_COMPONENTS
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
}
if
(
baseClass
==
AtomicBehaviour
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
AtomicBehaviour
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
ATOMIC_BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
tdlPackage
.
INTERACTION___GET_PARTICIPATING_COMPONENTS
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -291,7 +305,8 @@ public class InteractionImpl extends AtomicBehaviourImpl implements Interaction
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
INTERACTION___GET_PARTICIPATING_COMPONENTS
:
return
getParticipatingComponents
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/LiteralValueUseImpl.java
View file @
f3d70678
...
...
@@ -214,10 +214,12 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
DataType
getDataType
()
{
if
(
dataType
!=
null
&&
dataType
.
eIsProxy
())
{
if
(
dataType
!=
null
&&
dataType
.
eIsProxy
())
{
InternalEObject
oldDataType
=
(
InternalEObject
)
dataType
;
dataType
=
(
DataType
)
eResolveProxy
(
oldDataType
);
if
(
dataType
!=
oldDataType
)
{
if
(
dataType
!=
oldDataType
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
LITERAL_VALUE_USE__DATA_TYPE
,
oldDataType
,
dataType
));
}
...
...
@@ -267,10 +269,12 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
DataType
resolveDataType
()
{
try
{
try
{
return
(
DataType
)
RESOLVE_DATA_TYPE__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -283,7 +287,8 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LITERAL_VALUE_USE__VALUE
:
return
getValue
();
case
tdlPackage
.
LITERAL_VALUE_USE__INT_VALUE
:
...
...
@@ -305,7 +310,8 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LITERAL_VALUE_USE__VALUE
:
setValue
((
String
)
newValue
);
return
;
...
...
@@ -330,7 +336,8 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LITERAL_VALUE_USE__VALUE
:
setValue
(
VALUE_EDEFAULT
);
return
;
...
...
@@ -355,7 +362,8 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LITERAL_VALUE_USE__VALUE
:
return
VALUE_EDEFAULT
==
null
?
value
!=
null
:
!
VALUE_EDEFAULT
.
equals
(
value
);
case
tdlPackage
.
LITERAL_VALUE_USE__INT_VALUE
:
...
...
@@ -376,8 +384,10 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
DataUse
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
DATA_USE___RESOLVE_DATA_TYPE
:
return
tdlPackage
.
LITERAL_VALUE_USE___RESOLVE_DATA_TYPE
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -393,7 +403,8 @@ public class LiteralValueUseImpl extends StaticDataUseImpl implements LiteralVal
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
LITERAL_VALUE_USE___RESOLVE_DATA_TYPE
:
return
resolveDataType
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/LocalExpressionImpl.java
View file @
f3d70678
...
...
@@ -92,7 +92,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
{
DataUse
oldExpression
=
expression
;
expression
=
newExpression
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
,
oldExpression
,
newExpression
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -107,7 +108,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
void
setExpression
(
DataUse
newExpression
)
{
if
(
newExpression
!=
expression
)
{
if
(
newExpression
!=
expression
)
{
NotificationChain
msgs
=
null
;
if
(
expression
!=
null
)
msgs
=
((
InternalEObject
)
expression
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
,
null
,
msgs
);
...
...
@@ -128,10 +130,12 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
ComponentInstance
getComponentInstance
()
{
if
(
componentInstance
!=
null
&&
componentInstance
.
eIsProxy
())
{
if
(
componentInstance
!=
null
&&
componentInstance
.
eIsProxy
())
{
InternalEObject
oldComponentInstance
=
(
InternalEObject
)
componentInstance
;
componentInstance
=
(
ComponentInstance
)
eResolveProxy
(
oldComponentInstance
);
if
(
componentInstance
!=
oldComponentInstance
)
{
if
(
componentInstance
!=
oldComponentInstance
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
LOCAL_EXPRESSION__COMPONENT_INSTANCE
,
oldComponentInstance
,
componentInstance
));
}
...
...
@@ -171,7 +175,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
:
return
basicSetExpression
(
null
,
msgs
);
}
...
...
@@ -186,7 +191,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
:
return
getExpression
();
case
tdlPackage
.
LOCAL_EXPRESSION__COMPONENT_INSTANCE
:
...
...
@@ -204,7 +210,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
:
setExpression
((
DataUse
)
newValue
);
return
;
...
...
@@ -223,7 +230,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
:
setExpression
((
DataUse
)
null
);
return
;
...
...
@@ -242,7 +250,8 @@ public class LocalExpressionImpl extends ElementImpl implements LocalExpression
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
LOCAL_EXPRESSION__EXPRESSION
:
return
expression
!=
null
;
case
tdlPackage
.
LOCAL_EXPRESSION__COMPONENT_INSTANCE
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/MemberAssignmentImpl.java
View file @
f3d70678
...
...
@@ -80,10 +80,12 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
Member
getMember
()
{
if
(
member
!=
null
&&
member
.
eIsProxy
())
{
if
(
member
!=
null
&&
member
.
eIsProxy
())
{
InternalEObject
oldMember
=
(
InternalEObject
)
member
;
member
=
(
Member
)
eResolveProxy
(
oldMember
);
if
(
member
!=
oldMember
)
{
if
(
member
!=
oldMember
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER
,
oldMember
,
member
));
}
...
...
@@ -135,7 +137,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
{
DataUse
oldMemberSpec
=
memberSpec
;
memberSpec
=
newMemberSpec
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER_SPEC
,
oldMemberSpec
,
newMemberSpec
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -150,7 +153,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
void
setMemberSpec
(
DataUse
newMemberSpec
)
{
if
(
newMemberSpec
!=
memberSpec
)
{
if
(
newMemberSpec
!=
memberSpec
)
{
NotificationChain
msgs
=
null
;
if
(
memberSpec
!=
null
)
msgs
=
((
InternalEObject
)
memberSpec
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER_SPEC
,
null
,
msgs
);
...
...
@@ -171,7 +175,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER_SPEC
:
return
basicSetMemberSpec
(
null
,
msgs
);
}
...
...
@@ -186,7 +191,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER
:
if
(
resolve
)
return
getMember
();
return
basicGetMember
();
...
...
@@ -204,7 +210,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER
:
setMember
((
Member
)
newValue
);
return
;
...
...
@@ -223,7 +230,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER
:
setMember
((
Member
)
null
);
return
;
...
...
@@ -242,7 +250,8 @@ public class MemberAssignmentImpl extends ElementImpl implements MemberAssignmen
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER
:
return
member
!=
null
;
case
tdlPackage
.
MEMBER_ASSIGNMENT__MEMBER_SPEC
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/MemberImpl.java
View file @
f3d70678
...
...
@@ -121,7 +121,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
EList
<
Constraint
>
getConstraint
()
{
if
(
constraint
==
null
)
{
if
(
constraint
==
null
)
{
constraint
=
new
EObjectContainmentEList
<
Constraint
>(
Constraint
.
class
,
this
,
tdlPackage
.
MEMBER__CONSTRAINT
);
}
return
constraint
;
...
...
@@ -135,7 +136,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER__CONSTRAINT
:
return
((
InternalEList
<?>)
getConstraint
()).
basicRemove
(
otherEnd
,
msgs
);
}
...
...
@@ -150,7 +152,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER__IS_OPTIONAL
:
return
isIsOptional
();
case
tdlPackage
.
MEMBER__CONSTRAINT
:
...
...
@@ -168,7 +171,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER__IS_OPTIONAL
:
setIsOptional
((
Boolean
)
newValue
);
return
;
...
...
@@ -188,7 +192,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER__IS_OPTIONAL
:
setIsOptional
(
IS_OPTIONAL_EDEFAULT
);
return
;
...
...
@@ -207,7 +212,8 @@ public class MemberImpl extends ParameterImpl implements Member
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER__IS_OPTIONAL
:
return
isOptional
!=
IS_OPTIONAL_EDEFAULT
;
case
tdlPackage
.
MEMBER__CONSTRAINT
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/MemberReferenceImpl.java
View file @
f3d70678
...
...
@@ -80,10 +80,12 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
Member
getMember
()
{
if
(
member
!=
null
&&
member
.
eIsProxy
())
{
if
(
member
!=
null
&&
member
.
eIsProxy
())
{
InternalEObject
oldMember
=
(
InternalEObject
)
member
;
member
=
(
Member
)
eResolveProxy
(
oldMember
);
if
(
member
!=
oldMember
)
{
if
(
member
!=
oldMember
)
{
if
(
eNotificationRequired
())
eNotify
(
new
ENotificationImpl
(
this
,
Notification
.
RESOLVE
,
tdlPackage
.
MEMBER_REFERENCE__MEMBER
,
oldMember
,
member
));
}
...
...
@@ -135,7 +137,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
{
DataUse
oldCollectionIndex
=
collectionIndex
;
collectionIndex
=
newCollectionIndex
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
MEMBER_REFERENCE__COLLECTION_INDEX
,
oldCollectionIndex
,
newCollectionIndex
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -150,7 +153,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
void
setCollectionIndex
(
DataUse
newCollectionIndex
)
{
if
(
newCollectionIndex
!=
collectionIndex
)
{
if
(
newCollectionIndex
!=
collectionIndex
)
{
NotificationChain
msgs
=
null
;
if
(
collectionIndex
!=
null
)
msgs
=
((
InternalEObject
)
collectionIndex
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
MEMBER_REFERENCE__COLLECTION_INDEX
,
null
,
msgs
);
...
...
@@ -171,7 +175,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_REFERENCE__COLLECTION_INDEX
:
return
basicSetCollectionIndex
(
null
,
msgs
);
}
...
...
@@ -186,7 +191,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_REFERENCE__MEMBER
:
if
(
resolve
)
return
getMember
();
return
basicGetMember
();
...
...
@@ -204,7 +210,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_REFERENCE__MEMBER
:
setMember
((
Member
)
newValue
);
return
;
...
...
@@ -223,7 +230,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_REFERENCE__MEMBER
:
setMember
((
Member
)
null
);
return
;
...
...
@@ -242,7 +250,8 @@ public class MemberReferenceImpl extends ElementImpl implements MemberReference
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MEMBER_REFERENCE__MEMBER
:
return
member
!=
null
;
case
tdlPackage
.
MEMBER_REFERENCE__COLLECTION_INDEX
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/MessageImpl.java
View file @
f3d70678
...
...
@@ -126,7 +126,8 @@ public class MessageImpl extends InteractionImpl implements Message
{
DataUse
oldArgument
=
argument
;
argument
=
newArgument
;
if
(
eNotificationRequired
())
{
if
(
eNotificationRequired
())
{
ENotificationImpl
notification
=
new
ENotificationImpl
(
this
,
Notification
.
SET
,
tdlPackage
.
MESSAGE__ARGUMENT
,
oldArgument
,
newArgument
);
if
(
msgs
==
null
)
msgs
=
notification
;
else
msgs
.
add
(
notification
);
}
...
...
@@ -141,7 +142,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
void
setArgument
(
DataUse
newArgument
)
{
if
(
newArgument
!=
argument
)
{
if
(
newArgument
!=
argument
)
{
NotificationChain
msgs
=
null
;
if
(
argument
!=
null
)
msgs
=
((
InternalEObject
)
argument
).
eInverseRemove
(
this
,
EOPPOSITE_FEATURE_BASE
-
tdlPackage
.
MESSAGE__ARGUMENT
,
null
,
msgs
);
...
...
@@ -162,7 +164,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MESSAGE__ARGUMENT
:
return
basicSetArgument
(
null
,
msgs
);
}
...
...
@@ -177,7 +180,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MESSAGE__IS_TRIGGER
:
return
isIsTrigger
();
case
tdlPackage
.
MESSAGE__ARGUMENT
:
...
...
@@ -194,7 +198,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MESSAGE__IS_TRIGGER
:
setIsTrigger
((
Boolean
)
newValue
);
return
;
...
...
@@ -213,7 +218,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MESSAGE__IS_TRIGGER
:
setIsTrigger
(
IS_TRIGGER_EDEFAULT
);
return
;
...
...
@@ -232,7 +238,8 @@ public class MessageImpl extends InteractionImpl implements Message
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MESSAGE__IS_TRIGGER
:
return
isTrigger
!=
IS_TRIGGER_EDEFAULT
;
case
tdlPackage
.
MESSAGE__ARGUMENT
:
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/MultipleCombinedBehaviourImpl.java
View file @
f3d70678
...
...
@@ -78,7 +78,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
EList
<
Block
>
getBlock
()
{
if
(
block
==
null
)
{
if
(
block
==
null
)
{
block
=
new
EObjectContainmentEList
<
Block
>(
Block
.
class
,
this
,
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
);
}
return
block
;
...
...
@@ -103,10 +104,12 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
EList
<
ComponentInstance
>
getParticipatingComponents
()
{
try
{
try
{
return
(
EList
<
ComponentInstance
>)
GET_PARTICIPATING_COMPONENTS__EINVOCATION_DELEGATE
.
dynamicInvoke
(
this
,
null
);
}
catch
(
InvocationTargetException
ite
)
{
catch
(
InvocationTargetException
ite
)
{
throw
new
WrappedException
(
ite
);
}
}
...
...
@@ -119,7 +122,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
:
return
((
InternalEList
<?>)
getBlock
()).
basicRemove
(
otherEnd
,
msgs
);
}
...
...
@@ -134,7 +138,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
:
return
getBlock
();
}
...
...
@@ -150,7 +155,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
:
getBlock
().
clear
();
getBlock
().
addAll
((
Collection
<?
extends
Block
>)
newValue
);
...
...
@@ -167,7 +173,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
:
getBlock
().
clear
();
return
;
...
...
@@ -183,7 +190,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR__BLOCK
:
return
block
!=
null
&&
!
block
.
isEmpty
();
}
...
...
@@ -198,8 +206,10 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
int
eDerivedOperationID
(
int
baseOperationID
,
Class
<?>
baseClass
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
if
(
baseClass
==
Behaviour
.
class
)
{
switch
(
baseOperationID
)
{
case
tdlPackage
.
BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
;
default
:
return
super
.
eDerivedOperationID
(
baseOperationID
,
baseClass
);
}
...
...
@@ -215,7 +225,8 @@ public abstract class MultipleCombinedBehaviourImpl extends CombinedBehaviourImp
@Override
public
Object
eInvoke
(
int
operationID
,
EList
<?>
arguments
)
throws
InvocationTargetException
{
switch
(
operationID
)
{
switch
(
operationID
)
{
case
tdlPackage
.
MULTIPLE_COMBINED_BEHAVIOUR___GET_PARTICIPATING_COMPONENTS
:
return
getParticipatingComponents
();
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/NamedElementImpl.java
View file @
f3d70678
...
...
@@ -73,7 +73,8 @@ public abstract class NamedElementImpl extends ElementImpl implements NamedEleme
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
NAMED_ELEMENT__QUALIFIED_NAME
:
return
getQualifiedName
();
}
...
...
@@ -88,7 +89,8 @@ public abstract class NamedElementImpl extends ElementImpl implements NamedEleme
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
NAMED_ELEMENT__QUALIFIED_NAME
:
return
QUALIFIED_NAME__ESETTING_DELEGATE
.
dynamicIsSet
(
this
,
null
,
0
);
}
...
...
plugins/org.etsi.mts.tdl.model/src-gen/org/etsi/mts/tdl/impl/PackageImpl.java
View file @
f3d70678
...
...
@@ -94,7 +94,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
EList
<
PackageableElement
>
getPackagedElement
()
{
if
(
packagedElement
==
null
)
{
if
(
packagedElement
==
null
)
{
packagedElement
=
new
EObjectContainmentEList
<
PackageableElement
>(
PackageableElement
.
class
,
this
,
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
);
}
return
packagedElement
;
...
...
@@ -108,7 +109,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
EList
<
ElementImport
>
getImport
()
{
if
(
import_
==
null
)
{
if
(
import_
==
null
)
{
import_
=
new
EObjectContainmentEList
<
ElementImport
>(
ElementImport
.
class
,
this
,
tdlPackage
.
PACKAGE__IMPORT
);
}
return
import_
;
...
...
@@ -122,7 +124,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
EList
<
org
.
etsi
.
mts
.
tdl
.
Package
>
getNestedPackage
()
{
if
(
nestedPackage
==
null
)
{
if
(
nestedPackage
==
null
)
{
nestedPackage
=
new
EObjectContainmentEList
<
org
.
etsi
.
mts
.
tdl
.
Package
>(
org
.
etsi
.
mts
.
tdl
.
Package
.
class
,
this
,
tdlPackage
.
PACKAGE__NESTED_PACKAGE
);
}
return
nestedPackage
;
...
...
@@ -136,7 +139,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
NotificationChain
eInverseRemove
(
InternalEObject
otherEnd
,
int
featureID
,
NotificationChain
msgs
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
:
return
((
InternalEList
<?>)
getPackagedElement
()).
basicRemove
(
otherEnd
,
msgs
);
case
tdlPackage
.
PACKAGE__IMPORT
:
...
...
@@ -155,7 +159,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
Object
eGet
(
int
featureID
,
boolean
resolve
,
boolean
coreType
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
:
return
getPackagedElement
();
case
tdlPackage
.
PACKAGE__IMPORT
:
...
...
@@ -175,7 +180,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
void
eSet
(
int
featureID
,
Object
newValue
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
:
getPackagedElement
().
clear
();
getPackagedElement
().
addAll
((
Collection
<?
extends
PackageableElement
>)
newValue
);
...
...
@@ -200,7 +206,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
void
eUnset
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
:
getPackagedElement
().
clear
();
return
;
...
...
@@ -222,7 +229,8 @@ public class PackageImpl extends NamedElementImpl implements org.etsi.mts.tdl.Pa
@Override
public
boolean
eIsSet
(
int
featureID
)
{
switch
(
featureID
)
{
switch
(
featureID
)
{
case
tdlPackage
.
PACKAGE__PACKAGED_ELEMENT
:
return
packagedElement
!=
null
&&
!
packagedElement
.
isEmpty
();
case
tdlPackage
.
PACKAGE__IMPORT
:
...
...
Prev
1
2
3
4
5
Next