Commit 7ba8af94 authored by Dominique Marcadet's avatar Dominique Marcadet

Merge branch '19-mcsecurity-is-missing' into 'master'

Resolve "McSecurity is missing"

Closes #19

See merge request RiseClipseGroup/RiseClipseMetamodel_SCL2003!17
parents 7be98404 952b3e40
......@@ -1037,3 +1037,12 @@ _UI_SmvOpts_synchSourceId_feature = Synch Source Id
_UI_TimeSyncProt_iec61850_9_3_feature = Iec61850 93
_UI_Terminal_lineName_feature = Line Name
_UI_ServiceConfReportControl_maxBuf_feature = Max Buf
_UI_McSecurity_type = Mc Security
_UI_ClientServices_McSecurity_feature = Mc Security
_UI_GSESettings_McSecurity_feature = Mc Security
_UI_SMVSettings_McSecurity_feature = Mc Security
_UI_McSecurity_ClientServices_feature = Client Services
_UI_McSecurity_GSESettings_feature = GSE Settings
_UI_McSecurity_SMVSettings_feature = SMV Settings
_UI_McSecurity_signature_feature = Signature
_UI_McSecurity_encryption_feature = Encryption
......@@ -401,6 +401,7 @@ public class ClientServicesItemProvider
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(SclPackage.eINSTANCE.getClientServices_TimeSyncProt());
childrenFeatures.add(SclPackage.eINSTANCE.getClientServices_McSecurity());
}
return childrenFeatures;
}
......@@ -474,6 +475,7 @@ public class ClientServicesItemProvider
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case SclPackage.CLIENT_SERVICES__TIME_SYNC_PROT:
case SclPackage.CLIENT_SERVICES__MC_SECURITY:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
......@@ -495,6 +497,11 @@ public class ClientServicesItemProvider
(createChildParameter
(SclPackage.eINSTANCE.getClientServices_TimeSyncProt(),
SclFactory.eINSTANCE.createTimeSyncProt()));
newChildDescriptors.add
(createChildParameter
(SclPackage.eINSTANCE.getClientServices_McSecurity(),
SclFactory.eINSTANCE.createMcSecurity()));
}
}
......@@ -23,12 +23,14 @@ import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.SclFactory;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.ServiceSettingsNoDynEnum;
......@@ -110,6 +112,36 @@ public class GSESettingsItemProvider extends ServiceSettingsItemProvider {
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
* {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(SclPackage.eINSTANCE.getGSESettings_McSecurity());
}
return childrenFeatures;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EStructuralFeature getChildFeature(Object object, Object child) {
// Check the type of the specified child object and return the proper feature to use for
// adding (see {@link AddCommand}) it as a child.
return super.getChildFeature(object, child);
}
/**
* This returns GSESettings.gif.
* <!-- begin-user-doc -->
......@@ -153,6 +185,9 @@ public class GSESettingsItemProvider extends ServiceSettingsItemProvider {
case SclPackage.GSE_SETTINGS__DATA_LABEL:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case SclPackage.GSE_SETTINGS__MC_SECURITY:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
......@@ -167,6 +202,11 @@ public class GSESettingsItemProvider extends ServiceSettingsItemProvider {
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
newChildDescriptors.add
(createChildParameter
(SclPackage.eINSTANCE.getGSESettings_McSecurity(),
SclFactory.eINSTANCE.createMcSecurity()));
}
}
/**
* Copyright (c) 2018 CentraleSupélec & EDF.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This file is part of the RiseClipse tool
*
* Contributors:
* Computer Science Department, CentraleSupélec
* EDF R&D
* Contacts:
* dominique.marcadet@centralesupelec.fr
* aurelie.dehouck-neveu@edf.fr
* Web site:
* http://wdi.supelec.fr/software/RiseClipse/
*
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl.provider;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity;
import fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
/**
* This is the item provider adapter for a {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity} object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public class McSecurityItemProvider extends SclObjectItemProvider {
/**
* This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public McSecurityItemProvider(AdapterFactory adapterFactory) {
super(adapterFactory);
}
/**
* This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
if (itemPropertyDescriptors == null) {
super.getPropertyDescriptors(object);
addSignaturePropertyDescriptor(object);
addEncryptionPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
/**
* This adds a property descriptor for the Signature feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addSignaturePropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_McSecurity_signature_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_McSecurity_signature_feature", "_UI_McSecurity_type"),
SclPackage.eINSTANCE.getMcSecurity_Signature(),
true,
false,
false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
null,
null));
}
/**
* This adds a property descriptor for the Encryption feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void addEncryptionPropertyDescriptor(Object object) {
itemPropertyDescriptors.add
(createItemPropertyDescriptor
(((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
getResourceLocator(),
getString("_UI_McSecurity_encryption_feature"),
getString("_UI_PropertyDescriptor_description", "_UI_McSecurity_encryption_feature", "_UI_McSecurity_type"),
SclPackage.eINSTANCE.getMcSecurity_Encryption(),
true,
false,
false,
ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
null,
null));
}
/**
* This returns McSecurity.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object getImage(Object object) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/McSecurity"));
}
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getText(Object object) {
McSecurity mcSecurity = (McSecurity)object;
return getString("_UI_McSecurity_type") + " " + mcSecurity.getLineNumber();
}
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(McSecurity.class)) {
case SclPackage.MC_SECURITY__SIGNATURE:
case SclPackage.MC_SECURITY__ENCRYPTION:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
super.notifyChanged(notification);
}
/**
* This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
* that can be created under this object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
super.collectNewChildDescriptors(newChildDescriptors, object);
}
}
......@@ -265,6 +265,7 @@ public class SMVSettingsItemProvider extends ServiceSettingsItemProvider {
childrenFeatures.add(SclPackage.eINSTANCE.getSMVSettings_SmpRate());
childrenFeatures.add(SclPackage.eINSTANCE.getSMVSettings_SamplesPerSec());
childrenFeatures.add(SclPackage.eINSTANCE.getSMVSettings_SecPerSamples());
childrenFeatures.add(SclPackage.eINSTANCE.getSMVSettings_McSecurity());
}
return childrenFeatures;
}
......@@ -334,6 +335,7 @@ public class SMVSettingsItemProvider extends ServiceSettingsItemProvider {
case SclPackage.SMV_SETTINGS__SMP_RATE:
case SclPackage.SMV_SETTINGS__SAMPLES_PER_SEC:
case SclPackage.SMV_SETTINGS__SEC_PER_SAMPLES:
case SclPackage.SMV_SETTINGS__MC_SECURITY:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
......@@ -365,6 +367,11 @@ public class SMVSettingsItemProvider extends ServiceSettingsItemProvider {
(createChildParameter
(SclPackage.eINSTANCE.getSMVSettings_SecPerSamples(),
SclFactory.eINSTANCE.createSecPerSamples()));
newChildDescriptors.add
(createChildParameter
(SclPackage.eINSTANCE.getSMVSettings_McSecurity(),
SclFactory.eINSTANCE.createMcSecurity()));
}
}
......@@ -961,6 +961,29 @@ public class SclItemProviderAdapterFactory extends SclAdapterFactory implements
return secPerSamplesItemProvider;
}
/**
* This keeps track of the one adapter used for all {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected McSecurityItemProvider mcSecurityItemProvider;
/**
* This creates an adapter for a {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Adapter createMcSecurityAdapter() {
if (mcSecurityItemProvider == null) {
mcSecurityItemProvider = new McSecurityItemProvider(this);
}
return mcSecurityItemProvider;
}
/**
* This keeps track of the one adapter used for all {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.DurationInMilliSec} instances.
* <!-- begin-user-doc -->
......@@ -3762,6 +3785,7 @@ public class SclItemProviderAdapterFactory extends SclAdapterFactory implements
if (smpRateItemProvider != null) smpRateItemProvider.dispose();
if (samplesPerSecItemProvider != null) samplesPerSecItemProvider.dispose();
if (secPerSamplesItemProvider != null) secPerSamplesItemProvider.dispose();
if (mcSecurityItemProvider != null) mcSecurityItemProvider.dispose();
}
}
......@@ -742,6 +742,9 @@
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="noIctBinding" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="McSecurity" ordered="false"
eType="#//McSecurity" unsettable="true" containment="true" resolveProxies="false"
eOpposite="#//McSecurity/ClientServices"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CommProt" eSuperTypes="#//SclObject">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ipv6" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
......@@ -1017,6 +1020,9 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="Services" ordered="false"
eType="#//Services" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//Services/GSESettings"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="McSecurity" ordered="false"
eType="#//McSecurity" unsettable="true" containment="true" resolveProxies="false"
eOpposite="#//McSecurity/GSESettings"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GSSE" eSuperTypes="#//ServiceWithMax">
<eStructuralFeatures xsi:type="ecore:EReference" name="Services" ordered="false"
......@@ -1383,6 +1389,9 @@
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="kdaParticipant" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="McSecurity" ordered="false"
eType="#//McSecurity" unsettable="true" containment="true" resolveProxies="false"
eOpposite="#//McSecurity/SMVSettings"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SMVsc" eSuperTypes="#//ServiceWithMax">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="delivery" eType="#//SMVDeliveryEnum"
......@@ -2267,4 +2276,19 @@
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="McSecurity" eSuperTypes="#//SclObject">
<eStructuralFeatures xsi:type="ecore:EReference" name="ClientServices" ordered="false"
eType="#//ClientServices" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//ClientServices/McSecurity"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="GSESettings" ordered="false"
eType="#//GSESettings" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//GSESettings/McSecurity"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="SMVSettings" ordered="false"
eType="#//SMVSettings" transient="true" unsettable="true" resolveProxies="false"
eOpposite="#//SMVSettings/McSecurity"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="signature" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="encryption" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
unsettable="true"/>
</eClassifiers>
</ecore:EPackage>
......@@ -430,6 +430,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ClientServices/rGOOSE"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ClientServices/rSV"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//ClientServices/noIctBinding"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//ClientServices/McSecurity"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//CommProt">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//CommProt/ipv6"/>
......@@ -575,6 +576,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//GSESettings/appID"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//GSESettings/dataLabel"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//GSESettings/Services"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//GSESettings/McSecurity"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//GSSE">
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//GSSE/Services"/>
......@@ -751,6 +753,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SMVSettings/synchSrcId"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SMVSettings/nofASDU"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SMVSettings/kdaParticipant"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference SCL.ecore#//SMVSettings/McSecurity"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//SMVsc">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SMVsc/delivery"/>
......@@ -1113,5 +1116,12 @@
<genClasses ecoreClass="SCL.ecore#//SecPerSamples">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//SecPerSamples/value"/>
</genClasses>
<genClasses ecoreClass="SCL.ecore#//McSecurity">
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//McSecurity/ClientServices"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//McSecurity/GSESettings"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference SCL.ecore#//McSecurity/SMVSettings"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//McSecurity/signature"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute SCL.ecore#//McSecurity/encryption"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
......@@ -43,6 +43,7 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl;
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getRGOOSE <em>RGOOSE</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getRSV <em>RSV</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getNoIctBinding <em>No Ict Binding</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity <em>Mc Security</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getClientServices()
......@@ -875,4 +876,59 @@ public interface ClientServices extends SclObject {
*/
boolean isSetNoIctBinding();
/**
* Returns the value of the '<em><b>Mc Security</b></em>' containment reference.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getClientServices <em>Client Services</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mc Security</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mc Security</em>' containment reference.
* @see #isSetMcSecurity()
* @see #unsetMcSecurity()
* @see #setMcSecurity(McSecurity)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getClientServices_McSecurity()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getClientServices
* @model opposite="ClientServices" containment="true" unsettable="true" ordered="false"
* @generated
*/
McSecurity getMcSecurity();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity <em>Mc Security</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mc Security</em>' containment reference.
* @see #isSetMcSecurity()
* @see #unsetMcSecurity()
* @see #getMcSecurity()
* @generated
*/
void setMcSecurity(McSecurity value);
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity <em>Mc Security</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetMcSecurity()
* @see #getMcSecurity()
* @see #setMcSecurity(McSecurity)
* @generated
*/
void unsetMcSecurity();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity <em>Mc Security</em>}' containment reference is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Mc Security</em>' containment reference is set.
* @see #unsetMcSecurity()
* @see #getMcSecurity()
* @see #setMcSecurity(McSecurity)
* @generated
*/
boolean isSetMcSecurity();
} // ClientServices
......@@ -30,6 +30,7 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl;
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getAppID <em>App ID</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getDataLabel <em>Data Label</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getServices <em>Services</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getMcSecurity <em>Mc Security</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getGSESettings()
......@@ -177,4 +178,59 @@ public interface GSESettings extends ServiceSettings {
*/
void setServices( Services value );
/**
* Returns the value of the '<em><b>Mc Security</b></em>' containment reference.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getGSESettings <em>GSE Settings</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mc Security</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mc Security</em>' containment reference.
* @see #isSetMcSecurity()
* @see #unsetMcSecurity()
* @see #setMcSecurity(McSecurity)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getGSESettings_McSecurity()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getGSESettings
* @model opposite="GSESettings" containment="true" unsettable="true" ordered="false"
* @generated
*/
McSecurity getMcSecurity();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getMcSecurity <em>Mc Security</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mc Security</em>' containment reference.
* @see #isSetMcSecurity()
* @see #unsetMcSecurity()
* @see #getMcSecurity()
* @generated
*/
void setMcSecurity(McSecurity value);
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getMcSecurity <em>Mc Security</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetMcSecurity()
* @see #getMcSecurity()
* @see #setMcSecurity(McSecurity)
* @generated
*/
void unsetMcSecurity();
/**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.GSESettings#getMcSecurity <em>Mc Security</em>}' containment reference is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Mc Security</em>' containment reference is set.
* @see #unsetMcSecurity()
* @see #getMcSecurity()
* @see #setMcSecurity(McSecurity)
* @generated
*/
boolean isSetMcSecurity();
} // GSESettings
/**
* Copyright (c) 2018 CentraleSupélec & EDF.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This file is part of the RiseClipse tool
*
* Contributors:
* Computer Science Department, CentraleSupélec
* EDF R&D
* Contacts:
* dominique.marcadet@centralesupelec.fr
* aurelie.dehouck-neveu@edf.fr
* Web site:
* http://wdi.supelec.fr/software/RiseClipse/
*
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Mc Security</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getClientServices <em>Client Services</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getGSESettings <em>GSE Settings</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getSMVSettings <em>SMV Settings</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getSignature <em>Signature</em>}</li>
* <li>{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.McSecurity#getEncryption <em>Encryption</em>}</li>
* </ul>
*
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getMcSecurity()
* @model
* @generated
*/
public interface McSecurity extends SclObject {
/**
* Returns the value of the '<em><b>Client Services</b></em>' container reference.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity <em>Mc Security</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Client Services</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Client Services</em>' container reference.
* @see #setClientServices(ClientServices)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getMcSecurity_ClientServices()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ClientServices#getMcSecurity
* @model opposite="McSecurity" resolveProxies="false" unsettable="true" ordered="false"
* @generated
*/
ClientServices getClientServices();