Commit 2feb4324 authored by HemeryJu's avatar HemeryJu

Generation du code Java compilé

parent 6ea2d86b
......@@ -12,6 +12,8 @@ Export-Package: fr.centralesupelec.edf.riseclipse.iec61850.scl,
fr.centralesupelec.edf.riseclipse.iec61850.scl.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.eclipse.ocl.pivot;visibility:=reexport,
org.eclipse.ocl.examples.codegen;visibility:=reexport,
org.eclipse.emf.ecore.xmi;visibility:=reexport,
fr.centralesupelec.edf.riseclipse.main
Bundle-ActivationPolicy: lazy
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -51,6 +51,7 @@ public interface AbstractConductingEquipment extends Equipment {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_SubEquipment()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment
* @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AbstractConductingEquipment!SubEquipment'"
* @generated
*/
EList<SubEquipment> getSubEquipment();
......@@ -92,6 +93,7 @@ public interface AbstractConductingEquipment extends Equipment {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_Terminal()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment
* @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" upper="2" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AbstractConductingEquipment!Terminal'"
* @generated
*/
EList<Terminal> getTerminal();
......
......@@ -15,6 +15,8 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
/**
......@@ -50,6 +52,7 @@ public interface AbstractEqFuncSubFunc extends PowerSystemResource {
* @see #setType(String)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractEqFuncSubFunc_Type()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AbstractEqFuncSubFunc!type'"
* @generated
*/
String getType();
......@@ -105,6 +108,7 @@ public interface AbstractEqFuncSubFunc extends PowerSystemResource {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractEqFuncSubFunc_EqSubFunction()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.EqSubFunction#getAbstractEqFuncSubFunc
* @model opposite="AbstractEqFuncSubFunc" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AbstractEqFuncSubFunc!EqSubFunction'"
* @generated
*/
EList<EqSubFunction> getEqSubFunction();
......@@ -146,6 +150,7 @@ public interface AbstractEqFuncSubFunc extends PowerSystemResource {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractEqFuncSubFunc_SubGeneralEquipment()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.GeneralEquipment#getAbstractEqFuncSubFunc
* @model opposite="AbstractEqFuncSubFunc" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AbstractEqFuncSubFunc!SubGeneralEquipment'"
* @generated
*/
EList<GeneralEquipment> getSubGeneralEquipment();
......@@ -171,4 +176,13 @@ public interface AbstractEqFuncSubFunc extends PowerSystemResource {
*/
boolean isSetSubGeneralEquipment();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='AbstractEqFuncSubFunc_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv AbstractEqFuncSubFunc_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateAbstractEqFuncSubFunc_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
} // AbstractEqFuncSubFunc
......@@ -15,6 +15,9 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Access Control</b></em>'.
......@@ -45,7 +48,8 @@ public interface AccessControl extends SclObject {
* @see #setLDevice(LDevice)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAccessControl_LDevice()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.LDevice#getAccessControl
* @model opposite="AccessControl" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="AccessControl" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AccessControl!LDevice'"
* @generated
*/
LDevice getLDevice();
......@@ -60,4 +64,13 @@ public interface AccessControl extends SclObject {
*/
void setLDevice( LDevice value );
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='AccessControl_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv AccessControl_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateAccessControl_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
} // AccessControl
......@@ -15,6 +15,8 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
/**
......@@ -49,7 +51,8 @@ public interface Address extends SclObject {
* @see #setConnectedAP(ConnectedAP)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAddress_ConnectedAP()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ConnectedAP#getAddress
* @model opposite="Address" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="Address" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Address!ConnectedAP'"
* @generated
*/
ConnectedAP getConnectedAP();
......@@ -77,7 +80,8 @@ public interface Address extends SclObject {
* @see #setControlBlock(ControlBlock)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAddress_ControlBlock()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ControlBlock#getAddress
* @model opposite="Address" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="Address" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Address!ControlBlock'"
* @generated
*/
ControlBlock getControlBlock();
......@@ -108,6 +112,7 @@ public interface Address extends SclObject {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAddress_P()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.P#getAddress
* @model opposite="Address" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Address!P'"
* @generated
*/
EList<P> getP();
......@@ -133,4 +138,22 @@ public interface Address extends SclObject {
*/
boolean isSetP();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Address_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv Address_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateAddress_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Address_at_least_one_P_required'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n *\n * inv Address_at_least_one_P_required:\n * let\n * severity : Integer[1] = \'Address::Address_at_least_one_P_required\'.getSeverity()\n * in\n * if severity &lt;= 0\n * then true\n * else\n * let\n * result : OclAny[1] = let status : Boolean[1] = self.P-&gt;notEmpty()\n * in\n * if status = true\n * then true\n * else\n * Tuple{message = \'Address shall contain at least one P (line \' +\n * self.lineNumber.toString() + \')\', status = status\n * }\n * endif\n * in\n * \'Address::Address_at_least_one_P_required\'.logDiagnostic(self, null, diagnostics, context, null, severity, result, 0)\n * endif\n \052/\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.evaluation.Executor%&gt; executor = &lt;%org.eclipse.ocl.pivot.internal.utilities.PivotUtilInternal%&gt;.getExecutor(this);\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.ids.IdResolver%&gt; idResolver = executor.getIdResolver();\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.IntegerValue%&gt; severity_0 = &lt;%org.eclipse.ocl.pivot.library.string.CGStringGetSeverityOperation%&gt;.INSTANCE.evaluate(executor, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Address_c_c_Address_at_least_one_P_required);\nfinal /*@NonInvalid\052/ boolean le = &lt;%org.eclipse.ocl.pivot.library.oclany.OclComparableLessThanEqualOperation%&gt;.INSTANCE.evaluate(executor, severity_0, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.INT_0).booleanValue();\n/*@NonInvalid\052/ &lt;%java.lang.Object%&gt; symbol_2;\nif (le) {\n\tsymbol_2 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;\n}\nelse {\n\tfinal /*@NonInvalid\052/ &lt;%java.util.List%&gt;&lt;&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.P%&gt;&gt; P = this.getP();\n\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.SetValue%&gt; BOXED_P = idResolver.createSetOfAll(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.SET_CLSSid_P, P);\n\tfinal /*@NonInvalid\052/ boolean status = &lt;%org.eclipse.ocl.pivot.library.collection.CollectionNotEmptyOperation%&gt;.INSTANCE.evaluate(BOXED_P).booleanValue();\n\t/*@NonInvalid\052/ &lt;%java.lang.Object%&gt; symbol_1;\n\tif (status) {\n\t\tsymbol_1 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;\n\t}\n\telse {\n\t\tfinal /*@NonInvalid\052/ int lineNumber = this.getLineNumber();\n\t\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.IntegerValue%&gt; BOXED_lineNumber = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.integerValueOf(lineNumber);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; toString = &lt;%org.eclipse.ocl.pivot.library.oclany.OclAnyToStringOperation%&gt;.INSTANCE.evaluate(BOXED_lineNumber);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; sum = &lt;%org.eclipse.ocl.pivot.library.string.StringConcatOperation%&gt;.INSTANCE.evaluate(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Address_32_shall_32_contain_32_at_32_least_32_one_32_P_32_o_line_32, toString);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; sum_0 = &lt;%org.eclipse.ocl.pivot.library.string.StringConcatOperation%&gt;.INSTANCE.evaluate(sum, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR__e);\n\t\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.TupleValue%&gt; symbol_0 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.createTupleOfEach(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.TUPLid_, sum_0, status);\n\t\tsymbol_1 = symbol_0;\n\t}\n\tfinal /*@NonInvalid\052/ boolean logDiagnostic = &lt;%org.eclipse.ocl.pivot.library.string.CGStringLogDiagnosticOperation%&gt;.INSTANCE.evaluate(executor, &lt;%org.eclipse.ocl.pivot.ids.TypeId%&gt;.BOOLEAN, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Address_c_c_Address_at_least_one_P_required, this, (Object)null, diagnostics, context, (Object)null, severity_0, symbol_1, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.INT_0).booleanValue();\n\tsymbol_2 = logDiagnostic;\n}\nreturn Boolean.TRUE == symbol_2;'"
* @generated
*/
boolean validateAddress_at_least_one_P_required(DiagnosticChain diagnostics, Map<Object, Object> context);
} // Address
......@@ -51,6 +51,7 @@ public interface AnyContentFromOtherNamespace extends SclObject {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Mixed()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='elementWildcard' name=':mixed'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AnyContentFromOtherNamespace!mixed'"
* @generated
*/
FeatureMap getMixed();
......@@ -68,6 +69,7 @@ public interface AnyContentFromOtherNamespace extends SclObject {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Group()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='group' name='group:1'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AnyContentFromOtherNamespace!group'"
* @generated
*/
FeatureMap getGroup();
......@@ -85,6 +87,7 @@ public interface AnyContentFromOtherNamespace extends SclObject {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Any()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='elementWildcard' wildcards='##other' name=':2' processing='lax' group='#group:1'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AnyContentFromOtherNamespace!any'"
* @generated
*/
FeatureMap getAny();
......@@ -102,6 +105,7 @@ public interface AnyContentFromOtherNamespace extends SclObject {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_AnyAttribute()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':3' processing='lax'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!AnyContentFromOtherNamespace!anyAttribute'"
* @generated
*/
FeatureMap getAnyAttribute();
......
......@@ -51,6 +51,7 @@ public interface Authentication extends SclObject {
* @see #setCertificate(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_Certificate()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!certificate'"
* @generated
*/
Boolean getCertificate();
......@@ -104,6 +105,7 @@ public interface Authentication extends SclObject {
* @see #setNone(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_None()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!none'"
* @generated
*/
Boolean getNone();
......@@ -157,6 +159,7 @@ public interface Authentication extends SclObject {
* @see #setPassword(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_Password()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!password'"
* @generated
*/
Boolean getPassword();
......@@ -210,6 +213,7 @@ public interface Authentication extends SclObject {
* @see #setStrong(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_Strong()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!strong'"
* @generated
*/
Boolean getStrong();
......@@ -263,6 +267,7 @@ public interface Authentication extends SclObject {
* @see #setWeak(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_Weak()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!weak'"
* @generated
*/
Boolean getWeak();
......@@ -315,7 +320,8 @@ public interface Authentication extends SclObject {
* @see #setServer(Server)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAuthentication_Server()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Server#getAuthentication
* @model opposite="Authentication" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="Authentication" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Authentication!Server'"
* @generated
*/
Server getServer();
......
......@@ -15,6 +15,9 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>BDA</b></em>'.
......@@ -45,7 +48,8 @@ public interface BDA extends AbstractDataAttribute {
* @see #setDAType(DAType)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBDA_DAType()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.DAType#getBDA
* @model opposite="BDA" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="BDA" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!BDA!DAType'"
* @generated
*/
DAType getDAType();
......@@ -60,4 +64,13 @@ public interface BDA extends AbstractDataAttribute {
*/
void setDAType( DAType value );
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BDA_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv BDA_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateBDA_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
} // BDA
......@@ -54,6 +54,7 @@ public interface BaseElement extends ExplicitLinkResolver {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBaseElement_Private()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Private#getBaseElement
* @model opposite="BaseElement" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!BaseElement!Private'"
* @generated
*/
EList<Private> getPrivate();
......@@ -94,7 +95,8 @@ public interface BaseElement extends ExplicitLinkResolver {
* @see #setText(Text)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBaseElement_Text()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Text#getBaseElement
* @model opposite="BaseElement" containment="true" unsettable="true" ordered="false"
* @model opposite="BaseElement" containment="true" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!BaseElement!Text'"
* @generated
*/
Text getText();
......@@ -147,6 +149,7 @@ public interface BaseElement extends ExplicitLinkResolver {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBaseElement_Any()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='lax'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!BaseElement!any'"
* @generated
*/
FeatureMap getAny();
......@@ -164,6 +167,7 @@ public interface BaseElement extends ExplicitLinkResolver {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBaseElement_AnyAttribute()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':3' processing='lax'"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!BaseElement!anyAttribute'"
* @generated
*/
FeatureMap getAnyAttribute();
......
......@@ -15,6 +15,8 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
/**
......@@ -51,7 +53,8 @@ public interface Bay extends EquipmentContainer {
* @see #setVoltageLevel(VoltageLevel)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBay_VoltageLevel()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.VoltageLevel#getBay
* @model opposite="Bay" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="Bay" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Bay!VoltageLevel'"
* @generated
*/
VoltageLevel getVoltageLevel();
......@@ -82,6 +85,7 @@ public interface Bay extends EquipmentContainer {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBay_Function()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Function#getBay
* @model opposite="Bay" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Bay!Function'"
* @generated
*/
EList<Function> getFunction();
......@@ -123,6 +127,7 @@ public interface Bay extends EquipmentContainer {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBay_ConnectivityNode()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ConnectivityNode#getBay
* @model opposite="Bay" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Bay!ConnectivityNode'"
* @generated
*/
EList<ConnectivityNode> getConnectivityNode();
......@@ -164,6 +169,7 @@ public interface Bay extends EquipmentContainer {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBay_Terminal()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getBay
* @model opposite="Bay" resolveProxies="false" unsettable="true" transient="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Bay!Terminal'"
* @generated
*/
EList<Terminal> getTerminal();
......@@ -205,6 +211,7 @@ public interface Bay extends EquipmentContainer {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getBay_ConductingEquipment()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.ConductingEquipment#getBay
* @model opposite="Bay" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Bay!ConductingEquipment'"
* @generated
*/
EList<ConductingEquipment> getConductingEquipment();
......@@ -230,4 +237,13 @@ public interface Bay extends EquipmentContainer {
*/
boolean isSetConductingEquipment();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Bay_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv Bay_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateBay_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
} // Bay
......@@ -15,6 +15,9 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Comm Prot</b></em>'.
......@@ -47,6 +50,7 @@ public interface CommProt extends SclObject {
* @see #setIpv6(Boolean)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getCommProt_Ipv6()
* @model unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!CommProt!ipv6'"
* @generated
*/
Boolean getIpv6();
......@@ -99,7 +103,8 @@ public interface CommProt extends SclObject {
* @see #setServices(Services)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getCommProt_Services()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Services#getCommProt
* @model opposite="CommProt" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="CommProt" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!CommProt!Services'"
* @generated
*/
Services getServices();
......@@ -114,4 +119,13 @@ public interface CommProt extends SclObject {
*/
void setServices( Services value );
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='CommProt_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv CommProt_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateCommProt_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
} // CommProt
......@@ -15,6 +15,8 @@
*/
package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
/**
......@@ -51,6 +53,7 @@ public interface Communication extends UnNaming {
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getCommunication_SubNetwork()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SubNetwork#getCommunication
* @model opposite="Communication" containment="true" unsettable="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Communication!SubNetwork'"
* @generated
*/
EList<SubNetwork> getSubNetwork();
......@@ -89,7 +92,8 @@ public interface Communication extends UnNaming {
* @see #setSCL(SCL)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getCommunication_SCL()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SCL#getCommunication
* @model opposite="Communication" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="Communication" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!Communication!SCL'"
* @generated
*/
SCL getSCL();
......@@ -104,4 +108,22 @@ public interface Communication extends UnNaming {
*/
void setSCL( SCL value );
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Communication_nothing'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n * inv Communication_nothing: true\n \052/\nreturn &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;'"
* @generated
*/
boolean validateCommunication_nothing(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Communication_at_least_one_SubNetwork_required'"
* annotation="http://www.eclipse.org/emf/2002/GenModel body='/**\n *\n * inv Communication_at_least_one_SubNetwork_required:\n * let\n * severity : Integer[1] = \'Communication::Communication_at_least_one_SubNetwork_required\'.getSeverity()\n * in\n * if severity &lt;= 0\n * then true\n * else\n * let\n * result : OclAny[1] = let\n * status : Boolean[1] = self.SubNetwork-&gt;notEmpty()\n * in\n * if status = true\n * then true\n * else\n * Tuple{message = \'Communication shall contain at least one SubNetwork (line \' +\n * self.lineNumber.toString() + \')\', status = status\n * }\n * endif\n * in\n * \'Communication::Communication_at_least_one_SubNetwork_required\'.logDiagnostic(self, null, diagnostics, context, null, severity, result, 0)\n * endif\n \052/\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.evaluation.Executor%&gt; executor = &lt;%org.eclipse.ocl.pivot.internal.utilities.PivotUtilInternal%&gt;.getExecutor(this);\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.ids.IdResolver%&gt; idResolver = executor.getIdResolver();\nfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.IntegerValue%&gt; severity_0 = &lt;%org.eclipse.ocl.pivot.library.string.CGStringGetSeverityOperation%&gt;.INSTANCE.evaluate(executor, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Communication_c_c_Communication_at_least_one_SubNetwork_required);\nfinal /*@NonInvalid\052/ boolean le = &lt;%org.eclipse.ocl.pivot.library.oclany.OclComparableLessThanEqualOperation%&gt;.INSTANCE.evaluate(executor, severity_0, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.INT_0).booleanValue();\n/*@NonInvalid\052/ &lt;%java.lang.Object%&gt; symbol_2;\nif (le) {\n\tsymbol_2 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;\n}\nelse {\n\tfinal /*@NonInvalid\052/ &lt;%java.util.List%&gt;&lt;&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SubNetwork%&gt;&gt; SubNetwork = this.getSubNetwork();\n\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.SetValue%&gt; BOXED_SubNetwork = idResolver.createSetOfAll(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.SET_CLSSid_SubNetwork, SubNetwork);\n\tfinal /*@NonInvalid\052/ boolean status = &lt;%org.eclipse.ocl.pivot.library.collection.CollectionNotEmptyOperation%&gt;.INSTANCE.evaluate(BOXED_SubNetwork).booleanValue();\n\t/*@NonInvalid\052/ &lt;%java.lang.Object%&gt; symbol_1;\n\tif (status) {\n\t\tsymbol_1 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.TRUE_VALUE;\n\t}\n\telse {\n\t\tfinal /*@NonInvalid\052/ int lineNumber = this.getLineNumber();\n\t\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.IntegerValue%&gt; BOXED_lineNumber = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.integerValueOf(lineNumber);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; toString = &lt;%org.eclipse.ocl.pivot.library.oclany.OclAnyToStringOperation%&gt;.INSTANCE.evaluate(BOXED_lineNumber);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; sum = &lt;%org.eclipse.ocl.pivot.library.string.StringConcatOperation%&gt;.INSTANCE.evaluate(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Communication_32_shall_32_contain_32_at_32_least_32_one_32_SubNetwork_32_o_line_32, toString);\n\t\tfinal /*@NonInvalid\052/ &lt;%java.lang.String%&gt; sum_0 = &lt;%org.eclipse.ocl.pivot.library.string.StringConcatOperation%&gt;.INSTANCE.evaluate(sum, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR__e);\n\t\tfinal /*@NonInvalid\052/ &lt;%org.eclipse.ocl.pivot.values.TupleValue%&gt; symbol_0 = &lt;%org.eclipse.ocl.pivot.utilities.ValueUtil%&gt;.createTupleOfEach(&lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.TUPLid_, sum_0, status);\n\t\tsymbol_1 = symbol_0;\n\t}\n\tfinal /*@NonInvalid\052/ boolean logDiagnostic = &lt;%org.eclipse.ocl.pivot.library.string.CGStringLogDiagnosticOperation%&gt;.INSTANCE.evaluate(executor, &lt;%org.eclipse.ocl.pivot.ids.TypeId%&gt;.BOOLEAN, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.STR_Communication_c_c_Communication_at_least_one_SubNetwork_required, this, (Object)null, diagnostics, context, (Object)null, severity_0, symbol_1, &lt;%fr.centralesupelec.edf.riseclipse.iec61850.scl.SclTables%&gt;.INT_0).booleanValue();\n\tsymbol_2 = logDiagnostic;\n}\nreturn Boolean.TRUE == symbol_2;'"
* @generated
*/
boolean validateCommunication_at_least_one_SubNetwork_required(DiagnosticChain diagnostics, Map<Object, Object> context);
} // Communication
......@@ -45,7 +45,8 @@ public interface ConfDataSet extends ServiceForConfDataSet {
* @see #setServices(Services)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getConfDataSet_Services()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Services#getConfDataSet
* @model opposite="ConfDataSet" resolveProxies="false" unsettable="true" ordered="false"
* @model opposite="ConfDataSet" resolveProxies="false" unsettable="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.iec.ch/61850/2003/SCL!ConfDataSet!Services'"
* @generated
*/
Services getServices();
......