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, ...@@ -12,6 +12,8 @@ Export-Package: fr.centralesupelec.edf.riseclipse.iec61850.scl,
fr.centralesupelec.edf.riseclipse.iec61850.scl.util fr.centralesupelec.edf.riseclipse.iec61850.scl.util
Require-Bundle: org.eclipse.core.runtime, Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport, 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, org.eclipse.emf.ecore.xmi;visibility:=reexport,
fr.centralesupelec.edf.riseclipse.main fr.centralesupelec.edf.riseclipse.main
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -36,85 +36,87 @@ import org.eclipse.emf.common.util.EList; ...@@ -36,85 +36,87 @@ import org.eclipse.emf.common.util.EList;
*/ */
public interface AbstractConductingEquipment extends Equipment { public interface AbstractConductingEquipment extends Equipment {
/** /**
* Returns the value of the '<em><b>Sub Equipment</b></em>' containment reference list. * Returns the value of the '<em><b>Sub Equipment</b></em>' containment reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment}. * The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'. * It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Sub Equipment</em>' containment reference list isn't clear, * If the meaning of the '<em>Sub Equipment</em>' containment reference list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Sub Equipment</em>' containment reference list. * @return the value of the '<em>Sub Equipment</em>' containment reference list.
* @see #isSetSubEquipment() * @see #isSetSubEquipment()
* @see #unsetSubEquipment() * @see #unsetSubEquipment()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_SubEquipment() * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_SubEquipment()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment
* @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" ordered="false" * @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" ordered="false"
* @generated * 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(); EList<SubEquipment> getSubEquipment();
/** /**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list. * Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #isSetSubEquipment() * @see #isSetSubEquipment()
* @see #getSubEquipment() * @see #getSubEquipment()
* @generated * @generated
*/ */
void unsetSubEquipment(); void unsetSubEquipment();
/** /**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list is set. * Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list is set.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return whether the value of the '<em>Sub Equipment</em>' containment reference list is set. * @return whether the value of the '<em>Sub Equipment</em>' containment reference list is set.
* @see #unsetSubEquipment() * @see #unsetSubEquipment()
* @see #getSubEquipment() * @see #getSubEquipment()
* @generated * @generated
*/ */
boolean isSetSubEquipment(); boolean isSetSubEquipment();
/** /**
* Returns the value of the '<em><b>Terminal</b></em>' containment reference list. * Returns the value of the '<em><b>Terminal</b></em>' containment reference list.
* The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal}. * The list contents are of type {@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'. * It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Terminal</em>' containment reference list isn't clear, * If the meaning of the '<em>Terminal</em>' containment reference list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Terminal</em>' containment reference list. * @return the value of the '<em>Terminal</em>' containment reference list.
* @see #isSetTerminal() * @see #isSetTerminal()
* @see #unsetTerminal() * @see #unsetTerminal()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_Terminal() * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAbstractConductingEquipment_Terminal()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment
* @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" upper="2" ordered="false" * @model opposite="AbstractConductingEquipment" containment="true" unsettable="true" upper="2" ordered="false"
* @generated * 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(); EList<Terminal> getTerminal();
/** /**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list. * Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #isSetTerminal() * @see #isSetTerminal()
* @see #getTerminal() * @see #getTerminal()
* @generated * @generated
*/ */
void unsetTerminal(); void unsetTerminal();
/** /**
* Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list is set. * Returns whether the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list is set.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return whether the value of the '<em>Terminal</em>' containment reference list is set. * @return whether the value of the '<em>Terminal</em>' containment reference list is set.
* @see #unsetTerminal() * @see #unsetTerminal()
* @see #getTerminal() * @see #getTerminal()
* @generated * @generated
*/ */
boolean isSetTerminal(); boolean isSetTerminal();
} // AbstractConductingEquipment } // AbstractConductingEquipment
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
*/ */
package fr.centralesupelec.edf.riseclipse.iec61850.scl; package fr.centralesupelec.edf.riseclipse.iec61850.scl;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* A representation of the model object '<em><b>Access Control</b></em>'. * A representation of the model object '<em><b>Access Control</b></em>'.
...@@ -33,31 +36,41 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl; ...@@ -33,31 +36,41 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl;
*/ */
public interface AccessControl extends SclObject { public interface AccessControl extends SclObject {
/** /**
* Returns the value of the '<em><b>LDevice</b></em>' container reference. * Returns the value of the '<em><b>LDevice</b></em>' container reference.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.LDevice#getAccessControl <em>Access Control</em>}'. * It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.LDevice#getAccessControl <em>Access Control</em>}'.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>LDevice</em>' container reference isn't clear, * If the meaning of the '<em>LDevice</em>' container reference isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>LDevice</em>' container reference. * @return the value of the '<em>LDevice</em>' container reference.
* @see #setLDevice(LDevice) * @see #setLDevice(LDevice)
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAccessControl_LDevice() * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAccessControl_LDevice()
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.LDevice#getAccessControl * @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"
* @generated * 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(); LDevice getLDevice();
/** /**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AccessControl#getLDevice <em>LDevice</em>}' container reference. * Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AccessControl#getLDevice <em>LDevice</em>}' container reference.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @param value the new value of the '<em>LDevice</em>' container reference. * @param value the new value of the '<em>LDevice</em>' container reference.
* @see #getLDevice() * @see #getLDevice()
* @generated * @generated
*/ */
void setLDevice( LDevice value ); 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 } // AccessControl
...@@ -39,71 +39,75 @@ import org.eclipse.emf.ecore.util.FeatureMap; ...@@ -39,71 +39,75 @@ import org.eclipse.emf.ecore.util.FeatureMap;
*/ */
public interface AnyContentFromOtherNamespace extends SclObject { public interface AnyContentFromOtherNamespace extends SclObject {
/** /**
* Returns the value of the '<em><b>Mixed</b></em>' attribute list. * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Mixed</em>' attribute list isn't clear, * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Mixed</em>' attribute list. * @return the value of the '<em>Mixed</em>' attribute list.
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Mixed() * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Mixed()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='elementWildcard' name=':mixed'" * extendedMetaData="kind='elementWildcard' name=':mixed'"
* @generated * 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(); FeatureMap getMixed();
/** /**
* Returns the value of the '<em><b>Group</b></em>' attribute list. * Returns the value of the '<em><b>Group</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Group</em>' attribute list isn't clear, * If the meaning of the '<em>Group</em>' attribute list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Group</em>' attribute list. * @return the value of the '<em>Group</em>' attribute list.
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Group() * @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" * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true"
* extendedMetaData="kind='group' name='group:1'" * extendedMetaData="kind='group' name='group:1'"
* @generated * 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(); FeatureMap getGroup();
/** /**
* Returns the value of the '<em><b>Any</b></em>' attribute list. * Returns the value of the '<em><b>Any</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Any</em>' attribute list isn't clear, * If the meaning of the '<em>Any</em>' attribute list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Any</em>' attribute list. * @return the value of the '<em>Any</em>' attribute list.
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_Any() * @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" * @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'" * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':2' processing='lax' group='#group:1'"
* @generated * 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(); FeatureMap getAny();
/** /**
* Returns the value of the '<em><b>Any Attribute</b></em>' attribute list. * Returns the value of the '<em><b>Any Attribute</b></em>' attribute list.
* The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear, * If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @return the value of the '<em>Any Attribute</em>' attribute list. * @return the value of the '<em>Any Attribute</em>' attribute list.
* @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_AnyAttribute() * @see fr.centralesupelec.edf.riseclipse.iec61850.scl.SclPackage#getAnyContentFromOtherNamespace_AnyAttribute()
* @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
* extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':3' processing='lax'" * extendedMetaData="kind='attributeWildcard' wildcards='##other' name=':3' processing='lax'"
* @generated * 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(); FeatureMap getAnyAttribute();
} // AnyContentFromOtherNamespace } // AnyContentFromOtherNamespace
...@@ -32,195 +32,195 @@ import org.eclipse.emf.common.util.Enumerator; ...@@ -32,195 +32,195 @@ import org.eclipse.emf.common.util.Enumerator;
*/ */
public enum AssociationKindEnum implements Enumerator { public enum AssociationKindEnum implements Enumerator {
/** /**
* The '<em><b>Pre established</b></em>' literal object. * The '<em><b>Pre established</b></em>' literal object.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #PRE_ESTABLISHED_VALUE * @see #PRE_ESTABLISHED_VALUE
* @generated * @generated
* @ordered * @ordered
*/ */
PRE_ESTABLISHED( 0, "pre_established", "pre_established" ), PRE_ESTABLISHED( 0, "pre_established", "pre_established" ),
/** /**
* The '<em><b>Predefined</b></em>' literal object. * The '<em><b>Predefined</b></em>' literal object.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #PREDEFINED_VALUE * @see #PREDEFINED_VALUE
* @generated * @generated
* @ordered * @ordered
*/ */
PREDEFINED( 1, "predefined", "predefined" ); PREDEFINED( 1, "predefined", "predefined" );
/** /**
* The '<em><b>Pre established</b></em>' literal value. * The '<em><b>Pre established</b></em>' literal value.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of '<em><b>Pre established</b></em>' literal object isn't clear, * If the meaning of '<em><b>Pre established</b></em>' literal object isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #PRE_ESTABLISHED * @see #PRE_ESTABLISHED
* @model name="pre_established" * @model name="pre_established"
* @generated * @generated
* @ordered * @ordered
*/ */
public static final int PRE_ESTABLISHED_VALUE = 0; public static final int PRE_ESTABLISHED_VALUE = 0;
/** /**
* The '<em><b>Predefined</b></em>' literal value. * The '<em><b>Predefined</b></em>' literal value.
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <p> * <p>
* If the meaning of '<em><b>Predefined</b></em>' literal object isn't clear, * If the meaning of '<em><b>Predefined</b></em>' literal object isn't clear,
* there really should be more of a description here... * there really should be more of a description here...
* </p> * </p>
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @see #PREDEFINED