Package com._1c.g5.v8.dt.bsl.model.impl
Class MethodImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- com._1c.g5.v8.dt.bsl.model.impl.PragmaTargetImpl
-
- com._1c.g5.v8.dt.bsl.model.impl.MethodImpl
-
- All Implemented Interfaces:
Block
,Method
,PragmaTarget
,Environmental
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
FunctionImpl
,ProcedureImpl
public abstract class MethodImpl extends PragmaTargetImpl implements Method
An implementation of the model object 'Method'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
async
The cached value of the 'Async
' attribute.protected static boolean
ASYNC_EDEFAULT
The default value of the 'Async
' attribute.protected org.eclipse.emf.common.util.EList<Method>
callees
The cached value of the 'Callees
' reference list.protected org.eclipse.emf.common.util.EList<Block>
callers
The cached value of the 'Callers
' reference list.protected org.eclipse.emf.common.util.EList<DeclareStatement>
declareStatements
The cached value of the 'Declare Statements
' containment reference list.protected Environments
environments
The cached value of the 'Environments
' attribute.protected static Environments
ENVIRONMENTS_EDEFAULT
The default value of the 'Environments
' attribute.protected boolean
event
The cached value of the 'Event
' attribute.protected static boolean
EVENT_EDEFAULT
The default value of the 'Event
' attribute.protected boolean
export
The cached value of the 'Export
' attribute.protected static boolean
EXPORT_EDEFAULT
The default value of the 'Export
' attribute.protected org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector>
finalInParamState
The cached value of the 'Final In Param State
' attribute list.protected org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector>
finalOutParamState
The cached value of the 'Final Out Param State
' attribute list.protected org.eclipse.emf.common.util.EList<FormalParam>
formalParams
The cached value of the 'Formal Params
' containment reference list.protected org.eclipse.emf.common.util.EList<ImplicitVariable>
implicitVariables
The cached value of the 'Implicit Variables
' reference list.protected String
name
The cached value of the 'Name
' attribute.protected static String
NAME_EDEFAULT
The default value of the 'Name
' attribute.protected org.eclipse.emf.common.util.EList<Statement>
statements
The cached value of the 'Statements
' containment reference list.protected static String
UNIQUE_NAME_EDEFAULT
The default value of the 'Unique Name
' attribute.protected String
uniqueName
The cached value of the 'Unique Name
' attribute.protected boolean
used
The cached value of the 'Used
' attribute.protected static boolean
USED_EDEFAULT
The default value of the 'Used
' attribute.-
Fields inherited from class com._1c.g5.v8.dt.bsl.model.impl.PragmaTargetImpl
pragmas
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MethodImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<DeclareStatement>
allDeclareStatements()
org.eclipse.emf.common.util.EList<Statement>
allStatements()
int
eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int
eDerivedOperationID(int baseOperationID, Class<?> baseClass)
int
eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
Object
eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments)
boolean
eIsSet(int featureID)
Environments
environments()
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.common.util.EList<Method>
getCallees()
org.eclipse.emf.common.util.EList<Block>
getCallers()
org.eclipse.emf.common.util.EList<DeclareStatement>
getDeclareStatements()
Environments
getEnvironments()
org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector>
getFinalInParamState()
org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector>
getFinalOutParamState()
org.eclipse.emf.common.util.EList<FormalParam>
getFormalParams()
org.eclipse.emf.common.util.EList<ImplicitVariable>
getImplicitVariables()
String
getName()
org.eclipse.emf.common.util.EList<Statement>
getStatements()
String
getUniqueName()
boolean
isAsync()
boolean
isEvent()
boolean
isExport()
boolean
isUsed()
void
setAsync(boolean newAsync)
void
setEnvironments(Environments newEnvironments)
void
setEvent(boolean newEvent)
void
setExport(boolean newExport)
void
setName(String newName)
void
setUniqueName(String newUniqueName)
void
setUsed(boolean newUsed)
String
toString()
-
Methods inherited from class com._1c.g5.v8.dt.bsl.model.impl.PragmaTargetImpl
getPragmas
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com._1c.g5.v8.dt.bsl.model.PragmaTarget
getPragmas
-
-
-
-
Field Detail
-
NAME_EDEFAULT
protected static final String NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
getName()
-
ENVIRONMENTS_EDEFAULT
protected static final Environments ENVIRONMENTS_EDEFAULT
The default value of the 'Environments
' attribute.- See Also:
getEnvironments()
-
environments
protected Environments environments
The cached value of the 'Environments
' attribute.- See Also:
getEnvironments()
-
declareStatements
protected org.eclipse.emf.common.util.EList<DeclareStatement> declareStatements
The cached value of the 'Declare Statements
' containment reference list.- See Also:
getDeclareStatements()
-
statements
protected org.eclipse.emf.common.util.EList<Statement> statements
The cached value of the 'Statements
' containment reference list.- See Also:
getStatements()
-
implicitVariables
protected org.eclipse.emf.common.util.EList<ImplicitVariable> implicitVariables
The cached value of the 'Implicit Variables
' reference list.- See Also:
getImplicitVariables()
-
UNIQUE_NAME_EDEFAULT
protected static final String UNIQUE_NAME_EDEFAULT
The default value of the 'Unique Name
' attribute.- See Also:
getUniqueName()
-
uniqueName
protected String uniqueName
The cached value of the 'Unique Name
' attribute.- See Also:
getUniqueName()
-
ASYNC_EDEFAULT
protected static final boolean ASYNC_EDEFAULT
The default value of the 'Async
' attribute.- See Also:
isAsync()
, Constant Field Values
-
formalParams
protected org.eclipse.emf.common.util.EList<FormalParam> formalParams
The cached value of the 'Formal Params
' containment reference list.- See Also:
getFormalParams()
-
EXPORT_EDEFAULT
protected static final boolean EXPORT_EDEFAULT
The default value of the 'Export
' attribute.- See Also:
isExport()
, Constant Field Values
-
export
protected boolean export
The cached value of the 'Export
' attribute.- See Also:
isExport()
-
EVENT_EDEFAULT
protected static final boolean EVENT_EDEFAULT
The default value of the 'Event
' attribute.- See Also:
isEvent()
, Constant Field Values
-
USED_EDEFAULT
protected static final boolean USED_EDEFAULT
The default value of the 'Used
' attribute.- See Also:
isUsed()
, Constant Field Values
-
finalInParamState
protected org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector> finalInParamState
The cached value of the 'Final In Param State
' attribute list.- See Also:
getFinalInParamState()
-
finalOutParamState
protected org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector> finalOutParamState
The cached value of the 'Final Out Param State
' attribute list.- See Also:
getFinalOutParamState()
-
callers
protected org.eclipse.emf.common.util.EList<Block> callers
The cached value of the 'Callers
' reference list.- See Also:
getCallers()
-
callees
protected org.eclipse.emf.common.util.EList<Method> callees
The cached value of the 'Callees
' reference list.- See Also:
getCallees()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classPragmaTargetImpl
-
getName
public String getName()
- Specified by:
getName
in interfaceNamedElement
- Returns:
- the value of the 'Name' attribute.
- See Also:
NamedElement.setName(String)
,McorePackage.getNamedElement_Name()
-
setName
public void setName(String newName)
- Specified by:
setName
in interfaceNamedElement
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
NamedElement.getName()
-
getEnvironments
public Environments getEnvironments()
- Specified by:
getEnvironments
in interfaceEnvironmental
- Returns:
- the value of the 'Environments' attribute.
- See Also:
Environmental.setEnvironments(Environments)
,McorePackage.getEnvironmental_Environments()
-
setEnvironments
public void setEnvironments(Environments newEnvironments)
- Specified by:
setEnvironments
in interfaceEnvironmental
- Parameters:
newEnvironments
- the new value of the 'Environments' attribute.- See Also:
Environmental.getEnvironments()
-
getDeclareStatements
public org.eclipse.emf.common.util.EList<DeclareStatement> getDeclareStatements()
- Specified by:
getDeclareStatements
in interfaceBlock
- Returns:
- the value of the 'Declare Statements' containment reference list.
- See Also:
BslPackage.getBlock_DeclareStatements()
-
getStatements
public org.eclipse.emf.common.util.EList<Statement> getStatements()
- Specified by:
getStatements
in interfaceBlock
- Returns:
- the value of the 'Statements' containment reference list.
- See Also:
BslPackage.getBlock_Statements()
-
getImplicitVariables
public org.eclipse.emf.common.util.EList<ImplicitVariable> getImplicitVariables()
- Specified by:
getImplicitVariables
in interfaceBlock
- Returns:
- the value of the 'Implicit Variables' reference list.
- See Also:
BslPackage.getBlock_ImplicitVariables()
-
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueName
in interfaceBlock
- Returns:
- the value of the 'Unique Name' attribute.
- See Also:
Block.setUniqueName(String)
,BslPackage.getBlock_UniqueName()
-
setUniqueName
public void setUniqueName(String newUniqueName)
- Specified by:
setUniqueName
in interfaceBlock
- Parameters:
newUniqueName
- the new value of the 'Unique Name' attribute.- See Also:
Block.getUniqueName()
-
isAsync
public boolean isAsync()
- Specified by:
isAsync
in interfaceMethod
- Returns:
- the value of the 'Async' attribute.
- See Also:
Method.setAsync(boolean)
,BslPackage.getMethod_Async()
-
setAsync
public void setAsync(boolean newAsync)
- Specified by:
setAsync
in interfaceMethod
- Parameters:
newAsync
- the new value of the 'Async' attribute.- See Also:
Method.isAsync()
-
getFormalParams
public org.eclipse.emf.common.util.EList<FormalParam> getFormalParams()
- Specified by:
getFormalParams
in interfaceMethod
- Returns:
- the value of the 'Formal Params' containment reference list.
- See Also:
BslPackage.getMethod_FormalParams()
-
isExport
public boolean isExport()
- Specified by:
isExport
in interfaceMethod
- Returns:
- the value of the 'Export' attribute.
- See Also:
Method.setExport(boolean)
,BslPackage.getMethod_Export()
-
setExport
public void setExport(boolean newExport)
- Specified by:
setExport
in interfaceMethod
- Parameters:
newExport
- the new value of the 'Export' attribute.- See Also:
Method.isExport()
-
isEvent
public boolean isEvent()
- Specified by:
isEvent
in interfaceMethod
- Returns:
- the value of the 'Event' attribute.
- See Also:
Method.setEvent(boolean)
,BslPackage.getMethod_Event()
-
setEvent
public void setEvent(boolean newEvent)
- Specified by:
setEvent
in interfaceMethod
- Parameters:
newEvent
- the new value of the 'Event' attribute.- See Also:
Method.isEvent()
-
isUsed
public boolean isUsed()
- Specified by:
isUsed
in interfaceMethod
- Returns:
- the value of the 'Used' attribute.
- See Also:
Method.setUsed(boolean)
,BslPackage.getMethod_Used()
-
setUsed
public void setUsed(boolean newUsed)
- Specified by:
setUsed
in interfaceMethod
- Parameters:
newUsed
- the new value of the 'Used' attribute.- See Also:
Method.isUsed()
-
getFinalInParamState
public org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector> getFinalInParamState()
- Specified by:
getFinalInParamState
in interfaceMethod
- Returns:
- the value of the 'Final In Param State' attribute list.
- See Also:
BslPackage.getMethod_FinalInParamState()
-
getFinalOutParamState
public org.eclipse.emf.common.util.EList<VariableTypeStateProviderCollector> getFinalOutParamState()
- Specified by:
getFinalOutParamState
in interfaceMethod
- Returns:
- the value of the 'Final Out Param State' attribute list.
- See Also:
BslPackage.getMethod_FinalOutParamState()
-
getCallers
public org.eclipse.emf.common.util.EList<Block> getCallers()
- Specified by:
getCallers
in interfaceMethod
- Returns:
- the value of the 'Callers' reference list.
- See Also:
BslPackage.getMethod_Callers()
-
getCallees
public org.eclipse.emf.common.util.EList<Method> getCallees()
- Specified by:
getCallees
in interfaceMethod
- Returns:
- the value of the 'Callees' reference list.
- See Also:
BslPackage.getMethod_Callees()
-
allDeclareStatements
public org.eclipse.emf.common.util.EList<DeclareStatement> allDeclareStatements()
- Specified by:
allDeclareStatements
in interfaceBlock
-
allStatements
public org.eclipse.emf.common.util.EList<Statement> allStatements()
- Specified by:
allStatements
in interfaceBlock
-
environments
public Environments environments()
- Specified by:
environments
in interfaceEnvironmental
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classPragmaTargetImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classPragmaTargetImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classPragmaTargetImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classPragmaTargetImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classPragmaTargetImpl
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedOperationID
public int eDerivedOperationID(int baseOperationID, Class<?> baseClass)
- Specified by:
eDerivedOperationID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedOperationID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException
- Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-