| package org.eclipse.stem.definitions.labels.impl; |
| |
| /******************************************************************************* |
| * Copyright (c) 2006 IBM Corporation and others. |
| * 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 |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EEnum; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| import org.eclipse.emf.ecore.EcorePackage; |
| import org.eclipse.emf.ecore.impl.EPackageImpl; |
| import org.eclipse.stem.core.common.CommonPackage; |
| import org.eclipse.stem.core.graph.GraphPackage; |
| import org.eclipse.stem.core.model.ModelPackage; |
| import org.eclipse.stem.core.modifier.ModifierPackage; |
| import org.eclipse.stem.core.scenario.ScenarioPackage; |
| import org.eclipse.stem.core.sequencer.SequencerPackage; |
| import org.eclipse.stem.core.solver.SolverPackage; |
| import org.eclipse.stem.definitions.edges.EdgesPackage; |
| import org.eclipse.stem.definitions.edges.impl.EdgesPackageImpl; |
| import org.eclipse.stem.definitions.labels.AreaLabel; |
| import org.eclipse.stem.definitions.labels.AreaLabelValue; |
| import org.eclipse.stem.definitions.labels.CommonBorderRelationshipLabel; |
| import org.eclipse.stem.definitions.labels.CommonBorderRelationshipLabelValue; |
| import org.eclipse.stem.definitions.labels.EarthScienceLabel; |
| import org.eclipse.stem.definitions.labels.EarthScienceLabelValue; |
| import org.eclipse.stem.definitions.labels.LabelsFactory; |
| import org.eclipse.stem.definitions.labels.LabelsPackage; |
| import org.eclipse.stem.definitions.labels.PhysicalRelationshipLabel; |
| import org.eclipse.stem.definitions.labels.PhysicalRelationshipLabelValue; |
| import org.eclipse.stem.definitions.labels.PopulationLabel; |
| import org.eclipse.stem.definitions.labels.PopulationLabelValue; |
| import org.eclipse.stem.definitions.labels.RelativePhysicalRelationship; |
| import org.eclipse.stem.definitions.labels.RelativePhysicalRelationshipLabel; |
| import org.eclipse.stem.definitions.labels.RelativePhysicalRelationshipLabelValue; |
| import org.eclipse.stem.definitions.labels.RoadTransportRelationshipLabel; |
| import org.eclipse.stem.definitions.labels.RoadTransportRelationshipLabelValue; |
| import org.eclipse.stem.definitions.labels.TransportMode; |
| import org.eclipse.stem.definitions.labels.TransportRelationshipLabel; |
| import org.eclipse.stem.definitions.labels.TransportRelationshipLabelValue; |
| import org.eclipse.stem.definitions.nodes.NodesPackage; |
| import org.eclipse.stem.definitions.nodes.impl.NodesPackageImpl; |
| import org.eclipse.stem.definitions.types.TypesPackage; |
| import org.eclipse.stem.definitions.types.impl.TypesPackageImpl; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model <b>Package</b>. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class LabelsPackageImpl extends EPackageImpl implements LabelsPackage { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass areaLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass areaLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass commonBorderRelationshipLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass commonBorderRelationshipLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass physicalRelationshipLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass populationLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass populationLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass relativePhysicalRelationshipLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass relativePhysicalRelationshipLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass transportRelationshipLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass transportRelationshipLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass physicalRelationshipLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass roadTransportRelationshipLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass roadTransportRelationshipLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass earthScienceLabelEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass earthScienceLabelValueEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EEnum relativePhysicalRelationshipEEnum = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EEnum transportModeEEnum = null; |
| |
| /** |
| * Creates an instance of the model <b>Package</b>, registered with |
| * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| * package URI value. |
| * <p>Note: the correct way to create the package is via the static |
| * factory method {@link #init init()}, which also performs |
| * initialization of the package, or returns the registered package, |
| * if one already exists. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.emf.ecore.EPackage.Registry |
| * @see org.eclipse.stem.definitions.labels.LabelsPackage#eNS_URI |
| * @see #init() |
| * @generated |
| */ |
| private LabelsPackageImpl() { |
| super(eNS_URI, LabelsFactory.eINSTANCE); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static boolean isInited = false; |
| |
| /** |
| * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| * |
| * <p>This method is used to initialize {@link LabelsPackage#eINSTANCE} when that field is accessed. |
| * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #eNS_URI |
| * @see #createPackageContents() |
| * @see #initializePackageContents() |
| * @generated |
| */ |
| public static LabelsPackage init() { |
| if (isInited) return (LabelsPackage)EPackage.Registry.INSTANCE.getEPackage(LabelsPackage.eNS_URI); |
| |
| // Obtain or create and register package |
| LabelsPackageImpl theLabelsPackage = (LabelsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LabelsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LabelsPackageImpl()); |
| |
| isInited = true; |
| |
| // Initialize simple dependencies |
| GraphPackage.eINSTANCE.eClass(); |
| CommonPackage.eINSTANCE.eClass(); |
| ModelPackage.eINSTANCE.eClass(); |
| ModifierPackage.eINSTANCE.eClass(); |
| ScenarioPackage.eINSTANCE.eClass(); |
| SequencerPackage.eINSTANCE.eClass(); |
| SolverPackage.eINSTANCE.eClass(); |
| |
| // Obtain or create and register interdependencies |
| EdgesPackageImpl theEdgesPackage = (EdgesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EdgesPackage.eNS_URI) instanceof EdgesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EdgesPackage.eNS_URI) : EdgesPackage.eINSTANCE); |
| NodesPackageImpl theNodesPackage = (NodesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(NodesPackage.eNS_URI) instanceof NodesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(NodesPackage.eNS_URI) : NodesPackage.eINSTANCE); |
| TypesPackageImpl theTypesPackage = (TypesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI) instanceof TypesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI) : TypesPackage.eINSTANCE); |
| |
| // Create package meta-data objects |
| theLabelsPackage.createPackageContents(); |
| theEdgesPackage.createPackageContents(); |
| theNodesPackage.createPackageContents(); |
| theTypesPackage.createPackageContents(); |
| |
| // Initialize created meta-data |
| theLabelsPackage.initializePackageContents(); |
| theEdgesPackage.initializePackageContents(); |
| theNodesPackage.initializePackageContents(); |
| theTypesPackage.initializePackageContents(); |
| |
| // Mark meta-data to indicate it can't be changed |
| theLabelsPackage.freeze(); |
| |
| |
| // Update the registry and return the package |
| EPackage.Registry.INSTANCE.put(LabelsPackage.eNS_URI, theLabelsPackage); |
| return theLabelsPackage; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getAreaLabel() { |
| return areaLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getAreaLabel_CurrentAreaValue() { |
| return (EReference)areaLabelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getAreaLabelValue() { |
| return areaLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getAreaLabelValue_Area() { |
| return (EAttribute)areaLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getAreaLabelValue_AverageExtent() { |
| return (EAttribute)areaLabelValueEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCommonBorderRelationshipLabel() { |
| return commonBorderRelationshipLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getCommonBorderRelationshipLabelValue() { |
| return commonBorderRelationshipLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getCommonBorderRelationshipLabelValue_BorderLength() { |
| return (EAttribute)commonBorderRelationshipLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPhysicalRelationshipLabel() { |
| return physicalRelationshipLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPopulationLabel() { |
| return populationLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getPopulationLabel_PopulationIdentifier() { |
| return (EAttribute)populationLabelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getPopulationLabel_Name() { |
| return (EAttribute)populationLabelEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getPopulationLabel_CurrentPopulationValue() { |
| return (EReference)populationLabelEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getPopulationLabel_PopulatedArea() { |
| return (EAttribute)populationLabelEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getPopulationLabel_ValidYear() { |
| return (EAttribute)populationLabelEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPopulationLabelValue() { |
| return populationLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getPopulationLabelValue_Count() { |
| return (EAttribute)populationLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getRelativePhysicalRelationshipLabel() { |
| return relativePhysicalRelationshipLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getRelativePhysicalRelationshipLabel_CurrentRelationship() { |
| return (EReference)relativePhysicalRelationshipLabelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getRelativePhysicalRelationshipLabelValue() { |
| return relativePhysicalRelationshipLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getRelativePhysicalRelationshipLabelValue_Adjacent() { |
| return (EAttribute)relativePhysicalRelationshipLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getRelativePhysicalRelationshipLabelValue_Relationship() { |
| return (EAttribute)relativePhysicalRelationshipLabelValueEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getTransportRelationshipLabel() { |
| return transportRelationshipLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_TransportMode() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_PopulationIdentifier() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_TransportIdentifier() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getTransportRelationshipLabel_CurrentTransportRelationshipLabelValue() { |
| return (EReference)transportRelationshipLabelEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_RateTimePeriod() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_DepartureCapacity() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_MaximumDepartureCapacity() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(6); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_Capacity() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(7); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_MaximumCapacity() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(8); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_TransitTime() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(9); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabel_StartUpDelay() { |
| return (EAttribute)transportRelationshipLabelEClass.getEStructuralFeatures().get(10); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getTransportRelationshipLabelValue() { |
| return transportRelationshipLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getTransportRelationshipLabelValue_AvailableDepartureCapacityProportion() { |
| return (EAttribute)transportRelationshipLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPhysicalRelationshipLabelValue() { |
| return physicalRelationshipLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getRoadTransportRelationshipLabel() { |
| return roadTransportRelationshipLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getRoadTransportRelationshipLabelValue() { |
| return roadTransportRelationshipLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getRoadTransportRelationshipLabelValue_RoadName() { |
| return (EAttribute)roadTransportRelationshipLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getRoadTransportRelationshipLabelValue_RoadClass() { |
| return (EAttribute)roadTransportRelationshipLabelValueEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getRoadTransportRelationshipLabelValue_NumberCrossings() { |
| return (EAttribute)roadTransportRelationshipLabelValueEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getEarthScienceLabel() { |
| return earthScienceLabelEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getEarthScienceLabel_CurrentEarthScienceValue() { |
| return (EReference)earthScienceLabelEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getEarthScienceLabelValue() { |
| return earthScienceLabelValueEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_DataType() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Units() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Mean() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Sd() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Min() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Max() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Median() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(6); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Skewness() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(7); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Kurtosis() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(8); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Rms() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(9); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Samplesize() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(10); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getEarthScienceLabelValue_Range() { |
| return (EAttribute)earthScienceLabelValueEClass.getEStructuralFeatures().get(11); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EEnum getRelativePhysicalRelationship() { |
| return relativePhysicalRelationshipEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EEnum getTransportMode() { |
| return transportModeEEnum; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public LabelsFactory getLabelsFactory() { |
| return (LabelsFactory)getEFactoryInstance(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private boolean isCreated = false; |
| |
| /** |
| * Creates the meta-model objects for the package. This method is |
| * guarded to have no affect on any invocation but its first. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void createPackageContents() { |
| if (isCreated) return; |
| isCreated = true; |
| |
| // Create classes and their features |
| areaLabelEClass = createEClass(AREA_LABEL); |
| createEReference(areaLabelEClass, AREA_LABEL__CURRENT_AREA_VALUE); |
| |
| areaLabelValueEClass = createEClass(AREA_LABEL_VALUE); |
| createEAttribute(areaLabelValueEClass, AREA_LABEL_VALUE__AREA); |
| createEAttribute(areaLabelValueEClass, AREA_LABEL_VALUE__AVERAGE_EXTENT); |
| |
| commonBorderRelationshipLabelEClass = createEClass(COMMON_BORDER_RELATIONSHIP_LABEL); |
| |
| commonBorderRelationshipLabelValueEClass = createEClass(COMMON_BORDER_RELATIONSHIP_LABEL_VALUE); |
| createEAttribute(commonBorderRelationshipLabelValueEClass, COMMON_BORDER_RELATIONSHIP_LABEL_VALUE__BORDER_LENGTH); |
| |
| physicalRelationshipLabelEClass = createEClass(PHYSICAL_RELATIONSHIP_LABEL); |
| |
| populationLabelEClass = createEClass(POPULATION_LABEL); |
| createEAttribute(populationLabelEClass, POPULATION_LABEL__POPULATION_IDENTIFIER); |
| createEAttribute(populationLabelEClass, POPULATION_LABEL__NAME); |
| createEReference(populationLabelEClass, POPULATION_LABEL__CURRENT_POPULATION_VALUE); |
| createEAttribute(populationLabelEClass, POPULATION_LABEL__POPULATED_AREA); |
| createEAttribute(populationLabelEClass, POPULATION_LABEL__VALID_YEAR); |
| |
| populationLabelValueEClass = createEClass(POPULATION_LABEL_VALUE); |
| createEAttribute(populationLabelValueEClass, POPULATION_LABEL_VALUE__COUNT); |
| |
| relativePhysicalRelationshipLabelEClass = createEClass(RELATIVE_PHYSICAL_RELATIONSHIP_LABEL); |
| createEReference(relativePhysicalRelationshipLabelEClass, RELATIVE_PHYSICAL_RELATIONSHIP_LABEL__CURRENT_RELATIONSHIP); |
| |
| relativePhysicalRelationshipLabelValueEClass = createEClass(RELATIVE_PHYSICAL_RELATIONSHIP_LABEL_VALUE); |
| createEAttribute(relativePhysicalRelationshipLabelValueEClass, RELATIVE_PHYSICAL_RELATIONSHIP_LABEL_VALUE__ADJACENT); |
| createEAttribute(relativePhysicalRelationshipLabelValueEClass, RELATIVE_PHYSICAL_RELATIONSHIP_LABEL_VALUE__RELATIONSHIP); |
| |
| transportRelationshipLabelEClass = createEClass(TRANSPORT_RELATIONSHIP_LABEL); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__TRANSPORT_MODE); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__POPULATION_IDENTIFIER); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__TRANSPORT_IDENTIFIER); |
| createEReference(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__CURRENT_TRANSPORT_RELATIONSHIP_LABEL_VALUE); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__RATE_TIME_PERIOD); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__DEPARTURE_CAPACITY); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__MAXIMUM_DEPARTURE_CAPACITY); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__CAPACITY); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__MAXIMUM_CAPACITY); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__TRANSIT_TIME); |
| createEAttribute(transportRelationshipLabelEClass, TRANSPORT_RELATIONSHIP_LABEL__START_UP_DELAY); |
| |
| transportRelationshipLabelValueEClass = createEClass(TRANSPORT_RELATIONSHIP_LABEL_VALUE); |
| createEAttribute(transportRelationshipLabelValueEClass, TRANSPORT_RELATIONSHIP_LABEL_VALUE__AVAILABLE_DEPARTURE_CAPACITY_PROPORTION); |
| |
| physicalRelationshipLabelValueEClass = createEClass(PHYSICAL_RELATIONSHIP_LABEL_VALUE); |
| |
| roadTransportRelationshipLabelEClass = createEClass(ROAD_TRANSPORT_RELATIONSHIP_LABEL); |
| |
| roadTransportRelationshipLabelValueEClass = createEClass(ROAD_TRANSPORT_RELATIONSHIP_LABEL_VALUE); |
| createEAttribute(roadTransportRelationshipLabelValueEClass, ROAD_TRANSPORT_RELATIONSHIP_LABEL_VALUE__ROAD_NAME); |
| createEAttribute(roadTransportRelationshipLabelValueEClass, ROAD_TRANSPORT_RELATIONSHIP_LABEL_VALUE__ROAD_CLASS); |
| createEAttribute(roadTransportRelationshipLabelValueEClass, ROAD_TRANSPORT_RELATIONSHIP_LABEL_VALUE__NUMBER_CROSSINGS); |
| |
| earthScienceLabelEClass = createEClass(EARTH_SCIENCE_LABEL); |
| createEReference(earthScienceLabelEClass, EARTH_SCIENCE_LABEL__CURRENT_EARTH_SCIENCE_VALUE); |
| |
| earthScienceLabelValueEClass = createEClass(EARTH_SCIENCE_LABEL_VALUE); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__DATA_TYPE); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__UNITS); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__MEAN); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__SD); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__MIN); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__MAX); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__MEDIAN); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__SKEWNESS); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__KURTOSIS); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__RMS); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__SAMPLESIZE); |
| createEAttribute(earthScienceLabelValueEClass, EARTH_SCIENCE_LABEL_VALUE__RANGE); |
| |
| // Create enums |
| relativePhysicalRelationshipEEnum = createEEnum(RELATIVE_PHYSICAL_RELATIONSHIP); |
| transportModeEEnum = createEEnum(TRANSPORT_MODE); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private boolean isInitialized = false; |
| |
| /** |
| * Complete the initialization of the package and its meta-model. This |
| * method is guarded to have no affect on any invocation but its first. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void initializePackageContents() { |
| if (isInitialized) return; |
| isInitialized = true; |
| |
| // Initialize package |
| setName(eNAME); |
| setNsPrefix(eNS_PREFIX); |
| setNsURI(eNS_URI); |
| |
| // Obtain other dependent packages |
| GraphPackage theGraphPackage = (GraphPackage)EPackage.Registry.INSTANCE.getEPackage(GraphPackage.eNS_URI); |
| EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); |
| |
| // Create type parameters |
| |
| // Set bounds for type parameters |
| |
| // Add supertypes to classes |
| areaLabelEClass.getESuperTypes().add(theGraphPackage.getStaticNodeLabel()); |
| areaLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| commonBorderRelationshipLabelEClass.getESuperTypes().add(this.getPhysicalRelationshipLabel()); |
| commonBorderRelationshipLabelValueEClass.getESuperTypes().add(this.getPhysicalRelationshipLabelValue()); |
| physicalRelationshipLabelEClass.getESuperTypes().add(theGraphPackage.getStaticEdgeLabel()); |
| populationLabelEClass.getESuperTypes().add(theGraphPackage.getStaticNodeLabel()); |
| populationLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| relativePhysicalRelationshipLabelEClass.getESuperTypes().add(this.getPhysicalRelationshipLabel()); |
| relativePhysicalRelationshipLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| transportRelationshipLabelEClass.getESuperTypes().add(theGraphPackage.getDynamicEdgeLabel()); |
| transportRelationshipLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| physicalRelationshipLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| roadTransportRelationshipLabelEClass.getESuperTypes().add(this.getPhysicalRelationshipLabel()); |
| roadTransportRelationshipLabelValueEClass.getESuperTypes().add(this.getPhysicalRelationshipLabelValue()); |
| earthScienceLabelEClass.getESuperTypes().add(theGraphPackage.getStaticNodeLabel()); |
| earthScienceLabelValueEClass.getESuperTypes().add(theGraphPackage.getLabelValue()); |
| |
| // Initialize classes and features; add operations and parameters |
| initEClass(areaLabelEClass, AreaLabel.class, "AreaLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEReference(getAreaLabel_CurrentAreaValue(), this.getAreaLabelValue(), null, "currentAreaValue", null, 0, 1, AreaLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(areaLabelValueEClass, AreaLabelValue.class, "AreaLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getAreaLabelValue_Area(), ecorePackage.getEDouble(), "area", null, 0, 1, AreaLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getAreaLabelValue_AverageExtent(), ecorePackage.getEDouble(), "averageExtent", null, 0, 1, AreaLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(commonBorderRelationshipLabelEClass, CommonBorderRelationshipLabel.class, "CommonBorderRelationshipLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| |
| initEClass(commonBorderRelationshipLabelValueEClass, CommonBorderRelationshipLabelValue.class, "CommonBorderRelationshipLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getCommonBorderRelationshipLabelValue_BorderLength(), ecorePackage.getEDouble(), "borderLength", null, 0, 1, CommonBorderRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(physicalRelationshipLabelEClass, PhysicalRelationshipLabel.class, "PhysicalRelationshipLabel", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| |
| initEClass(populationLabelEClass, PopulationLabel.class, "PopulationLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getPopulationLabel_PopulationIdentifier(), ecorePackage.getEString(), "populationIdentifier", null, 0, 1, PopulationLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getPopulationLabel_Name(), ecorePackage.getEString(), "name", null, 0, 1, PopulationLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEReference(getPopulationLabel_CurrentPopulationValue(), this.getPopulationLabelValue(), null, "currentPopulationValue", null, 0, 1, PopulationLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getPopulationLabel_PopulatedArea(), ecorePackage.getEDouble(), "populatedArea", "0", 0, 1, PopulationLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| initEAttribute(getPopulationLabel_ValidYear(), ecorePackage.getEInt(), "validYear", "2006", 0, 1, PopulationLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| |
| initEClass(populationLabelValueEClass, PopulationLabelValue.class, "PopulationLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getPopulationLabelValue_Count(), ecorePackage.getEDouble(), "count", null, 0, 1, PopulationLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(relativePhysicalRelationshipLabelEClass, RelativePhysicalRelationshipLabel.class, "RelativePhysicalRelationshipLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEReference(getRelativePhysicalRelationshipLabel_CurrentRelationship(), this.getRelativePhysicalRelationshipLabelValue(), null, "currentRelationship", null, 0, 1, RelativePhysicalRelationshipLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(relativePhysicalRelationshipLabelValueEClass, RelativePhysicalRelationshipLabelValue.class, "RelativePhysicalRelationshipLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getRelativePhysicalRelationshipLabelValue_Adjacent(), ecorePackage.getEBoolean(), "adjacent", null, 0, 1, RelativePhysicalRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getRelativePhysicalRelationshipLabelValue_Relationship(), this.getRelativePhysicalRelationship(), "relationship", null, 0, 1, RelativePhysicalRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(transportRelationshipLabelEClass, TransportRelationshipLabel.class, "TransportRelationshipLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_TransportMode(), this.getTransportMode(), "transportMode", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_PopulationIdentifier(), ecorePackage.getEString(), "populationIdentifier", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_TransportIdentifier(), ecorePackage.getEString(), "transportIdentifier", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEReference(getTransportRelationshipLabel_CurrentTransportRelationshipLabelValue(), this.getTransportRelationshipLabelValue(), null, "currentTransportRelationshipLabelValue", null, 0, 1, TransportRelationshipLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_RateTimePeriod(), ecorePackage.getELong(), "rateTimePeriod", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_DepartureCapacity(), ecorePackage.getEInt(), "departureCapacity", null, 0, 1, TransportRelationshipLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_MaximumDepartureCapacity(), ecorePackage.getEInt(), "maximumDepartureCapacity", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_Capacity(), ecorePackage.getEInt(), "capacity", null, 0, 1, TransportRelationshipLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_MaximumCapacity(), ecorePackage.getEInt(), "maximumCapacity", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_TransitTime(), ecorePackage.getELong(), "transitTime", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabel_StartUpDelay(), ecorePackage.getELong(), "startUpDelay", null, 0, 1, TransportRelationshipLabel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(transportRelationshipLabelValueEClass, TransportRelationshipLabelValue.class, "TransportRelationshipLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getTransportRelationshipLabelValue_AvailableDepartureCapacityProportion(), ecorePackage.getEDouble(), "availableDepartureCapacityProportion", "1.0", 0, 1, TransportRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| |
| initEClass(physicalRelationshipLabelValueEClass, PhysicalRelationshipLabelValue.class, "PhysicalRelationshipLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| |
| initEClass(roadTransportRelationshipLabelEClass, RoadTransportRelationshipLabel.class, "RoadTransportRelationshipLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| |
| initEClass(roadTransportRelationshipLabelValueEClass, RoadTransportRelationshipLabelValue.class, "RoadTransportRelationshipLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getRoadTransportRelationshipLabelValue_RoadName(), ecorePackage.getEString(), "roadName", "road", 0, 1, RoadTransportRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| initEAttribute(getRoadTransportRelationshipLabelValue_RoadClass(), ecorePackage.getEString(), "roadClass", "route", 0, 1, RoadTransportRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| initEAttribute(getRoadTransportRelationshipLabelValue_NumberCrossings(), ecorePackage.getEInt(), "numberCrossings", "1", 0, 1, RoadTransportRelationshipLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ |
| |
| initEClass(earthScienceLabelEClass, EarthScienceLabel.class, "EarthScienceLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEReference(getEarthScienceLabel_CurrentEarthScienceValue(), this.getEarthScienceLabelValue(), null, "currentEarthScienceValue", null, 0, 1, EarthScienceLabel.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| initEClass(earthScienceLabelValueEClass, EarthScienceLabelValue.class, "EarthScienceLabelValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_DataType(), theEcorePackage.getEString(), "dataType", null, 0, 1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Units(), theEcorePackage.getEString(), "units", null, 0, 1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Mean(), theEcorePackage.getEDouble(), "mean", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Sd(), theEcorePackage.getEDouble(), "sd", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Min(), theEcorePackage.getEDouble(), "min", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Max(), theEcorePackage.getEDouble(), "max", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Median(), theEcorePackage.getEDouble(), "median", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Skewness(), theEcorePackage.getEDouble(), "skewness", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Kurtosis(), theEcorePackage.getEDouble(), "kurtosis", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Rms(), theEcorePackage.getEDouble(), "rms", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Samplesize(), theEcorePackage.getEDouble(), "samplesize", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| initEAttribute(getEarthScienceLabelValue_Range(), theEcorePackage.getEDouble(), "range", null, 0, -1, EarthScienceLabelValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ |
| |
| // Initialize enums and add enum literals |
| initEEnum(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.class, "RelativePhysicalRelationship"); //$NON-NLS-1$ |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.UNSPECIFIED_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.ABOVE_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.BELOW_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.RIGHT_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.LEFT_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.NORTH_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.SOUTH_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.WEST_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.EAST_OF_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.CONTAINS_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.CONTAINED_BY_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.OVERLAPS_LITERAL); |
| addEEnumLiteral(relativePhysicalRelationshipEEnum, RelativePhysicalRelationship.ORBITS_LITERAL); |
| |
| initEEnum(transportModeEEnum, TransportMode.class, "TransportMode"); //$NON-NLS-1$ |
| addEEnumLiteral(transportModeEEnum, TransportMode.UNSPECIFIED_LITERAL); |
| addEEnumLiteral(transportModeEEnum, TransportMode.AIR_LITERAL); |
| addEEnumLiteral(transportModeEEnum, TransportMode.ROAD_LITERAL); |
| addEEnumLiteral(transportModeEEnum, TransportMode.RAIL_LITERAL); |
| addEEnumLiteral(transportModeEEnum, TransportMode.MARINE_LITERAL); |
| addEEnumLiteral(transportModeEEnum, TransportMode.FOOT_LITERAL); |
| |
| // Create resource |
| createResource(eNS_URI); |
| } |
| |
| } //LabelsPackageImpl |