Commit 1d157f3b authored by Dominique Marcadet's avatar Dominique Marcadet

ExtRef doResolveLinks() rewritten

parent 63be2923
......@@ -1098,3 +1098,11 @@ _UI_AbstractDataAttribute_RefersToDAType_feature = Refers To DA Type
_UI_DAType_ReferredByAbstractDataAttribute_feature = Referred By Abstract Data Attribute
_UI_AbstractDataAttribute_ReferredByFCDA_feature = Referred By FCDA
_UI_FCDA_RefersToAbstractDataAttribute_feature = Refers To Abstract Data Attribute
_UI_ControlBlock_ReferredByExtRef_feature = Referred By Ext Ref
_UI_AbstractDataAttribute_ReferredByExtRef_feature = Referred By Ext Ref
_UI_DOType_ReferredByExtRef_feature = Referred By Ext Ref
_UI_ExtRef_RefersToAbstractDataAttribute_feature = Refers To Abstract Data Attribute
_UI_ExtRef_RefersToDOType_feature = Refers To DO Type
_UI_ExtRef_RefersToControlBlock_feature = Refers To Control Block
_UI_Control_ReferredByExtRef_feature = Referred By Ext Ref
_UI_ExtRef_RefersToControl_feature = Refers To Control
......@@ -70,6 +70,7 @@ public class AbstractDataAttributeItemProvider extends DataAttributeItemProvider
addRefersToEnumTypePropertyDescriptor(object);
addRefersToDATypePropertyDescriptor(object);
addReferredByFCDAPropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -272,6 +273,28 @@ public class AbstractDataAttributeItemProvider extends DataAttributeItemProvider
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_AbstractDataAttribute_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_AbstractDataAttribute_ReferredByExtRef_feature", "_UI_AbstractDataAttribute_type"),
SclPackage.eINSTANCE.getAbstractDataAttribute_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
......
......@@ -65,7 +65,6 @@ public class AnyLNItemProvider extends UnNamingItemProvider {
addLnClassPropertyDescriptor(object);
addLnTypePropertyDescriptor(object);
addRefersToLNodeTypePropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
addReferredByClientLNPropertyDescriptor(object);
addReferredByLogControlPropertyDescriptor(object);
addReferredByAssociationPropertyDescriptor(object);
......@@ -163,28 +162,6 @@ public class AnyLNItemProvider extends UnNamingItemProvider {
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_AnyLN_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_AnyLN_ReferredByExtRef_feature", "_UI_AnyLN_type"),
SclPackage.eINSTANCE.getAnyLN_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This adds a property descriptor for the Referred By Client LN feature.
* <!-- begin-user-doc -->
......
......@@ -62,6 +62,7 @@ public class ControlItemProvider extends UnNamingItemProvider {
addDatSetPropertyDescriptor(object);
addRefersToDataSetPropertyDescriptor(object);
addNamePropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -132,6 +133,28 @@ public class ControlItemProvider extends UnNamingItemProvider {
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_Control_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_Control_ReferredByExtRef_feature", "_UI_Control_type"),
SclPackage.eINSTANCE.getControl_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This returns Control.gif.
* <!-- begin-user-doc -->
......
......@@ -65,6 +65,7 @@ public class DOTypeItemProvider extends IDNamingItemProvider {
addIedTypePropertyDescriptor(object);
addReferredByDOPropertyDescriptor(object);
addReferredBySDOPropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -157,6 +158,28 @@ public class DOTypeItemProvider extends IDNamingItemProvider {
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_DOType_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_DOType_ReferredByExtRef_feature", "_UI_DOType_type"),
SclPackage.eINSTANCE.getDOType_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
* {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
......
......@@ -62,7 +62,6 @@ public class DataAttributeItemProvider extends UnNamingItemProvider {
super.getPropertyDescriptors(object);
addNamePropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -89,28 +88,6 @@ public class DataAttributeItemProvider extends UnNamingItemProvider {
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_DataAttribute_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_DataAttribute_ReferredByExtRef_feature", "_UI_DataAttribute_type"),
SclPackage.eINSTANCE.getDataAttribute_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
......
......@@ -63,7 +63,6 @@ public class DataObjectItemProvider extends UnNamingItemProvider {
addAccessControlPropertyDescriptor(object);
addNamePropertyDescriptor(object);
addReferredByExtRefPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -112,28 +111,6 @@ public class DataObjectItemProvider extends UnNamingItemProvider {
null));
}
/**
* This adds a property descriptor for the Referred By Ext Ref feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addReferredByExtRefPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_DataObject_ReferredByExtRef_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_DataObject_ReferredByExtRef_feature", "_UI_DataObject_type"),
SclPackage.eINSTANCE.getDataObject_ReferredByExtRef(),
true,
false,
true,
null,
null,
null));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
......
......@@ -74,13 +74,13 @@ public class ExtRefItemProvider extends BaseElementItemProvider {
addSrcLNClassPropertyDescriptor(object);
addSrcLNInstPropertyDescriptor(object);
addSrcPrefixPropertyDescriptor(object);
addRefersToAnyLNPropertyDescriptor(object);
addRefersToDataAttributePropertyDescriptor(object);
addRefersToDataObjectPropertyDescriptor(object);
addRefersToAbstractDataAttributePropertyDescriptor(object);
addRefersToDOTypePropertyDescriptor(object);
addPServTPropertyDescriptor(object);
addPLNPropertyDescriptor(object);
addPDOPropertyDescriptor(object);
addPDAPropertyDescriptor(object);
addRefersToControlPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
......@@ -394,19 +394,19 @@ public class ExtRefItemProvider extends BaseElementItemProvider {
}
/**
* This adds a property descriptor for the Refers To Any LN feature.
* This adds a property descriptor for the Refers To Abstract Data Attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addRefersToAnyLNPropertyDescriptor(Object object) {
protected void addRefersToAbstractDataAttributePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_ExtRef_RefersToAnyLN_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToAnyLN_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToAnyLN(),
getString("_UI_ExtRef_RefersToAbstractDataAttribute_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToAbstractDataAttribute_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToAbstractDataAttribute(),
true,
false,
true,
......@@ -416,41 +416,19 @@ public class ExtRefItemProvider extends BaseElementItemProvider {
}
/**
* This adds a property descriptor for the Refers To Data Attribute feature.
* This adds a property descriptor for the Refers To DO Type feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addRefersToDataAttributePropertyDescriptor(Object object) {
protected void addRefersToDOTypePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_ExtRef_RefersToDataAttribute_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToDataAttribute_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToDataAttribute(),
true,
false,
true,
null,
null,
null));
}
/**
* This adds a property descriptor for the Refers To Data Object feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addRefersToDataObjectPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_ExtRef_RefersToDataObject_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToDataObject_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToDataObject(),
getString("_UI_ExtRef_RefersToDOType_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToDOType_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToDOType(),
true,
false,
true,
......@@ -569,6 +547,28 @@ public class ExtRefItemProvider extends BaseElementItemProvider {
null));
}
/**
* This adds a property descriptor for the Refers To Control feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addRefersToControlPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_ExtRef_RefersToControl_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_ExtRef_RefersToControl_feature", "_UI_ExtRef_type"),
SclPackage.eINSTANCE.getExtRef_RefersToControl(),
true,
false,
true,
null,
null,
null));
}
/**
* This returns ExtRef.gif.
* <!-- begin-user-doc -->
......
......@@ -366,6 +366,9 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByFCDA" ordered="false"
upperBound="-1" eType="#//FCDA" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//FCDA/RefersToAbstractDataAttribute"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToAbstractDataAttribute"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BDA" eSuperTypes="#//AbstractDataAttribute">
<eStructuralFeatures xsi:type="ecore:EReference" name="DAType" ordered="false"
......@@ -429,6 +432,9 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredBySDO" ordered="false"
upperBound="-1" eType="#//SDO" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//SDO/RefersToDOType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToDOType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataTypeTemplates" eSuperTypes="#//ExplicitLinkResolver">
<eStructuralFeatures xsi:type="ecore:EReference" name="DAType" ordered="false"
......@@ -608,9 +614,6 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="DataSet" ordered="false"
upperBound="-1" eType="#//DataSet" unsettable="true" containment="true" resolveProxies="false"
eOpposite="#//DataSet/AnyLN"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToAnyLN"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByClientLN" ordered="false"
upperBound="-1" eType="#//ClientLN" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ClientLN/RefersToAnyLN"/>
......@@ -761,6 +764,9 @@
eOpposite="#//DataSet/ReferredByControl"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToControl"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ControlWithIEDName" eSuperTypes="#//Control">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="confRev" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"
......@@ -878,15 +884,12 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="Inputs" ordered="false"
eType="#//Inputs" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//Inputs/ExtRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToAnyLN" ordered="false"
eType="#//AnyLN" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//AnyLN/ReferredByExtRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToDataAttribute"
ordered="false" eType="#//DataAttribute" transient="true" unsettable="true"
resolveProxies="false" eOpposite="#//DataAttribute/ReferredByExtRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToDataObject" ordered="false"
eType="#//DataObject" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//DataObject/ReferredByExtRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToAbstractDataAttribute"
ordered="false" eType="#//AbstractDataAttribute" transient="true" unsettable="true"
resolveProxies="false" eOpposite="#//AbstractDataAttribute/ReferredByExtRef"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToDOType" ordered="false"
eType="#//DOType" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//DOType/ReferredByExtRef"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pServT" eType="#//ServiceType"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pLN" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
......@@ -895,6 +898,9 @@
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="pDA" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RefersToControl" ordered="false"
eType="#//Control" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//Control/ReferredByExtRef"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FCDA" eSuperTypes="#//ExplicitLinkResolver">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="daName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
......@@ -2033,16 +2039,10 @@
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToDataObject"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataAttribute" abstract="true" eSuperTypes="#//UnNaming">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ReferredByExtRef" ordered="false"
upperBound="-1" eType="#//ExtRef" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ExtRef/RefersToDataAttribute"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SclObject" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lineNumber" lowerBound="1"
......
......@@ -261,6 +261,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//AbstractDataAttribute/Val"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AbstractDataAttribute/RefersToDAType"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AbstractDataAttribute/ReferredByFCDA"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AbstractDataAttribute/ReferredByExtRef"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//BDA">
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//BDA/DAType"/>
......@@ -291,6 +292,7 @@
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//DOType/DataTypeTemplates"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//DOType/SDO"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//DOType/ReferredBySDO"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//DOType/ReferredByExtRef"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//DataTypeTemplates">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//DataTypeTemplates/DAType"/>
......@@ -365,7 +367,6 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/ReportControl"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/LogControl"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/DataSet"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/ReferredByExtRef"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/ReferredByClientLN"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/ReferredByLogControl"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//AnyLN/ReferredByAssociation"/>
......@@ -443,6 +444,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//Control/datSet"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//Control/RefersToDataSet"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//Control/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//Control/ReferredByExtRef"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//ControlWithIEDName">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ControlWithIEDName/confRev"/>
......@@ -503,13 +505,13 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/srcLNInst"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/srcPrefix"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/Inputs"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToAnyLN"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToDataAttribute"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToDataObject"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToAbstractDataAttribute"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToDOType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/pServT"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/pLN"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/pDO"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ExtRef/pDA"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//ExtRef/RefersToControl"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//FCDA">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//FCDA/daName"/>
......@@ -999,11 +1001,9 @@
<genClasses image="false" ecoreClass="SCL.ecore#//DataObject">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//DataObject/accessControl"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//DataObject/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//DataObject/ReferredByExtRef"/>
</genClasses>
<genClasses image="false" ecoreClass="SCL.ecore#//DataAttribute">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//DataAttribute/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference SCL.ecore#//DataAttribute/ReferredByExtRef"/>
</genClasses>
<genClasses image="false" ecoreClass="SCL.ecore#//SclObject">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SclObject/lineNumber"/>
......
......@@ -39,6 +39,7 @@ import org.eclipse.emf.common.util.EList;
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getVal <em>Val</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getRefersToDAType <em>Refers To DA Type</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getReferredByFCDA <em>Referred By FCDA</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getReferredByExtRef <em>Referred By Ext Ref</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractDataAttribute()
......@@ -554,4 +555,41 @@ public interface AbstractDataAttribute extends DataAttribute {
*/
boolean isSetReferredByFCDA();
/**
* Returns the value of the '<em><b>Referred By Ext Ref</b></em>' reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToAbstractDataAttribute <em>Refers To Abstract Data Attribute</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Referred By Ext Ref</em>' reference list.
* @see #isSetReferredByExtRef()
* @see #unsetReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractDataAttribute_ReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToAbstractDataAttribute
* @model opposite="RefersToAbstractDataAttribute" resolveProxies="false" unsettable="true" transient="true" ordered="false"
* @generated
*/
EList<ExtRef> getReferredByExtRef();
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getReferredByExtRef <em>Referred By Ext Ref</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetReferredByExtRef()
* @see #getReferredByExtRef()
* @generated
*/
void unsetReferredByExtRef();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractDataAttribute#getReferredByExtRef <em>Referred By Ext Ref</em>}' reference list is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Referred By Ext Ref</em>' reference list is set.
* @see #unsetReferredByExtRef()
* @see #getReferredByExtRef()
* @generated
*/
boolean isSetReferredByExtRef();
} // AbstractDataAttribute
......@@ -39,7 +39,6 @@ import org.eclipse.emf.common.util.EList;
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReportControl <em>Report Control</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getLogControl <em>Log Control</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getDataSet <em>Data Set</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByExtRef <em>Referred By Ext Ref</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByClientLN <em>Referred By Client LN</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByLogControl <em>Referred By Log Control</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByAssociation <em>Referred By Association</em>}</li>
......@@ -526,47 +525,6 @@ public interface AnyLN extends UnNaming {
*/
boolean isSetDataSet();
/**
* Returns the value of the '<em><b>Referred By Ext Ref</b></em>' reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToAnyLN <em>Refers To Any LN</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Referred By Ext Ref</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Referred By Ext Ref</em>' reference list.
* @see #isSetReferredByExtRef()
* @see #unsetReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyLN_ReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToAnyLN
* @model opposite="RefersToAnyLN" resolveProxies="false" unsettable="true" transient="true" ordered="false"
* @generated
*/
EList<ExtRef> getReferredByExtRef();
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByExtRef <em>Referred By Ext Ref</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetReferredByExtRef()
* @see #getReferredByExtRef()
* @generated
*/
void unsetReferredByExtRef();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AnyLN#getReferredByExtRef <em>Referred By Ext Ref</em>}' reference list is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Referred By Ext Ref</em>' reference list is set.
* @see #unsetReferredByExtRef()
* @see #getReferredByExtRef()
* @generated
*/
boolean isSetReferredByExtRef();
/**
* Returns the value of the '<em><b>Referred By Client LN</b></em>' reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientLN}.
......
......@@ -18,6 +18,8 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Control</b></em>'.
......@@ -30,6 +32,7 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl;
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Control#getDatSet <em>Dat Set</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Control#getRefersToDataSet <em>Refers To Data Set</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Control#getName <em>Name</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Control#getReferredByExtRef <em>Referred By Ext Ref</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getControl()
......@@ -198,6 +201,43 @@ public interface Control extends UnNaming {
*/
boolean isSetName();
/**
* Returns the value of the '<em><b>Referred By Ext Ref</b></em>' reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToControl <em>Refers To Control</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Referred By Ext Ref</em>' reference list.
* @see #isSetReferredByExtRef()
* @see #unsetReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getControl_ReferredByExtRef()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ExtRef#getRefersToControl
* @model opposite="RefersToControl" resolveProxies="false" unsettable="true" transient="true" ordered="false"
* @generated
*/
EList<ExtRef> getReferredByExtRef();
/**