Skip to content

Commit

Permalink
Merge pull request #46 from riseclipse/45-initialize-the-attributes-v…
Browse files Browse the repository at this point in the history
…alues-with-the-default-values-defined-in-the-xsd-for-iedengright

add full default value to engRight
  • Loading branch information
marcadetd authored Jun 17, 2024
2 parents fbb1a63 + 6b161ea commit 1a745dc
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="configVersion" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="engRight" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
defaultValueLiteral="full" unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="manufacturer" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="originalSclRevision" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
** are made available under the terms of the Eclipse Public License v2.0
** which accompanies this distribution, and is available at
** https://www.eclipse.org/legal/epl-v20.html
**
**
** This file is part of the RiseClipse tool
**
**
** Contributors:
** Computer Science Department, CentraleSupélec
** EDF R&D
Expand Down Expand Up @@ -107,6 +107,7 @@ public interface IED extends UnNaming {

/**
* Returns the value of the '<em><b>Eng Right</b></em>' attribute.
* The default value is <code>"full"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Eng Right</em>' attribute isn't clear,
Expand All @@ -118,7 +119,7 @@ public interface IED extends UnNaming {
* @see #unsetEngRight()
* @see #setEngRight(String)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getIED_EngRight()
* @model unsettable="true"
* @model default="full" unsettable="true"
* @generated
*/
String getEngRight();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import java.util.Collection;
import java.util.List;

import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
Expand Down
Loading

0 comments on commit 1a745dc

Please sign in to comment.