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.
......@@ -36,85 +36,87 @@ import org.eclipse.emf.common.util.EList;
*/
public interface AbstractConductingEquipment extends Equipment {
/**
* 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}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc -->
* 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}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.SubEquipment#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Sub Equipment</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Sub Equipment</em>' containment reference list.
* @see #isSetSubEquipment()
* @see #unsetSubEquipment()
* @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"
* @generated
*/
* @return the value of the '<em>Sub Equipment</em>' containment reference list.
* @see #isSetSubEquipment()
* @see #unsetSubEquipment()
* @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();
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list.
* <!-- begin-user-doc -->
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getSubEquipment <em>Sub Equipment</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetSubEquipment()
* @see #getSubEquipment()
* @generated
*/
* @see #isSetSubEquipment()
* @see #getSubEquipment()
* @generated
*/
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.
* <!-- begin-user-doc -->
* 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 -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Sub Equipment</em>' containment reference list is set.
* @see #unsetSubEquipment()
* @see #getSubEquipment()
* @generated
*/
* @return whether the value of the '<em>Sub Equipment</em>' containment reference list is set.
* @see #unsetSubEquipment()
* @see #getSubEquipment()
* @generated
*/
boolean isSetSubEquipment();
/**
* 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}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc -->
* 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}.
* It is bidirectional and its opposite is '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.Terminal#getAbstractConductingEquipment <em>Abstract Conducting Equipment</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Terminal</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Terminal</em>' containment reference list.
* @see #isSetTerminal()
* @see #unsetTerminal()
* @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"
* @generated
*/
* @return the value of the '<em>Terminal</em>' containment reference list.
* @see #isSetTerminal()
* @see #unsetTerminal()
* @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();
/**
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list.
* <!-- begin-user-doc -->
* Unsets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AbstractConductingEquipment#getTerminal <em>Terminal</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetTerminal()
* @see #getTerminal()
* @generated
*/
* @see #isSetTerminal()
* @see #getTerminal()
* @generated
*/
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.
* <!-- begin-user-doc -->
* 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 -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Terminal</em>' containment reference list is set.
* @see #unsetTerminal()
* @see #getTerminal()
* @generated
*/
* @return whether the value of the '<em>Terminal</em>' containment reference list is set.
* @see #unsetTerminal()
* @see #getTerminal()
* @generated
*/
boolean isSetTerminal();
} // AbstractConductingEquipment
......@@ -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>'.
......@@ -33,31 +36,41 @@ package fr.centralesupelec.edf.riseclipse.iec61850.scl;
*/
public interface AccessControl extends SclObject {
/**
* 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>}'.
* <!-- begin-user-doc -->
* 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>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>LDevice</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>LDevice</em>' container reference.
* @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"
* @generated
*/
* @return the value of the '<em>LDevice</em>' container reference.
* @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"
* 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();
/**
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AccessControl#getLDevice <em>LDevice</em>}' container reference.
* <!-- begin-user-doc -->
* Sets the value of the '{@link fr.centralesupelec.edf.riseclipse.iec61850.scl.AccessControl#getLDevice <em>LDevice</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>LDevice</em>' container reference.
* @see #getLDevice()
* @generated
*/
* @param value the new value of the '<em>LDevice</em>' container reference.
* @see #getLDevice()
* @generated
*/
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
......@@ -39,71 +39,75 @@ import org.eclipse.emf.ecore.util.FeatureMap;
*/
public interface AnyContentFromOtherNamespace extends SclObject {
/**
* 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}.
* <!-- begin-user-doc -->
* 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}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mixed</em>' attribute list.
* @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'"
* @generated
*/
* @return the value of the '<em>Mixed</em>' attribute list.
* @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();
/**
* 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}.
* <!-- begin-user-doc -->
* 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}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Group</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Group</em>' attribute list.
* @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'"
* @generated
*/
* @return the value of the '<em>Group</em>' attribute list.
* @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();
/**
* 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}.
* <!-- begin-user-doc -->
* 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}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Any</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Any</em>' attribute list.
* @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'"
* @generated
*/
* @return the value of the '<em>Any</em>' attribute list.
* @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();
/**
* 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}.
* <!-- begin-user-doc -->
* 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}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Any Attribute</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Any Attribute</em>' attribute list.
* @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'"
* @generated
*/
* @return the value of the '<em>Any Attribute</em>' attribute list.
* @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();
} // AnyContentFromOtherNamespace
......@@ -32,195 +32,195 @@ import org.eclipse.emf.common.util.Enumerator;
*/
public enum AssociationKindEnum implements Enumerator {
/**
* The '<em><b>Pre established</b></em>' literal object.
* <!-- begin-user-doc -->
* The '<em><b>Pre established</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #PRE_ESTABLISHED_VALUE
* @generated
* @ordered
*/
* @see #PRE_ESTABLISHED_VALUE
* @generated
* @ordered
*/
PRE_ESTABLISHED( 0, "pre_established", "pre_established" ),
/**
* The '<em><b>Predefined</b></em>' literal object.
* <!-- begin-user-doc -->
* The '<em><b>Predefined</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #PREDEFINED_VALUE
* @generated
* @ordered
*/
* @see #PREDEFINED_VALUE
* @generated
* @ordered
*/
PREDEFINED( 1, "predefined", "predefined" );
/**
* The '<em><b>Pre established</b></em>' literal value.
* <!-- begin-user-doc -->
* The '<em><b>Pre established</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Pre established</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #PRE_ESTABLISHED
* @model name="pre_established"
* @generated
* @ordered
*/
* @see #PRE_ESTABLISHED
* @model name="pre_established"
* @generated
* @ordered
*/
public static final int PRE_ESTABLISHED_VALUE = 0;
/**
* The '<em><b>Predefined</b></em>' literal value.
* <!-- begin-user-doc -->
* The '<em><b>Predefined</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Predefined</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @see #PREDEFINED
* @model name="predefined"
* @generated
* @ordered
*/
* @see #PREDEFINED
* @model name="predefined"
* @generated
* @ordered
*/
public static final int PREDEFINED_VALUE = 1;
/**
* An array of all the '<em><b>Association Kind Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* An array of all the '<em><b>Association Kind Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
* @generated
*/
private static final AssociationKindEnum[] VALUES_ARRAY = new AssociationKindEnum[] {
PRE_ESTABLISHED,
PREDEFINED,
};
PRE_ESTABLISHED,
PREDEFINED,
};
/**
* A public read-only list of all the '<em><b>Association Kind Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* A public read-only list of all the '<em><b>Association Kind Enum</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
* @generated
*/
public static final List<AssociationKindEnum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
* Returns the '<em><b>Association Kind Enum</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* Returns the '<em><b>Association Kind Enum</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
* @param literal the literal.
* @return the matching enumerator or <code>null</code>.
* @generated
*/
public static AssociationKindEnum get( String literal ) {
for (int i = 0; i < VALUES_ARRAY.length; ++i) {
AssociationKindEnum result = VALUES_ARRAY[i];
if (result.toString().equals(literal)) {
return result;
}
}
return null;
}
/**
* Returns the '<em><b>Association Kind Enum</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name the name.
* @return the matching enumerator or <code>null</code>.
* @generated
*/