summaryrefslogtreecommitdiff
path: root/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src
diff options
context:
space:
mode:
Diffstat (limited to 'src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src')
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/CategoryDefinition.java218
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/FeedInformation.java321
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/LengthUnit.java213
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/SpeedUnit.java213
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TextDetailLevel.java213
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeed.java116
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedListener.java74
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedStatus.java245
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentField.java718
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidents.java383
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsListener.java422
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsStatus.java241
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/WeightUnit.java213
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/CategoryDefinitionImpl.java464
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/FeedInformationImpl.java556
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedImpl.java141
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedListenerImpl.java103
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsImpl.java441
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsListenerImpl.java488
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsserviceFactoryImpl.java362
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsservicePackageImpl.java903
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsserviceFactory.java92
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsservicePackage.java788
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceAdapterFactory.java219
-rwxr-xr-xsrc/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceSwitch.java225
25 files changed, 8372 insertions, 0 deletions
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/CategoryDefinition.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/CategoryDefinition.java
new file mode 100755
index 0000000..e2e4a75
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/CategoryDefinition.java
@@ -0,0 +1,218 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.genivi.common.LocalizedString;
+import org.genivi.iconset.IconInfo;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Category Definition</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.genivi.trafficincidentsservice.CategoryDefinition#getLocalizedNamesList <em>Localized Names</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.CategoryDefinition#getCategoryId <em>Category Id</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.CategoryDefinition#getIconsList <em>Icons</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.CategoryDefinition#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getCategoryDefinition()
+ * @model
+ * @generated
+ */
+public interface CategoryDefinition extends EObject {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ LocalizedString[] getLocalizedNames();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ LocalizedString getLocalizedNames(int index);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ int getLocalizedNamesLength();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ void setLocalizedNames(LocalizedString[] newLocalizedNames);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ void setLocalizedNames(int index, LocalizedString element);
+
+ /**
+ * Returns the value of the '<em><b>Localized Names</b></em>' containment reference list.
+ * The list contents are of type {@link org.genivi.common.LocalizedString}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Localized Names</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>Localized Names</em>' containment reference list.
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getCategoryDefinition_LocalizedNames()
+ * @model containment="true"
+ * @generated
+ */
+ EList<LocalizedString> getLocalizedNamesList();
+
+ /**
+ * Returns the value of the '<em><b>Category Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Category Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Category Id</em>' attribute.
+ * @see #setCategoryId(int)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getCategoryDefinition_CategoryId()
+ * @model required="true"
+ * @generated
+ */
+ int getCategoryId();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getCategoryId <em>Category Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Category Id</em>' attribute.
+ * @see #getCategoryId()
+ * @generated
+ */
+ void setCategoryId(int value);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ IconInfo[] getIcons();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ IconInfo getIcons(int index);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ int getIconsLength();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ void setIcons(IconInfo[] newIcons);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ void setIcons(int index, IconInfo element);
+
+ /**
+ * Returns the value of the '<em><b>Icons</b></em>' containment reference list.
+ * The list contents are of type {@link org.genivi.iconset.IconInfo}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Icons</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>Icons</em>' containment reference list.
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getCategoryDefinition_Icons()
+ * @model containment="true"
+ * @generated
+ */
+ EList<IconInfo> getIconsList();
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Expression</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Expression</em>' attribute.
+ * @see #isSetExpression()
+ * @see #unsetExpression()
+ * @see #setExpression(String)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getCategoryDefinition_Expression()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ String getExpression();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getExpression <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' attribute.
+ * @see #isSetExpression()
+ * @see #unsetExpression()
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(String value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getExpression <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetExpression()
+ * @see #getExpression()
+ * @see #setExpression(String)
+ * @generated
+ */
+ void unsetExpression();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getExpression <em>Expression</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Expression</em>' attribute is set.
+ * @see #unsetExpression()
+ * @see #getExpression()
+ * @see #setExpression(String)
+ * @generated
+ */
+ boolean isSetExpression();
+
+} // CategoryDefinition
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/FeedInformation.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/FeedInformation.java
new file mode 100755
index 0000000..6c40466
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/FeedInformation.java
@@ -0,0 +1,321 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Feed Information</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * This data type provides information about a Traffic Incident Feed.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName <em>Data Provider Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.FeedInformation#getProtocolName <em>Protocol Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName <em>Communication Channel Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus <em>Feed Status</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation()
+ * @model
+ * @generated
+ */
+public interface FeedInformation extends EObject {
+ /**
+ * Returns the value of the '<em><b>Data Provider Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Data Provider Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The name of the data provider.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Data Provider Name</em>' attribute.
+ * @see #isSetDataProviderName()
+ * @see #unsetDataProviderName()
+ * @see #setDataProviderName(String)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation_DataProviderName()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getDataProviderName();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName <em>Data Provider Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data Provider Name</em>' attribute.
+ * @see #isSetDataProviderName()
+ * @see #unsetDataProviderName()
+ * @see #getDataProviderName()
+ * @generated
+ */
+ void setDataProviderName(String value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName <em>Data Provider Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDataProviderName()
+ * @see #getDataProviderName()
+ * @see #setDataProviderName(String)
+ * @generated
+ */
+ void unsetDataProviderName();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName <em>Data Provider Name</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Data Provider Name</em>' attribute is set.
+ * @see #unsetDataProviderName()
+ * @see #getDataProviderName()
+ * @see #setDataProviderName(String)
+ * @generated
+ */
+ boolean isSetDataProviderName();
+
+ /**
+ * Returns the value of the '<em><b>Protocol Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Protocol Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The name of the protocol via which the Traffic Incidents are received.
+ * There are no predefined values.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Protocol Name</em>' attribute.
+ * @see #isSetProtocolName()
+ * @see #unsetProtocolName()
+ * @see #setProtocolName(String)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation_ProtocolName()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getProtocolName();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getProtocolName <em>Protocol Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Protocol Name</em>' attribute.
+ * @see #isSetProtocolName()
+ * @see #unsetProtocolName()
+ * @see #getProtocolName()
+ * @generated
+ */
+ void setProtocolName(String value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getProtocolName <em>Protocol Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetProtocolName()
+ * @see #getProtocolName()
+ * @see #setProtocolName(String)
+ * @generated
+ */
+ void unsetProtocolName();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getProtocolName <em>Protocol Name</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Protocol Name</em>' attribute is set.
+ * @see #unsetProtocolName()
+ * @see #getProtocolName()
+ * @see #setProtocolName(String)
+ * @generated
+ */
+ boolean isSetProtocolName();
+
+ /**
+ * Returns the value of the '<em><b>Communication Channel Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Communication Channel Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The name of the communication channel.
+ * There are no predefined values.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Communication Channel Name</em>' attribute.
+ * @see #isSetCommunicationChannelName()
+ * @see #unsetCommunicationChannelName()
+ * @see #setCommunicationChannelName(String)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation_CommunicationChannelName()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getCommunicationChannelName();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName <em>Communication Channel Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Communication Channel Name</em>' attribute.
+ * @see #isSetCommunicationChannelName()
+ * @see #unsetCommunicationChannelName()
+ * @see #getCommunicationChannelName()
+ * @generated
+ */
+ void setCommunicationChannelName(String value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName <em>Communication Channel Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetCommunicationChannelName()
+ * @see #getCommunicationChannelName()
+ * @see #setCommunicationChannelName(String)
+ * @generated
+ */
+ void unsetCommunicationChannelName();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName <em>Communication Channel Name</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Communication Channel Name</em>' attribute is set.
+ * @see #unsetCommunicationChannelName()
+ * @see #getCommunicationChannelName()
+ * @see #setCommunicationChannelName(String)
+ * @generated
+ */
+ boolean isSetCommunicationChannelName();
+
+ /**
+ * Returns the value of the '<em><b>Feed Status</b></em>' attribute.
+ * The literals are from the enumeration {@link org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Feed Status</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The status of the Feed.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Feed Status</em>' attribute.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus
+ * @see #isSetFeedStatus()
+ * @see #unsetFeedStatus()
+ * @see #setFeedStatus(TrafficIncidentFeedStatus)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation_FeedStatus()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ TrafficIncidentFeedStatus getFeedStatus();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus <em>Feed Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Feed Status</em>' attribute.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus
+ * @see #isSetFeedStatus()
+ * @see #unsetFeedStatus()
+ * @see #getFeedStatus()
+ * @generated
+ */
+ void setFeedStatus(TrafficIncidentFeedStatus value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus <em>Feed Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetFeedStatus()
+ * @see #getFeedStatus()
+ * @see #setFeedStatus(TrafficIncidentFeedStatus)
+ * @generated
+ */
+ void unsetFeedStatus();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus <em>Feed Status</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Feed Status</em>' attribute is set.
+ * @see #unsetFeedStatus()
+ * @see #getFeedStatus()
+ * @see #setFeedStatus(TrafficIncidentFeedStatus)
+ * @generated
+ */
+ boolean isSetFeedStatus();
+
+ /**
+ * Returns the value of the '<em><b>Traffic Incidents Status</b></em>' attribute.
+ * The literals are from the enumeration {@link org.genivi.trafficincidentsservice.TrafficIncidentsStatus}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The status of the Traffic Incidents delivered by this Feed.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Traffic Incidents Status</em>' attribute.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsStatus
+ * @see #isSetTrafficIncidentsStatus()
+ * @see #unsetTrafficIncidentsStatus()
+ * @see #setTrafficIncidentsStatus(TrafficIncidentsStatus)
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getFeedInformation_TrafficIncidentsStatus()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ TrafficIncidentsStatus getTrafficIncidentsStatus();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Traffic Incidents Status</em>' attribute.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsStatus
+ * @see #isSetTrafficIncidentsStatus()
+ * @see #unsetTrafficIncidentsStatus()
+ * @see #getTrafficIncidentsStatus()
+ * @generated
+ */
+ void setTrafficIncidentsStatus(TrafficIncidentsStatus value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetTrafficIncidentsStatus()
+ * @see #getTrafficIncidentsStatus()
+ * @see #setTrafficIncidentsStatus(TrafficIncidentsStatus)
+ * @generated
+ */
+ void unsetTrafficIncidentsStatus();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Traffic Incidents Status</em>' attribute is set.
+ * @see #unsetTrafficIncidentsStatus()
+ * @see #getTrafficIncidentsStatus()
+ * @see #setTrafficIncidentsStatus(TrafficIncidentsStatus)
+ * @generated
+ */
+ boolean isSetTrafficIncidentsStatus();
+
+} // FeedInformation
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/LengthUnit.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/LengthUnit.java
new file mode 100755
index 0000000..d2d0eb4
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/LengthUnit.java
@@ -0,0 +1,213 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Length Unit</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getLengthUnit()
+ * @model
+ * @generated
+ */
+public enum LengthUnit implements Enumerator {
+ /**
+ * The '<em><b>KILOMETERS</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #KILOMETERS_VALUE
+ * @generated
+ * @ordered
+ */
+ KILOMETERS(1, "KILOMETERS", "KILOMETERS"),
+
+ /**
+ * The '<em><b>MILES</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MILES_VALUE
+ * @generated
+ * @ordered
+ */
+ MILES(2, "MILES", "MILES");
+
+ /**
+ * The '<em><b>KILOMETERS</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>KILOMETERS</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #KILOMETERS
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int KILOMETERS_VALUE = 1;
+
+ /**
+ * The '<em><b>MILES</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MILES</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MILES
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int MILES_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Length Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final LengthUnit[] VALUES_ARRAY =
+ new LengthUnit[] {
+ KILOMETERS,
+ MILES,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Length Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<LengthUnit> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Length Unit</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static LengthUnit get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ LengthUnit result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Length Unit</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static LengthUnit getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ LengthUnit result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Length Unit</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static LengthUnit get(int value) {
+ switch (value) {
+ case KILOMETERS_VALUE: return KILOMETERS;
+ case MILES_VALUE: return MILES;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private LengthUnit(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //LengthUnit
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/SpeedUnit.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/SpeedUnit.java
new file mode 100755
index 0000000..f06f62a
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/SpeedUnit.java
@@ -0,0 +1,213 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Speed Unit</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getSpeedUnit()
+ * @model
+ * @generated
+ */
+public enum SpeedUnit implements Enumerator {
+ /**
+ * The '<em><b>KILOMETERS PER HOUR</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #KILOMETERS_PER_HOUR_VALUE
+ * @generated
+ * @ordered
+ */
+ KILOMETERS_PER_HOUR(1, "KILOMETERS_PER_HOUR", "KILOMETERS_PER_HOUR"),
+
+ /**
+ * The '<em><b>MILES PER HOUR</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #MILES_PER_HOUR_VALUE
+ * @generated
+ * @ordered
+ */
+ MILES_PER_HOUR(2, "MILES_PER_HOUR", "MILES_PER_HOUR");
+
+ /**
+ * The '<em><b>KILOMETERS PER HOUR</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>KILOMETERS PER HOUR</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #KILOMETERS_PER_HOUR
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int KILOMETERS_PER_HOUR_VALUE = 1;
+
+ /**
+ * The '<em><b>MILES PER HOUR</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>MILES PER HOUR</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #MILES_PER_HOUR
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int MILES_PER_HOUR_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Speed Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final SpeedUnit[] VALUES_ARRAY =
+ new SpeedUnit[] {
+ KILOMETERS_PER_HOUR,
+ MILES_PER_HOUR,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Speed Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<SpeedUnit> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Speed Unit</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static SpeedUnit get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ SpeedUnit result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Speed Unit</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static SpeedUnit getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ SpeedUnit result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Speed Unit</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static SpeedUnit get(int value) {
+ switch (value) {
+ case KILOMETERS_PER_HOUR_VALUE: return KILOMETERS_PER_HOUR;
+ case MILES_PER_HOUR_VALUE: return MILES_PER_HOUR;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private SpeedUnit(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //SpeedUnit
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TextDetailLevel.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TextDetailLevel.java
new file mode 100755
index 0000000..5ab64c4
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TextDetailLevel.java
@@ -0,0 +1,213 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Text Detail Level</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTextDetailLevel()
+ * @model
+ * @generated
+ */
+public enum TextDetailLevel implements Enumerator {
+ /**
+ * The '<em><b>FULL</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #FULL_VALUE
+ * @generated
+ * @ordered
+ */
+ FULL(1, "FULL", "FULL"),
+
+ /**
+ * The '<em><b>SUMMARY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SUMMARY_VALUE
+ * @generated
+ * @ordered
+ */
+ SUMMARY(2, "SUMMARY", "SUMMARY");
+
+ /**
+ * The '<em><b>FULL</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>FULL</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #FULL
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int FULL_VALUE = 1;
+
+ /**
+ * The '<em><b>SUMMARY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>SUMMARY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SUMMARY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int SUMMARY_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Text Detail Level</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final TextDetailLevel[] VALUES_ARRAY =
+ new TextDetailLevel[] {
+ FULL,
+ SUMMARY,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Text Detail Level</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<TextDetailLevel> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Text Detail Level</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextDetailLevel get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TextDetailLevel result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Text Detail Level</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextDetailLevel getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TextDetailLevel result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Text Detail Level</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TextDetailLevel get(int value) {
+ switch (value) {
+ case FULL_VALUE: return FULL;
+ case SUMMARY_VALUE: return SUMMARY;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private TextDetailLevel(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //TextDetailLevel
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeed.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeed.java
new file mode 100755
index 0000000..1efe056
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeed.java
@@ -0,0 +1,116 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+import org.genivi.trafficincidentsservice.trafficincidentfeed.trafficincident.TrafficIncident;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Traffic Incidents Updates</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * This interface can be used by Traffic Incident Feeds to feed Traffic Incidents into the Traffic Incidents Service.
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentFeed()
+ * @model
+ * @generated
+ */
+public interface TrafficIncidentFeed extends EObject {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the API version of this interface implemented by the service.
+ * @param listener The class on which the callback function is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getVersion(TrafficIncidentFeedListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the current language. In case of a client/server based Feed, this language can be sent to the server in order to receive any textual information in the right language.
+ * @param listener The class on which the callback function is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getLanguage(TrafficIncidentFeedListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Add this client as a listener for changes in the current language. In case of changes, getLanguageReply() is called on the listener.
+ * @param listener The class on which the callback function is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void addLanguageListener(TrafficIncidentFeedListener listener, TrafficIncidentFeedListener changeListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Clear the internal store of the Traffic Incidents Service. This may be needed if the source of the Traffic Incidents is changed, or if the server indicates that a reset is needed.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void clear();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Update the Traffic Incidents in the internal store of the Traffic Incidents Service. These updates can consist of incidents to be removed (cancelledIncidentIds), and/or new or updated incidents (updatedIncidents). The 'cancels' are handled before the 'updates'.
+ * @param cancelledIncidentIds The unique Ids of the incidents to be deleted.
+ * @param updatedIncidents The new or updated incidents.
+ * <!-- end-model-doc -->
+ * @model cancelledIncidentIdsMany="true" updatedIncidentsMany="true"
+ * @generated
+ */
+ void updateIncidents(int feedId, EList<String> cancelledIncidentIds, EList<TrafficIncident> updatedIncidents);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void updateStatus(int feedId, TrafficIncidentFeedStatus feedStatus, TrafficIncidentsStatus incidentsStatus);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void registerFeed(TrafficIncidentFeedListener listener, String dataProviderName, String protocolName, String communicationChannelName);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Remove this client as a listener for changes in the current language.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void removeLanguageListener(TrafficIncidentFeedListener listener, TrafficIncidentFeedListener changeListener);
+
+} // TrafficIncidentFeed
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedListener.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedListener.java
new file mode 100755
index 0000000..4e27d07
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedListener.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.genivi.common.Version;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Traffic Incidents Updates Listener</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentFeedListener()
+ * @model
+ * @generated
+ */
+public interface TrafficIncidentFeedListener extends EObject {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getVersion().
+ * @param version The API version of this interface implemented by the service.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getVersionReply(Version version);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getLanguage() or addLanguegeListener() when the language is changed.
+ * @param languageCode The currently used language.
+ * @param countryCode The currently used, country specific variant of the language.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getLanguageReply(String languageCode, String countryCode);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void registerFeedReply(int feedId);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addLanguageListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeLanguageListenerReply();
+
+} // TrafficIncidentFeedListener
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedStatus.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedStatus.java
new file mode 100755
index 0000000..ef9ac89
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentFeedStatus.java
@@ -0,0 +1,245 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Traffic Incident Feed Status</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This type provides information on the status of a Traffic Incident Feed, or of a combination of Traffic Incident Feeds.
+ * <!-- end-model-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentFeedStatus()
+ * @model
+ * @generated
+ */
+public enum TrafficIncidentFeedStatus implements Enumerator {
+ /**
+ * The '<em><b>UNAVAILABLE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNAVAILABLE_VALUE
+ * @generated
+ * @ordered
+ */
+ UNAVAILABLE(1, "UNAVAILABLE", "UNAVAILABLE"),
+
+ /**
+ * The '<em><b>CONNECTED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #CONNECTED_VALUE
+ * @generated
+ * @ordered
+ */
+ CONNECTED(2, "CONNECTED", "CONNECTED"),
+
+ /**
+ * The '<em><b>DISCONNECTED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DISCONNECTED_VALUE
+ * @generated
+ * @ordered
+ */
+ DISCONNECTED(3, "DISCONNECTED", "DISCONNECTED");
+
+ /**
+ * The '<em><b>UNAVAILABLE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * There is no Traffic Incident Feed available. A feed is not available if a connection is not possible.
+ * Examples of this are: there is no location table available for the current country (in case of TMC),
+ * or the user has no valid subscription.
+ * <!-- end-model-doc -->
+ * @see #UNAVAILABLE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int UNAVAILABLE_VALUE = 1;
+
+ /**
+ * The '<em><b>CONNECTED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * One or more Traffic Incident Feeds are available and connected (a communication channel is operational).
+ * <!-- end-model-doc -->
+ * @see #CONNECTED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int CONNECTED_VALUE = 2;
+
+ /**
+ * The '<em><b>DISCONNECTED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * One or more Traffic Incident Feeds are available but none of them is currently connected
+ * (the communication channels are not operational).
+ * For example, an RDS/TMC receiver is available but there is no signal,
+ * or a TPEG over HTTP/IP feed is available but the connection to the server failed.
+ * <!-- end-model-doc -->
+ * @see #DISCONNECTED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int DISCONNECTED_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Traffic Incident Feed Status</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final TrafficIncidentFeedStatus[] VALUES_ARRAY =
+ new TrafficIncidentFeedStatus[] {
+ UNAVAILABLE,
+ CONNECTED,
+ DISCONNECTED,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Traffic Incident Feed Status</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<TrafficIncidentFeedStatus> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Traffic Incident Feed Status</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentFeedStatus get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentFeedStatus result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incident Feed Status</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentFeedStatus getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentFeedStatus result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incident Feed Status</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentFeedStatus get(int value) {
+ switch (value) {
+ case UNAVAILABLE_VALUE: return UNAVAILABLE;
+ case CONNECTED_VALUE: return CONNECTED;
+ case DISCONNECTED_VALUE: return DISCONNECTED;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private TrafficIncidentFeedStatus(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //TrafficIncidentFeedStatus
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentField.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentField.java
new file mode 100755
index 0000000..468da09
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentField.java
@@ -0,0 +1,718 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Traffic Incident Field</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentField()
+ * @model
+ * @generated
+ */
+public enum TrafficIncidentField implements Enumerator {
+ /**
+ * The '<em><b>TRAFFIC INCIDENT ID</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #TRAFFIC_INCIDENT_ID_VALUE
+ * @generated
+ * @ordered
+ */
+ TRAFFIC_INCIDENT_ID(1, "TRAFFIC_INCIDENT_ID", "TRAFFIC_INCIDENT_ID"),
+
+ /**
+ * The '<em><b>EFFECT CODE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #EFFECT_CODE_VALUE
+ * @generated
+ * @ordered
+ */
+ EFFECT_CODE(2, "EFFECT_CODE", "EFFECT_CODE"),
+
+ /**
+ * The '<em><b>EFFECT TEXT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #EFFECT_TEXT_VALUE
+ * @generated
+ * @ordered
+ */
+ EFFECT_TEXT(3, "EFFECT_TEXT", "EFFECT_TEXT"),
+
+ /**
+ * The '<em><b>START TIME</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #START_TIME_VALUE
+ * @generated
+ * @ordered
+ */
+ START_TIME(4, "START_TIME", "START_TIME"),
+
+ /**
+ * The '<em><b>STOP TIME</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #STOP_TIME_VALUE
+ * @generated
+ * @ordered
+ */
+ STOP_TIME(5, "STOP_TIME", "STOP_TIME"),
+
+ /**
+ * The '<em><b>TENDENCY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #TENDENCY_VALUE
+ * @generated
+ * @ordered
+ */
+ TENDENCY(6, "TENDENCY", "TENDENCY"),
+
+ /**
+ * The '<em><b>TENDENCY TEXT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #TENDENCY_TEXT_VALUE
+ * @generated
+ * @ordered
+ */
+ TENDENCY_TEXT(7, "TENDENCY_TEXT", "TENDENCY_TEXT"),
+
+ /**
+ * The '<em><b>LENGTH AFFECTED</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #LENGTH_AFFECTED_VALUE
+ * @generated
+ * @ordered
+ */
+ LENGTH_AFFECTED(8, "LENGTH_AFFECTED", "LENGTH_AFFECTED"),
+
+ /**
+ * The '<em><b>AVERAGE SPEED ABSOLUTE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #AVERAGE_SPEED_ABSOLUTE_VALUE
+ * @generated
+ * @ordered
+ */
+ AVERAGE_SPEED_ABSOLUTE(9, "AVERAGE_SPEED_ABSOLUTE", "AVERAGE_SPEED_ABSOLUTE"),
+
+ /**
+ * The '<em><b>DELAY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DELAY_VALUE
+ * @generated
+ * @ordered
+ */
+ DELAY(10, "DELAY", "DELAY"),
+
+ /**
+ * The '<em><b>SEGMENT SPEED LIMIT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #SEGMENT_SPEED_LIMIT_VALUE
+ * @generated
+ * @ordered
+ */
+ SEGMENT_SPEED_LIMIT(11, "SEGMENT_SPEED_LIMIT", "SEGMENT_SPEED_LIMIT"),
+
+ /**
+ * The '<em><b>CAUSES</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #CAUSES_VALUE
+ * @generated
+ * @ordered
+ */
+ CAUSES(13, "CAUSES", "CAUSES"),
+
+ /**
+ * The '<em><b>CAUSE TEXTS</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #CAUSE_TEXTS_VALUE
+ * @generated
+ * @ordered
+ */
+ CAUSE_TEXTS(14, "CAUSE_TEXTS", "CAUSE_TEXTS"),
+
+ /**
+ * The '<em><b>APPLICABILITY TEXTS</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #APPLICABILITY_TEXTS_VALUE
+ * @generated
+ * @ordered
+ */
+ APPLICABILITY_TEXTS(16, "APPLICABILITY_TEXTS", "APPLICABILITY_TEXTS"),
+
+ /**
+ * The '<em><b>LOCATION</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #LOCATION_VALUE
+ * @generated
+ * @ordered
+ */
+ LOCATION(17, "LOCATION", "LOCATION"),
+
+ /**
+ * The '<em><b>LOCATION INFO</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #LOCATION_INFO_VALUE
+ * @generated
+ * @ordered
+ */
+ LOCATION_INFO(18, "LOCATION_INFO", "LOCATION_INFO"),
+
+ /**
+ * The '<em><b>LOCATION BOUNDING BOX</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #LOCATION_BOUNDING_BOX_VALUE
+ * @generated
+ * @ordered
+ */
+ LOCATION_BOUNDING_BOX(19, "LOCATION_BOUNDING_BOX", "LOCATION_BOUNDING_BOX"), /**
+ * The '<em><b>APPLICABILITY</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #APPLICABILITY_VALUE
+ * @generated
+ * @ordered
+ */
+ APPLICABILITY(15, "APPLICABILITY", "APPLICABILITY"), /**
+ * The '<em><b>ADVICES</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ADVICES_VALUE
+ * @generated
+ * @ordered
+ */
+ ADVICES(20, "ADVICES", "ADVICES"), /**
+ * The '<em><b>ADVICE TEXTS</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ADVICE_TEXTS_VALUE
+ * @generated
+ * @ordered
+ */
+ ADVICE_TEXTS(21, "ADVICE_TEXTS", "ADVICE_TEXTS"), /**
+ * The '<em><b>EXPECTED SPEED ABSOLUTE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #EXPECTED_SPEED_ABSOLUTE_VALUE
+ * @generated
+ * @ordered
+ */
+ EXPECTED_SPEED_ABSOLUTE(12, "EXPECTED_SPEED_ABSOLUTE", "EXPECTED_SPEED_ABSOLUTE");
+
+ /**
+ * The '<em><b>TRAFFIC INCIDENT ID</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>TRAFFIC INCIDENT ID</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #TRAFFIC_INCIDENT_ID
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int TRAFFIC_INCIDENT_ID_VALUE = 1;
+
+ /**
+ * The '<em><b>EFFECT CODE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>EFFECT CODE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #EFFECT_CODE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int EFFECT_CODE_VALUE = 2;
+
+ /**
+ * The '<em><b>EFFECT TEXT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>EFFECT TEXT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #EFFECT_TEXT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int EFFECT_TEXT_VALUE = 3;
+
+ /**
+ * The '<em><b>START TIME</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>START TIME</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #START_TIME
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int START_TIME_VALUE = 4;
+
+ /**
+ * The '<em><b>STOP TIME</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>STOP TIME</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #STOP_TIME
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int STOP_TIME_VALUE = 5;
+
+ /**
+ * The '<em><b>TENDENCY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>TENDENCY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #TENDENCY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int TENDENCY_VALUE = 6;
+
+ /**
+ * The '<em><b>TENDENCY TEXT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>TENDENCY TEXT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #TENDENCY_TEXT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int TENDENCY_TEXT_VALUE = 7;
+
+ /**
+ * The '<em><b>LENGTH AFFECTED</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>LENGTH AFFECTED</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #LENGTH_AFFECTED
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int LENGTH_AFFECTED_VALUE = 8;
+
+ /**
+ * The '<em><b>AVERAGE SPEED ABSOLUTE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>AVERAGE SPEED ABSOLUTE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #AVERAGE_SPEED_ABSOLUTE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int AVERAGE_SPEED_ABSOLUTE_VALUE = 9;
+
+ /**
+ * The '<em><b>DELAY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>DELAY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #DELAY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int DELAY_VALUE = 10;
+
+ /**
+ * The '<em><b>SEGMENT SPEED LIMIT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>SEGMENT SPEED LIMIT</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #SEGMENT_SPEED_LIMIT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int SEGMENT_SPEED_LIMIT_VALUE = 11;
+
+ /**
+ * The '<em><b>CAUSES</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>CAUSES</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #CAUSES
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int CAUSES_VALUE = 13;
+
+ /**
+ * The '<em><b>CAUSE TEXTS</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>CAUSE TEXTS</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #CAUSE_TEXTS
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int CAUSE_TEXTS_VALUE = 14;
+
+ /**
+ * The '<em><b>APPLICABILITY TEXTS</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>APPLICABILITY TEXTS</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #APPLICABILITY_TEXTS
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int APPLICABILITY_TEXTS_VALUE = 16;
+
+ /**
+ * The '<em><b>LOCATION</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>LOCATION</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #LOCATION
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int LOCATION_VALUE = 17;
+
+ /**
+ * The '<em><b>LOCATION INFO</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>LOCATION INFO</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #LOCATION_INFO
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int LOCATION_INFO_VALUE = 18;
+
+ /**
+ * The '<em><b>LOCATION BOUNDING BOX</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>LOCATION BOUNDING BOX</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #LOCATION_BOUNDING_BOX
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int LOCATION_BOUNDING_BOX_VALUE = 19;
+
+ /**
+ * The '<em><b>APPLICABILITY</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>APPLICABILITY</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #APPLICABILITY
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int APPLICABILITY_VALUE = 15;
+
+ /**
+ * The '<em><b>ADVICES</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ADVICES</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ADVICES
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ADVICES_VALUE = 20;
+
+ /**
+ * The '<em><b>ADVICE TEXTS</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>ADVICE TEXTS</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ADVICE_TEXTS
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int ADVICE_TEXTS_VALUE = 21;
+
+ /**
+ * The '<em><b>EXPECTED SPEED ABSOLUTE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>EXPECTED SPEED ABSOLUTE</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #EXPECTED_SPEED_ABSOLUTE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int EXPECTED_SPEED_ABSOLUTE_VALUE = 12;
+
+ /**
+ * An array of all the '<em><b>Traffic Incident Field</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final TrafficIncidentField[] VALUES_ARRAY =
+ new TrafficIncidentField[] {
+ TRAFFIC_INCIDENT_ID,
+ EFFECT_CODE,
+ EFFECT_TEXT,
+ START_TIME,
+ STOP_TIME,
+ TENDENCY,
+ TENDENCY_TEXT,
+ LENGTH_AFFECTED,
+ AVERAGE_SPEED_ABSOLUTE,
+ DELAY,
+ SEGMENT_SPEED_LIMIT,
+ CAUSES,
+ CAUSE_TEXTS,
+ APPLICABILITY_TEXTS,
+ LOCATION,
+ LOCATION_INFO,
+ LOCATION_BOUNDING_BOX,
+ APPLICABILITY,
+ ADVICES,
+ ADVICE_TEXTS,
+ EXPECTED_SPEED_ABSOLUTE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Traffic Incident Field</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<TrafficIncidentField> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Traffic Incident Field</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentField get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentField result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incident Field</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentField getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentField result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incident Field</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentField get(int value) {
+ switch (value) {
+ case TRAFFIC_INCIDENT_ID_VALUE: return TRAFFIC_INCIDENT_ID;
+ case EFFECT_CODE_VALUE: return EFFECT_CODE;
+ case EFFECT_TEXT_VALUE: return EFFECT_TEXT;
+ case START_TIME_VALUE: return START_TIME;
+ case STOP_TIME_VALUE: return STOP_TIME;
+ case TENDENCY_VALUE: return TENDENCY;
+ case TENDENCY_TEXT_VALUE: return TENDENCY_TEXT;
+ case LENGTH_AFFECTED_VALUE: return LENGTH_AFFECTED;
+ case AVERAGE_SPEED_ABSOLUTE_VALUE: return AVERAGE_SPEED_ABSOLUTE;
+ case DELAY_VALUE: return DELAY;
+ case SEGMENT_SPEED_LIMIT_VALUE: return SEGMENT_SPEED_LIMIT;
+ case CAUSES_VALUE: return CAUSES;
+ case CAUSE_TEXTS_VALUE: return CAUSE_TEXTS;
+ case APPLICABILITY_TEXTS_VALUE: return APPLICABILITY_TEXTS;
+ case LOCATION_VALUE: return LOCATION;
+ case LOCATION_INFO_VALUE: return LOCATION_INFO;
+ case LOCATION_BOUNDING_BOX_VALUE: return LOCATION_BOUNDING_BOX;
+ case APPLICABILITY_VALUE: return APPLICABILITY;
+ case ADVICES_VALUE: return ADVICES;
+ case ADVICE_TEXTS_VALUE: return ADVICE_TEXTS;
+ case EXPECTED_SPEED_ABSOLUTE_VALUE: return EXPECTED_SPEED_ABSOLUTE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private TrafficIncidentField(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //TrafficIncidentField
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidents.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidents.java
new file mode 100755
index 0000000..a7279fb
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidents.java
@@ -0,0 +1,383 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.genivi.common.RectangularArea;
+
+import org.genivi.iconset.IconDefinition;
+import org.genivi.iconset.IconInfo;
+import org.genivi.iconset.IconSet;
+import org.genivi.trafficincidentsservice.trafficincidenttables.WarningLevel;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Traffic Incidents</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * This is the main interface via which a client obtains Traffic Information.
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidents()
+ * @model annotation="http://www.tomtom.com/emfidl/2012/GenModel versionMajor='0' versionMinor='1'"
+ * @generated
+ */
+public interface TrafficIncidents extends EObject {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the API version of this interface implemented by the service.
+ * @param listener The class on which the callback function is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getVersion(TrafficIncidentsListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get all the Ids of the current traffic incidents.
+ * @param listener The class on which the callback function is called.
+ * @param warningLevels
+ * Only incidents with one of the specified warning levels will be returned.
+ * In case of an empty list, traffic incidents with any warning level (and no specified warning level) are returned.
+ * <!-- end-model-doc -->
+ * @model warningLevelsMany="true" categoryIdsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentIds(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the Ids of the traffic incidents in a number of areas.
+ * @param listener The class on which the callback function is called.
+ * @param warningLevels
+ * Only incidents with one of the specified warning levels will be returned.
+ * In case of an empty list, traffic incidents with any warning level (and no specified warning level) are returned.
+ * @param areas The areas for which the traffic incident Ids are requested.
+ * <!-- end-model-doc -->
+ * @model warningLevelsMany="true" categoryIdsMany="true" areasMany="true"
+ * @generated
+ */
+ void getTrafficIncidentIdsInAreas(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, EList<RectangularArea> areas);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get a number of Traffic Incidents.
+ * @param listener The class on which the callback function is called.
+ * @param trafficIncidentIds The Ids of the requested Traffic Incidents.
+ * @param includeTextFields The text fields in the returned Traffic Incident will only be filled in if this parameter is set to true.
+ * <!-- end-model-doc -->
+ * @model trafficIncidentIdsMany="true"
+ * @generated
+ */
+ void getTrafficIncidents(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, boolean includeTextFields);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get a number of Traffic Incidents, where only specific fields are filled in..
+ * @param listener The class on which the callback function is called.
+ * @param trafficIncidentIds The Ids of the requested Traffic Incidents.
+ * @param trafficIncidentFields The fields (attributes) to be filled in in the Traffic Incident.
+ * <!-- end-model-doc -->
+ * @model trafficIncidentIdsMany="true" trafficIncidentFieldsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentsFields(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, EList<TrafficIncidentField> trafficIncidentFields);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the texts for a number of Traffic Incidents.
+ * @param listener The class on which the callback function is called.
+ * @param trafficIncidentIds The Ids of the Traffic Incidents for which the texts are requested.
+ * @param textDetailLevel The amount of detail to be provided in the texts.
+ * <!-- end-model-doc -->
+ * @model trafficIncidentIdsMany="true"
+ * @generated
+ */
+ void getTexts(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, TextDetailLevel textDetailLevel);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Add a listener which is notified in case of any change in Traffic Incidents status.
+ * In case of a status change, the TrafficIncidentsStatus() method of the listener is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void addTrafficIncidentsStatusListener(TrafficIncidentsListener listener, TrafficIncidentsListener trafficIncidentsStatusListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addFeedInformationListener(TrafficIncidentsListener listener, TrafficIncidentsListener feedInformationListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeUpdateListener(TrafficIncidentsListener listener, TrafficIncidentsListener updateListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeAreasUpdateListener(TrafficIncidentsListener listener, TrafficIncidentsListener updateListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeTrafficIncidentsStatusListener(TrafficIncidentsListener listener, TrafficIncidentsListener trafficIncidentsStatusListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeFeedInformationListener(TrafficIncidentsListener listener, TrafficIncidentsListener feedInformationListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Add a listener which is notified in case of any update in the traffic information.
+ * In case of an update the updates() method of the listener is called.
+ * @param listener The class on which the callback function is called.
+ * @param warningLevels
+ * Only incidents with one of the specified warning levels will be returned.
+ * In case of an empty list, traffic incidents with any warning level (and no specified warning level) are returned.
+ * <!-- end-model-doc -->
+ * @model warningLevelsMany="true" categoryIdsMany="true"
+ * @generated
+ */
+ void addUpdateListener(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, TrafficIncidentsListener updateListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Add a listener which is notified in case of an update in the traffic information in one or more specific area's.
+ * In case of an update the updatesInAreas() method of the listener is called.
+ * @param listener The class on which the callback function is called.
+ * @param warningLevels
+ * Only incidents with one of the specified warning levels will be returned.
+ * In case of an empty list, traffic incidents with any warning level (and no specified warning level) are returned.
+ * @param areas The area's to be observed for changes.
+ * <!-- end-model-doc -->
+ * @model warningLevelsMany="true" categoryIdsMany="true" areasMany="true"
+ * @generated
+ */
+ void addAreasUpdateListener(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, EList<RectangularArea> areas, TrafficIncidentsListener updateListener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Get the current language.
+ * @param listener The class on which the callback function is called.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getLanguage(TrafficIncidentsListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Set the language.
+ * @param languageCode The language to be used.
+ * @param countryCode The country specific variant for the language to be used.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void setLanguage(TrafficIncidentsListener listener, String languageCode, String countryCode);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setTimeFormat(TrafficIncidentsListener listener, String timeFormat);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setDateFormat(TrafficIncidentsListener listener, String dateFormat);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setLengthUnit(TrafficIncidentsListener listener, LengthUnit lengthUnit);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setWeightUnit(TrafficIncidentsListener listener, WeightUnit weightUnit);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void reserveIconSetIds(TrafficIncidentsListener listener, int numberOfIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconSetIdsMany="true"
+ * @generated
+ */
+ void freeIconSetIds(TrafficIncidentsListener listener, EList<Integer> iconSetIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void getIconSets(TrafficIncidentsListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconSetsMany="true"
+ * @generated
+ */
+ void addIconSetDefinitions(TrafficIncidentsListener listener, EList<IconSet> iconSets);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconSetIdsMany="true"
+ * @generated
+ */
+ void removeIconSetDefinitions(TrafficIncidentsListener listener, EList<Integer> iconSetIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconInfosMany="true"
+ * @generated
+ */
+ void getIconDefinitions(TrafficIncidentsListener listener, EList<IconInfo> iconInfos);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconDefinitionsMany="true"
+ * @generated
+ */
+ void addIconDefinitions(TrafficIncidentsListener listener, EList<IconDefinition> iconDefinitions);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconInfosMany="true"
+ * @generated
+ */
+ void removeIconDefinitions(TrafficIncidentsListener listener, EList<IconInfo> iconInfos);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void reserveCategoryIds(TrafficIncidentsListener listener, int numberOfIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model categoryIdsMany="true"
+ * @generated
+ */
+ void freeCategoryIds(TrafficIncidentsListener listener, EList<Integer> categoryIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void getCategoryDefinitions(TrafficIncidentsListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model categoryDefinitionsMany="true"
+ * @generated
+ */
+ void addCategoryDefinitions(TrafficIncidentsListener listener, EList<CategoryDefinition> categoryDefinitions);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model categoryIdsMany="true"
+ * @generated
+ */
+ void removeCategoryDefinitions(TrafficIncidentsListener listener, EList<Integer> categoryIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void getApplicability(TrafficIncidentsListener listener);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setApplicability(TrafficIncidentsListener listener, String filterExpression);
+
+} // TrafficIncidents
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsListener.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsListener.java
new file mode 100755
index 0000000..7a14629
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsListener.java
@@ -0,0 +1,422 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.genivi.common.RectangularArea;
+import org.genivi.common.Version;
+
+import org.genivi.iconset.IconDefinition;
+import org.genivi.iconset.IconSet;
+import org.genivi.trafficincidentsservice.trafficincidents.trafficincident.TrafficIncident;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Traffic Incidents Listener</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentsListener()
+ * @model
+ * @generated
+ */
+public interface TrafficIncidentsListener extends EObject {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getVersion().
+ * @param version The API version of this interface implemented by the service.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getVersionReply(Version version);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getTrafficIncidentIds().
+ * @param trafficIncidentIds The Ids of the requested traffic incidents.
+ * <!-- end-model-doc -->
+ * @model trafficIncidentIdsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentIdsReply(EList<Integer> trafficIncidentIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getTrafficIncidentIdsInAreas().
+ * @param trafficIncidentIds The Ids of the requested traffic incidents.
+ * <!-- end-model-doc -->
+ * @model trafficIncidentIdsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentIdsInAreasReply(EList<Integer> trafficIncidentIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getTrafficIncidents().
+ * @param trafficIncidents
+ * The requested Traffic Incidents. This list may be shorter than the request list
+ * as nothing is returned for Ids that don't exist (anymore).
+ * <!-- end-model-doc -->
+ * @model trafficIncidentsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentsReply(EList<TrafficIncident> trafficIncidents);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getTrafficIncidentsFields().
+ * @param trafficIncidents
+ * The requested Traffic Incidents, with only the requested fields filled in.
+ * This list may be shorter than the request list as nothing is returned for
+ * Ids that don't exist (anymore).
+ * <!-- end-model-doc -->
+ * @model trafficIncidentsMany="true"
+ * @generated
+ */
+ void getTrafficIncidentsFieldsReply(EList<TrafficIncident> trafficIncidents);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getTexts().
+ * @param texts
+ * Text information per requested traffic incident.
+ * The texts will be in the same order as the trafficIncidentIds in the request.
+ * <!-- end-model-doc -->
+ * @model textsMany="true"
+ * @generated
+ */
+ void getTextsReply(EList<String> texts);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addTrafficIncidentsStatusListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addFeedInformationListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addUpdateListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeUpdateListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addAreasUpdateListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeAreasUpdateListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setLanguageReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setTimeFormatReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setDateFormatReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setLengthUnitReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setWeightUnitReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void setApplicabilityReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void freeCategoryIdsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * If a client has registered itself as a listener for any updates in the traffic incidents,
+ * this method is called if there are changes.
+ * <!-- end-model-doc -->
+ * @model unchangedTrafficIncidentIdsMany="true" changedTrafficIncidentIdsMany="true" newTrafficIncidentIdsMany="true" deletedTrafficIncidentIdsMany="true"
+ * @generated
+ */
+ void updates(EList<Integer> unchangedTrafficIncidentIds, EList<Integer> changedTrafficIncidentIds, EList<Integer> newTrafficIncidentIds, EList<Integer> deletedTrafficIncidentIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * If a client has registered itself as a listener for updates in the traffic incidents in one or more area's
+ * (via addAreaUpdateListener() or addAreasUpdateListener()),
+ * this method is called if there are changes.
+ * @param areas The area's in which changes have taken place.
+ * <!-- end-model-doc -->
+ * @model areasMany="true"
+ * @generated
+ */
+ void updatesInAreas(EList<RectangularArea> areas);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This method is called as a response to getLanguage().
+ * @param languageCode The language.
+ * @param countryCode The country specific variant for the language.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void getLanguageReply(String languageCode, String countryCode);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * If a client has registered itself as a listener for changes in the Traffic Incidents status,
+ * this method is called upon changes in the Traffic Incidents status.
+ * The provided status information is the combined status of the available feeds in the system.
+ * Details of how the information is combined is given per parameter.
+ * @param trafficIncidentFeedStatus
+ * The combined status of the Traffic Incident Feeds.
+ * If all Feeds are UNAVAILABLE, the status is UNAVAILABLE.
+ * Else, if any of the Feeds is CONNECTED, the status is CONNECTED.
+ * Else, the status is DISCONNECTED (so there are Feeds available, but none of them is connected).
+ * @param trafficIncidentsStatus
+ * The combined status of the Traffic Incidents.
+ * If the status for all the Feeds is AVAILABLE, , the combined status is AVAILABLE.
+ * Else, if the status for one of the Feeds is PARTLY_AVAILABLE, the combined status is PARTLY_AVAILABLE.
+ * Else, the combined status is UNAVAILABLE (so there are no Traffic Incidents at all).
+ *
+ *
+ * Meaning of the enum values at this level:
+ * UNAVAILABLE: The are no incidents in the system, and currently they can also not be received.
+ * PARTLY_AVAILABLE: There are or may be incidents in the system, but the set of incidents is probably not up to date.
+ * This means that big changes are possible. Examples: Upon start-up, some incidents have already been received,
+ * but there are more incidents to receive. If the user is looking at the map display, new incidents may suddenly appear.
+ * When a connection is lost, the information stays valid for some time, but the information may no longer be fully up to date,
+ * and at some point in time a lot of incidents may suddenly disappear because they are no longer valid.
+ * AVAILABLE: The reception and handling of the incidents is stable, and as up to date as possible with respect to the used protocol(s).
+ * It is however still possible that there are currently no Traffic Incidents.
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ void trafficIncidentsStatus(TrafficIncidentFeedStatus trafficIncidentFeedStatus, TrafficIncidentsStatus trafficIncidentsStatus);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * If a client has registered itself as a listener for changes in the Feed Information,
+ * this method is called upon changes in the Feed Information.
+ * @param feedsInformation The information per Traffic Incident Feed.
+ * <!-- end-model-doc -->
+ * @model feedsInformationMany="true"
+ * @generated
+ */
+ void feedInformation(EList<FeedInformation> feedsInformation);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model categoryIdsMany="true"
+ * @generated
+ */
+ void reserveCategoryIdsReply(EList<Integer> categoryIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconSetIdsMany="true"
+ * @generated
+ */
+ void reserveIconSetIdsReply(EList<Integer> iconSetIds);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconSetsMany="true"
+ * @generated
+ */
+ void getIconSetsReply(EList<IconSet> iconSets);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addIconSetDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeIconSetDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeFeedInformationListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeTrafficIncidentsStatusListenerReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model iconDefinitionsMany="true"
+ * @generated
+ */
+ void getIconDefinitionsReply(EList<IconDefinition> iconDefinitions);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addIconDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeIconDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model categoryDefinitionsMany="true"
+ * @generated
+ */
+ void getCategoryDefinitionsReply(EList<CategoryDefinition> categoryDefinitions);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void addCategoryDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void removeCategoryDefinitionsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void freeIconSetIdsReply();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model
+ * @generated
+ */
+ void getApplicabilityReply(String filterExpression);
+
+} // TrafficIncidentsListener
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsStatus.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsStatus.java
new file mode 100755
index 0000000..2194c43
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/TrafficIncidentsStatus.java
@@ -0,0 +1,241 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Traffic Incidents Status</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * This type provides information on the status of the Traffic Incidents.
+ * <!-- end-model-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getTrafficIncidentsStatus()
+ * @model
+ * @generated
+ */
+public enum TrafficIncidentsStatus implements Enumerator {
+ /**
+ * The '<em><b>UNAVAILABLE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #UNAVAILABLE_VALUE
+ * @generated
+ * @ordered
+ */
+ UNAVAILABLE(1, "UNAVAILABLE", "UNAVAILABLE"),
+
+ /**
+ * The '<em><b>PARTLY AVAILABLE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #PARTLY_AVAILABLE_VALUE
+ * @generated
+ * @ordered
+ */
+ PARTLY_AVAILABLE(2, "PARTLY_AVAILABLE", "PARTLY_AVAILABLE"),
+
+ /**
+ * The '<em><b>AVAILABLE</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #AVAILABLE_VALUE
+ * @generated
+ * @ordered
+ */
+ AVAILABLE(3, "AVAILABLE", "AVAILABLE");
+
+ /**
+ * The '<em><b>UNAVAILABLE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * There is no Traffic Incident data available.
+ * <!-- end-model-doc -->
+ * @see #UNAVAILABLE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int UNAVAILABLE_VALUE = 1;
+
+ /**
+ * The '<em><b>PARTLY AVAILABLE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * There is incomplete Traffic Incident data available. This happens e.g. if the Feed status has changed from DISCONNECTED to CONNECTED
+ * and the system knows that not all information has been received, or if the Feed status goes temporarily from CONNECTED to DISCONNECTED.
+ * <!-- end-model-doc -->
+ * @see #PARTLY_AVAILABLE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int PARTLY_AVAILABLE_VALUE = 2;
+
+ /**
+ * The '<em><b>AVAILABLE</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * There is Traffic Incident data available.
+ * <!-- end-model-doc -->
+ * @see #AVAILABLE
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int AVAILABLE_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Traffic Incidents Status</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final TrafficIncidentsStatus[] VALUES_ARRAY =
+ new TrafficIncidentsStatus[] {
+ UNAVAILABLE,
+ PARTLY_AVAILABLE,
+ AVAILABLE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Traffic Incidents Status</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<TrafficIncidentsStatus> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Traffic Incidents Status</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentsStatus get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentsStatus result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incidents Status</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentsStatus getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ TrafficIncidentsStatus result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Traffic Incidents Status</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static TrafficIncidentsStatus get(int value) {
+ switch (value) {
+ case UNAVAILABLE_VALUE: return UNAVAILABLE;
+ case PARTLY_AVAILABLE_VALUE: return PARTLY_AVAILABLE;
+ case AVAILABLE_VALUE: return AVAILABLE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private TrafficIncidentsStatus(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //TrafficIncidentsStatus
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/WeightUnit.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/WeightUnit.java
new file mode 100755
index 0000000..b374d3c
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/WeightUnit.java
@@ -0,0 +1,213 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Weight Unit</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage#getWeightUnit()
+ * @model
+ * @generated
+ */
+public enum WeightUnit implements Enumerator {
+ /**
+ * The '<em><b>KILOGRAM</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #KILOGRAM_VALUE
+ * @generated
+ * @ordered
+ */
+ KILOGRAM(1, "KILOGRAM", "KILOGRAM"),
+
+ /**
+ * The '<em><b>POUND</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #POUND_VALUE
+ * @generated
+ * @ordered
+ */
+ POUND(2, "POUND", "POUND");
+
+ /**
+ * The '<em><b>KILOGRAM</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>KILOGRAM</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #KILOGRAM
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int KILOGRAM_VALUE = 1;
+
+ /**
+ * The '<em><b>POUND</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>POUND</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #POUND
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int POUND_VALUE = 2;
+
+ /**
+ * An array of all the '<em><b>Weight Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final WeightUnit[] VALUES_ARRAY =
+ new WeightUnit[] {
+ KILOGRAM,
+ POUND,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Weight Unit</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<WeightUnit> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Weight Unit</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static WeightUnit get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ WeightUnit result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Weight Unit</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static WeightUnit getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ WeightUnit result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Weight Unit</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static WeightUnit get(int value) {
+ switch (value) {
+ case KILOGRAM_VALUE: return KILOGRAM;
+ case POUND_VALUE: return POUND;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private WeightUnit(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //WeightUnit
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/CategoryDefinitionImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/CategoryDefinitionImpl.java
new file mode 100755
index 0000000..d559b9c
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/CategoryDefinitionImpl.java
@@ -0,0 +1,464 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.BasicEList;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.genivi.common.LocalizedString;
+import org.genivi.iconset.IconInfo;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Category Definition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl#getLocalizedNamesList <em>Localized Names</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl#getCategoryId <em>Category Id</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl#getIconsList <em>Icons</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl#getExpression <em>Expression</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CategoryDefinitionImpl extends EObjectImpl implements CategoryDefinition {
+ /**
+ * The cached value of the '{@link #getLocalizedNamesList() <em>Localized Names</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocalizedNamesList()
+ * @generated
+ * @ordered
+ */
+ protected EList<LocalizedString> localizedNames;
+
+ /**
+ * The empty value for the '{@link #getLocalizedNames() <em>Localized Names</em>}' array accessor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLocalizedNames()
+ * @generated
+ * @ordered
+ */
+ protected static final LocalizedString[] LOCALIZED_NAMES_EEMPTY_ARRAY = new LocalizedString [0];
+
+ /**
+ * The default value of the '{@link #getCategoryId() <em>Category Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCategoryId()
+ * @generated
+ * @ordered
+ */
+ protected static final int CATEGORY_ID_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getCategoryId() <em>Category Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCategoryId()
+ * @generated
+ * @ordered
+ */
+ protected int categoryId = CATEGORY_ID_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getIconsList() <em>Icons</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIconsList()
+ * @generated
+ * @ordered
+ */
+ protected EList<IconInfo> icons;
+
+ /**
+ * The empty value for the '{@link #getIcons() <em>Icons</em>}' array accessor.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIcons()
+ * @generated
+ * @ordered
+ */
+ protected static final IconInfo[] ICONS_EEMPTY_ARRAY = new IconInfo [0];
+
+ /**
+ * The default value of the '{@link #getExpression() <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExpression()
+ * @generated
+ * @ordered
+ */
+ protected String expression = EXPRESSION_EDEFAULT;
+
+ /**
+ * This is true if the Expression attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean expressionESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CategoryDefinitionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.CATEGORY_DEFINITION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LocalizedString[] getLocalizedNames() {
+ if (localizedNames == null || localizedNames.isEmpty()) return LOCALIZED_NAMES_EEMPTY_ARRAY;
+ BasicEList<LocalizedString> list = (BasicEList<LocalizedString>)localizedNames;
+ list.shrink();
+ return (LocalizedString[])list.data();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LocalizedString getLocalizedNames(int index) {
+ return getLocalizedNamesList().get(index);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getLocalizedNamesLength() {
+ return localizedNames == null ? 0 : localizedNames.size();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLocalizedNames(LocalizedString[] newLocalizedNames) {
+ ((BasicEList<LocalizedString>)getLocalizedNamesList()).setData(newLocalizedNames.length, newLocalizedNames);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLocalizedNames(int index, LocalizedString element) {
+ getLocalizedNamesList().set(index, element);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<LocalizedString> getLocalizedNamesList() {
+ if (localizedNames == null) {
+ localizedNames = new EObjectContainmentEList<LocalizedString>(LocalizedString.class, this, trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES);
+ }
+ return localizedNames;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getCategoryId() {
+ return categoryId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCategoryId(int newCategoryId) {
+ int oldCategoryId = categoryId;
+ categoryId = newCategoryId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.CATEGORY_DEFINITION__CATEGORY_ID, oldCategoryId, categoryId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IconInfo[] getIcons() {
+ if (icons == null || icons.isEmpty()) return ICONS_EEMPTY_ARRAY;
+ BasicEList<IconInfo> list = (BasicEList<IconInfo>)icons;
+ list.shrink();
+ return (IconInfo[])list.data();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IconInfo getIcons(int index) {
+ return getIconsList().get(index);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getIconsLength() {
+ return icons == null ? 0 : icons.size();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIcons(IconInfo[] newIcons) {
+ ((BasicEList<IconInfo>)getIconsList()).setData(newIcons.length, newIcons);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIcons(int index, IconInfo element) {
+ getIconsList().set(index, element);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<IconInfo> getIconsList() {
+ if (icons == null) {
+ icons = new EObjectContainmentEList<IconInfo>(IconInfo.class, this, trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS);
+ }
+ return icons;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(String newExpression) {
+ String oldExpression = expression;
+ expression = newExpression;
+ boolean oldExpressionESet = expressionESet;
+ expressionESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION, oldExpression, expression, !oldExpressionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetExpression() {
+ String oldExpression = expression;
+ boolean oldExpressionESet = expressionESet;
+ expression = EXPRESSION_EDEFAULT;
+ expressionESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION, oldExpression, EXPRESSION_EDEFAULT, oldExpressionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetExpression() {
+ return expressionESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES:
+ return ((InternalEList<?>)getLocalizedNamesList()).basicRemove(otherEnd, msgs);
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS:
+ return ((InternalEList<?>)getIconsList()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES:
+ return getLocalizedNamesList();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__CATEGORY_ID:
+ return getCategoryId();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS:
+ return getIconsList();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION:
+ return getExpression();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES:
+ getLocalizedNamesList().clear();
+ getLocalizedNamesList().addAll((Collection<? extends LocalizedString>)newValue);
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__CATEGORY_ID:
+ setCategoryId((Integer)newValue);
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS:
+ getIconsList().clear();
+ getIconsList().addAll((Collection<? extends IconInfo>)newValue);
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION:
+ setExpression((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES:
+ getLocalizedNamesList().clear();
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__CATEGORY_ID:
+ setCategoryId(CATEGORY_ID_EDEFAULT);
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS:
+ getIconsList().clear();
+ return;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION:
+ unsetExpression();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__LOCALIZED_NAMES:
+ return localizedNames != null && !localizedNames.isEmpty();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__CATEGORY_ID:
+ return categoryId != CATEGORY_ID_EDEFAULT;
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__ICONS:
+ return icons != null && !icons.isEmpty();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION__EXPRESSION:
+ return isSetExpression();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (categoryId: ");
+ result.append(categoryId);
+ result.append(", expression: ");
+ if (expressionESet) result.append(expression); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //CategoryDefinitionImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/FeedInformationImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/FeedInformationImpl.java
new file mode 100755
index 0000000..3f0a236
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/FeedInformationImpl.java
@@ -0,0 +1,556 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentsStatus;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Feed Information</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl#getDataProviderName <em>Data Provider Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl#getProtocolName <em>Protocol Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl#getCommunicationChannelName <em>Communication Channel Name</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl#getFeedStatus <em>Feed Status</em>}</li>
+ * <li>{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FeedInformationImpl extends EObjectImpl implements FeedInformation {
+ /**
+ * The default value of the '{@link #getDataProviderName() <em>Data Provider Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataProviderName()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATA_PROVIDER_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDataProviderName() <em>Data Provider Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataProviderName()
+ * @generated
+ * @ordered
+ */
+ protected String dataProviderName = DATA_PROVIDER_NAME_EDEFAULT;
+
+ /**
+ * This is true if the Data Provider Name attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean dataProviderNameESet;
+
+ /**
+ * The default value of the '{@link #getProtocolName() <em>Protocol Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocolName()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROTOCOL_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProtocolName() <em>Protocol Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocolName()
+ * @generated
+ * @ordered
+ */
+ protected String protocolName = PROTOCOL_NAME_EDEFAULT;
+
+ /**
+ * This is true if the Protocol Name attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean protocolNameESet;
+
+ /**
+ * The default value of the '{@link #getCommunicationChannelName() <em>Communication Channel Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommunicationChannelName()
+ * @generated
+ * @ordered
+ */
+ protected static final String COMMUNICATION_CHANNEL_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCommunicationChannelName() <em>Communication Channel Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCommunicationChannelName()
+ * @generated
+ * @ordered
+ */
+ protected String communicationChannelName = COMMUNICATION_CHANNEL_NAME_EDEFAULT;
+
+ /**
+ * This is true if the Communication Channel Name attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean communicationChannelNameESet;
+
+ /**
+ * The default value of the '{@link #getFeedStatus() <em>Feed Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeedStatus()
+ * @generated
+ * @ordered
+ */
+ protected static final TrafficIncidentFeedStatus FEED_STATUS_EDEFAULT = TrafficIncidentFeedStatus.UNAVAILABLE;
+
+ /**
+ * The cached value of the '{@link #getFeedStatus() <em>Feed Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeedStatus()
+ * @generated
+ * @ordered
+ */
+ protected TrafficIncidentFeedStatus feedStatus = FEED_STATUS_EDEFAULT;
+
+ /**
+ * This is true if the Feed Status attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean feedStatusESet;
+
+ /**
+ * The default value of the '{@link #getTrafficIncidentsStatus() <em>Traffic Incidents Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTrafficIncidentsStatus()
+ * @generated
+ * @ordered
+ */
+ protected static final TrafficIncidentsStatus TRAFFIC_INCIDENTS_STATUS_EDEFAULT = TrafficIncidentsStatus.UNAVAILABLE;
+
+ /**
+ * The cached value of the '{@link #getTrafficIncidentsStatus() <em>Traffic Incidents Status</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTrafficIncidentsStatus()
+ * @generated
+ * @ordered
+ */
+ protected TrafficIncidentsStatus trafficIncidentsStatus = TRAFFIC_INCIDENTS_STATUS_EDEFAULT;
+
+ /**
+ * This is true if the Traffic Incidents Status attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean trafficIncidentsStatusESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FeedInformationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.FEED_INFORMATION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDataProviderName() {
+ return dataProviderName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataProviderName(String newDataProviderName) {
+ String oldDataProviderName = dataProviderName;
+ dataProviderName = newDataProviderName;
+ boolean oldDataProviderNameESet = dataProviderNameESet;
+ dataProviderNameESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME, oldDataProviderName, dataProviderName, !oldDataProviderNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDataProviderName() {
+ String oldDataProviderName = dataProviderName;
+ boolean oldDataProviderNameESet = dataProviderNameESet;
+ dataProviderName = DATA_PROVIDER_NAME_EDEFAULT;
+ dataProviderNameESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME, oldDataProviderName, DATA_PROVIDER_NAME_EDEFAULT, oldDataProviderNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDataProviderName() {
+ return dataProviderNameESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProtocolName() {
+ return protocolName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProtocolName(String newProtocolName) {
+ String oldProtocolName = protocolName;
+ protocolName = newProtocolName;
+ boolean oldProtocolNameESet = protocolNameESet;
+ protocolNameESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME, oldProtocolName, protocolName, !oldProtocolNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetProtocolName() {
+ String oldProtocolName = protocolName;
+ boolean oldProtocolNameESet = protocolNameESet;
+ protocolName = PROTOCOL_NAME_EDEFAULT;
+ protocolNameESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME, oldProtocolName, PROTOCOL_NAME_EDEFAULT, oldProtocolNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetProtocolName() {
+ return protocolNameESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCommunicationChannelName() {
+ return communicationChannelName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCommunicationChannelName(String newCommunicationChannelName) {
+ String oldCommunicationChannelName = communicationChannelName;
+ communicationChannelName = newCommunicationChannelName;
+ boolean oldCommunicationChannelNameESet = communicationChannelNameESet;
+ communicationChannelNameESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME, oldCommunicationChannelName, communicationChannelName, !oldCommunicationChannelNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetCommunicationChannelName() {
+ String oldCommunicationChannelName = communicationChannelName;
+ boolean oldCommunicationChannelNameESet = communicationChannelNameESet;
+ communicationChannelName = COMMUNICATION_CHANNEL_NAME_EDEFAULT;
+ communicationChannelNameESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME, oldCommunicationChannelName, COMMUNICATION_CHANNEL_NAME_EDEFAULT, oldCommunicationChannelNameESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetCommunicationChannelName() {
+ return communicationChannelNameESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentFeedStatus getFeedStatus() {
+ return feedStatus;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFeedStatus(TrafficIncidentFeedStatus newFeedStatus) {
+ TrafficIncidentFeedStatus oldFeedStatus = feedStatus;
+ feedStatus = newFeedStatus == null ? FEED_STATUS_EDEFAULT : newFeedStatus;
+ boolean oldFeedStatusESet = feedStatusESet;
+ feedStatusESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS, oldFeedStatus, feedStatus, !oldFeedStatusESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetFeedStatus() {
+ TrafficIncidentFeedStatus oldFeedStatus = feedStatus;
+ boolean oldFeedStatusESet = feedStatusESet;
+ feedStatus = FEED_STATUS_EDEFAULT;
+ feedStatusESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS, oldFeedStatus, FEED_STATUS_EDEFAULT, oldFeedStatusESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetFeedStatus() {
+ return feedStatusESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentsStatus getTrafficIncidentsStatus() {
+ return trafficIncidentsStatus;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTrafficIncidentsStatus(TrafficIncidentsStatus newTrafficIncidentsStatus) {
+ TrafficIncidentsStatus oldTrafficIncidentsStatus = trafficIncidentsStatus;
+ trafficIncidentsStatus = newTrafficIncidentsStatus == null ? TRAFFIC_INCIDENTS_STATUS_EDEFAULT : newTrafficIncidentsStatus;
+ boolean oldTrafficIncidentsStatusESet = trafficIncidentsStatusESet;
+ trafficIncidentsStatusESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS, oldTrafficIncidentsStatus, trafficIncidentsStatus, !oldTrafficIncidentsStatusESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetTrafficIncidentsStatus() {
+ TrafficIncidentsStatus oldTrafficIncidentsStatus = trafficIncidentsStatus;
+ boolean oldTrafficIncidentsStatusESet = trafficIncidentsStatusESet;
+ trafficIncidentsStatus = TRAFFIC_INCIDENTS_STATUS_EDEFAULT;
+ trafficIncidentsStatusESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS, oldTrafficIncidentsStatus, TRAFFIC_INCIDENTS_STATUS_EDEFAULT, oldTrafficIncidentsStatusESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetTrafficIncidentsStatus() {
+ return trafficIncidentsStatusESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME:
+ return getDataProviderName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME:
+ return getProtocolName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME:
+ return getCommunicationChannelName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS:
+ return getFeedStatus();
+ case trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS:
+ return getTrafficIncidentsStatus();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME:
+ setDataProviderName((String)newValue);
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME:
+ setProtocolName((String)newValue);
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME:
+ setCommunicationChannelName((String)newValue);
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS:
+ setFeedStatus((TrafficIncidentFeedStatus)newValue);
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS:
+ setTrafficIncidentsStatus((TrafficIncidentsStatus)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME:
+ unsetDataProviderName();
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME:
+ unsetProtocolName();
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME:
+ unsetCommunicationChannelName();
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS:
+ unsetFeedStatus();
+ return;
+ case trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS:
+ unsetTrafficIncidentsStatus();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case trafficincidentsservicePackage.FEED_INFORMATION__DATA_PROVIDER_NAME:
+ return isSetDataProviderName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__PROTOCOL_NAME:
+ return isSetProtocolName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME:
+ return isSetCommunicationChannelName();
+ case trafficincidentsservicePackage.FEED_INFORMATION__FEED_STATUS:
+ return isSetFeedStatus();
+ case trafficincidentsservicePackage.FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS:
+ return isSetTrafficIncidentsStatus();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (dataProviderName: ");
+ if (dataProviderNameESet) result.append(dataProviderName); else result.append("<unset>");
+ result.append(", protocolName: ");
+ if (protocolNameESet) result.append(protocolName); else result.append("<unset>");
+ result.append(", communicationChannelName: ");
+ if (communicationChannelNameESet) result.append(communicationChannelName); else result.append("<unset>");
+ result.append(", feedStatus: ");
+ if (feedStatusESet) result.append(feedStatus); else result.append("<unset>");
+ result.append(", trafficIncidentsStatus: ");
+ if (trafficIncidentsStatusESet) result.append(trafficIncidentsStatus); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //FeedInformationImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedImpl.java
new file mode 100755
index 0000000..6c76144
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedImpl.java
@@ -0,0 +1,141 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.genivi.trafficincidentsservice.TrafficIncidentFeed;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentsStatus;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+import org.genivi.trafficincidentsservice.trafficincidentfeed.trafficincident.TrafficIncident;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Traffic Incident Feed</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TrafficIncidentFeedImpl extends EObjectImpl implements TrafficIncidentFeed {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TrafficIncidentFeedImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.TRAFFIC_INCIDENT_FEED;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getVersion(TrafficIncidentFeedListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getLanguage(TrafficIncidentFeedListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addLanguageListener(TrafficIncidentFeedListener listener, TrafficIncidentFeedListener changeListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void clear() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void updateIncidents(int feedId, EList<String> cancelledIncidentIds, EList<TrafficIncident> updatedIncidents) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void updateStatus(int feedId, TrafficIncidentFeedStatus feedStatus, TrafficIncidentsStatus incidentsStatus) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void registerFeed(TrafficIncidentFeedListener listener, String dataProviderName, String protocolName, String communicationChannelName) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeLanguageListener(TrafficIncidentFeedListener listener, TrafficIncidentFeedListener changeListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+} //TrafficIncidentFeedImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedListenerImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedListenerImpl.java
new file mode 100755
index 0000000..4f489f0
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentFeedListenerImpl.java
@@ -0,0 +1,103 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.genivi.common.Version;
+
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Traffic Incident Feed Listener</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TrafficIncidentFeedListenerImpl extends EObjectImpl implements TrafficIncidentFeedListener {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TrafficIncidentFeedListenerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.TRAFFIC_INCIDENT_FEED_LISTENER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getVersionReply(Version version) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getLanguageReply(String languageCode, String countryCode) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void registerFeedReply(int feedId) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addLanguageListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeLanguageListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+} //TrafficIncidentFeedListenerImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsImpl.java
new file mode 100755
index 0000000..cca9229
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsImpl.java
@@ -0,0 +1,441 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.genivi.common.RectangularArea;
+import org.genivi.iconset.IconDefinition;
+import org.genivi.iconset.IconInfo;
+import org.genivi.iconset.IconSet;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.LengthUnit;
+import org.genivi.trafficincidentsservice.TextDetailLevel;
+import org.genivi.trafficincidentsservice.TrafficIncidentField;
+import org.genivi.trafficincidentsservice.TrafficIncidents;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.WeightUnit;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+import org.genivi.trafficincidentsservice.trafficincidenttables.WarningLevel;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Traffic Incidents</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TrafficIncidentsImpl extends EObjectImpl implements TrafficIncidents {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TrafficIncidentsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.TRAFFIC_INCIDENTS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getVersion(TrafficIncidentsListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentIds(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentIdsInAreas(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, EList<RectangularArea> areas) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidents(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, boolean includeTextFields) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentsFields(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, EList<TrafficIncidentField> trafficIncidentFields) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTexts(TrafficIncidentsListener listener, EList<Integer> trafficIncidentIds, TextDetailLevel textDetailLevel) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addTrafficIncidentsStatusListener(TrafficIncidentsListener listener, TrafficIncidentsListener trafficIncidentsStatusListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addFeedInformationListener(TrafficIncidentsListener listener, TrafficIncidentsListener feedInformationListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeUpdateListener(TrafficIncidentsListener listener, TrafficIncidentsListener updateListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeAreasUpdateListener(TrafficIncidentsListener listener, TrafficIncidentsListener updateListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeTrafficIncidentsStatusListener(TrafficIncidentsListener listener, TrafficIncidentsListener trafficIncidentsStatusListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeFeedInformationListener(TrafficIncidentsListener listener, TrafficIncidentsListener feedInformationListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addUpdateListener(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, TrafficIncidentsListener updateListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addAreasUpdateListener(TrafficIncidentsListener listener, EList<WarningLevel> warningLevels, EList<Integer> categoryIds, EList<RectangularArea> areas, TrafficIncidentsListener updateListener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getLanguage(TrafficIncidentsListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLanguage(TrafficIncidentsListener listener, String languageCode, String countryCode) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeFormat(TrafficIncidentsListener listener, String timeFormat) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDateFormat(TrafficIncidentsListener listener, String dateFormat) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLengthUnit(TrafficIncidentsListener listener, LengthUnit lengthUnit) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWeightUnit(TrafficIncidentsListener listener, WeightUnit weightUnit) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void reserveIconSetIds(TrafficIncidentsListener listener, int numberOfIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void freeIconSetIds(TrafficIncidentsListener listener, EList<Integer> iconSetIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getIconSets(TrafficIncidentsListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addIconSetDefinitions(TrafficIncidentsListener listener, EList<IconSet> iconSets) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeIconSetDefinitions(TrafficIncidentsListener listener, EList<Integer> iconSetIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getIconDefinitions(TrafficIncidentsListener listener, EList<IconInfo> iconInfos) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addIconDefinitions(TrafficIncidentsListener listener, EList<IconDefinition> iconDefinitions) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeIconDefinitions(TrafficIncidentsListener listener, EList<IconInfo> iconInfos) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void reserveCategoryIds(TrafficIncidentsListener listener, int numberOfIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void freeCategoryIds(TrafficIncidentsListener listener, EList<Integer> categoryIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getCategoryDefinitions(TrafficIncidentsListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addCategoryDefinitions(TrafficIncidentsListener listener, EList<CategoryDefinition> categoryDefinitions) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeCategoryDefinitions(TrafficIncidentsListener listener, EList<Integer> categoryIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getApplicability(TrafficIncidentsListener listener) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplicability(TrafficIncidentsListener listener, String filterExpression) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+} //TrafficIncidentsImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsListenerImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsListenerImpl.java
new file mode 100755
index 0000000..94f0fb2
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/TrafficIncidentsListenerImpl.java
@@ -0,0 +1,488 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.genivi.common.RectangularArea;
+import org.genivi.common.Version;
+
+import org.genivi.iconset.IconDefinition;
+import org.genivi.iconset.IconSet;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentsStatus;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+import org.genivi.trafficincidentsservice.trafficincidents.trafficincident.TrafficIncident;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Traffic Incidents Listener</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class TrafficIncidentsListenerImpl extends EObjectImpl implements TrafficIncidentsListener {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TrafficIncidentsListenerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return trafficincidentsservicePackage.Literals.TRAFFIC_INCIDENTS_LISTENER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getVersionReply(Version version) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentIdsReply(EList<Integer> trafficIncidentIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentIdsInAreasReply(EList<Integer> trafficIncidentIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentsReply(EList<TrafficIncident> trafficIncidents) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTrafficIncidentsFieldsReply(EList<TrafficIncident> trafficIncidents) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getTextsReply(EList<String> texts) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addTrafficIncidentsStatusListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addFeedInformationListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addUpdateListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeUpdateListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addAreasUpdateListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeAreasUpdateListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLanguageReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTimeFormatReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDateFormatReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLengthUnitReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWeightUnitReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplicabilityReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void freeCategoryIdsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void updates(EList<Integer> unchangedTrafficIncidentIds, EList<Integer> changedTrafficIncidentIds, EList<Integer> newTrafficIncidentIds, EList<Integer> deletedTrafficIncidentIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void updatesInAreas(EList<RectangularArea> areas) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getLanguageReply(String languageCode, String countryCode) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void trafficIncidentsStatus(TrafficIncidentFeedStatus trafficIncidentFeedStatus, TrafficIncidentsStatus trafficIncidentsStatus) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void feedInformation(EList<FeedInformation> feedsInformation) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void reserveCategoryIdsReply(EList<Integer> categoryIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void reserveIconSetIdsReply(EList<Integer> iconSetIds) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getIconSetsReply(EList<IconSet> iconSets) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addIconSetDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeIconSetDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeFeedInformationListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeTrafficIncidentsStatusListenerReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getIconDefinitionsReply(EList<IconDefinition> iconDefinitions) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addIconDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeIconDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getCategoryDefinitionsReply(EList<CategoryDefinition> categoryDefinitions) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addCategoryDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeCategoryDefinitionsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void freeIconSetIdsReply() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getApplicabilityReply(String filterExpression) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+} //TrafficIncidentsListenerImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsserviceFactoryImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsserviceFactoryImpl.java
new file mode 100755
index 0000000..46d5a9b
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsserviceFactoryImpl.java
@@ -0,0 +1,362 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.genivi.trafficincidentsservice.*;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.LengthUnit;
+import org.genivi.trafficincidentsservice.SpeedUnit;
+import org.genivi.trafficincidentsservice.TextDetailLevel;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentField;
+import org.genivi.trafficincidentsservice.TrafficIncidents;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentsStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeed;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.WeightUnit;
+import org.genivi.trafficincidentsservice.trafficincidentsserviceFactory;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class trafficincidentsserviceFactoryImpl extends EFactoryImpl implements trafficincidentsserviceFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static trafficincidentsserviceFactory init() {
+ try {
+ trafficincidentsserviceFactory thetrafficincidentsserviceFactory = (trafficincidentsserviceFactory)EPackage.Registry.INSTANCE.getEFactory(trafficincidentsservicePackage.eNS_URI);
+ if (thetrafficincidentsserviceFactory != null) {
+ return thetrafficincidentsserviceFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new trafficincidentsserviceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public trafficincidentsserviceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS: return createTrafficIncidents();
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS_LISTENER: return createTrafficIncidentsListener();
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED: return createTrafficIncidentFeed();
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED_LISTENER: return createTrafficIncidentFeedListener();
+ case trafficincidentsservicePackage.FEED_INFORMATION: return createFeedInformation();
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION: return createCategoryDefinition();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FIELD:
+ return createTrafficIncidentFieldFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.TEXT_DETAIL_LEVEL:
+ return createTextDetailLevelFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED_STATUS:
+ return createTrafficIncidentFeedStatusFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS_STATUS:
+ return createTrafficIncidentsStatusFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.SPEED_UNIT:
+ return createSpeedUnitFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.LENGTH_UNIT:
+ return createLengthUnitFromString(eDataType, initialValue);
+ case trafficincidentsservicePackage.WEIGHT_UNIT:
+ return createWeightUnitFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FIELD:
+ return convertTrafficIncidentFieldToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.TEXT_DETAIL_LEVEL:
+ return convertTextDetailLevelToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED_STATUS:
+ return convertTrafficIncidentFeedStatusToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS_STATUS:
+ return convertTrafficIncidentsStatusToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.SPEED_UNIT:
+ return convertSpeedUnitToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.LENGTH_UNIT:
+ return convertLengthUnitToString(eDataType, instanceValue);
+ case trafficincidentsservicePackage.WEIGHT_UNIT:
+ return convertWeightUnitToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidents createTrafficIncidents() {
+ TrafficIncidentsImpl trafficIncidents = new TrafficIncidentsImpl();
+ return trafficIncidents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentsListener createTrafficIncidentsListener() {
+ TrafficIncidentsListenerImpl trafficIncidentsListener = new TrafficIncidentsListenerImpl();
+ return trafficIncidentsListener;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentFeed createTrafficIncidentFeed() {
+ TrafficIncidentFeedImpl trafficIncidentFeed = new TrafficIncidentFeedImpl();
+ return trafficIncidentFeed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentFeedListener createTrafficIncidentFeedListener() {
+ TrafficIncidentFeedListenerImpl trafficIncidentFeedListener = new TrafficIncidentFeedListenerImpl();
+ return trafficIncidentFeedListener;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeedInformation createFeedInformation() {
+ FeedInformationImpl feedInformation = new FeedInformationImpl();
+ return feedInformation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CategoryDefinition createCategoryDefinition() {
+ CategoryDefinitionImpl categoryDefinition = new CategoryDefinitionImpl();
+ return categoryDefinition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentField createTrafficIncidentFieldFromString(EDataType eDataType, String initialValue) {
+ TrafficIncidentField result = TrafficIncidentField.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertTrafficIncidentFieldToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TextDetailLevel createTextDetailLevelFromString(EDataType eDataType, String initialValue) {
+ TextDetailLevel result = TextDetailLevel.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertTextDetailLevelToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentFeedStatus createTrafficIncidentFeedStatusFromString(EDataType eDataType, String initialValue) {
+ TrafficIncidentFeedStatus result = TrafficIncidentFeedStatus.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertTrafficIncidentFeedStatusToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TrafficIncidentsStatus createTrafficIncidentsStatusFromString(EDataType eDataType, String initialValue) {
+ TrafficIncidentsStatus result = TrafficIncidentsStatus.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertTrafficIncidentsStatusToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SpeedUnit createSpeedUnitFromString(EDataType eDataType, String initialValue) {
+ SpeedUnit result = SpeedUnit.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertSpeedUnitToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LengthUnit createLengthUnitFromString(EDataType eDataType, String initialValue) {
+ LengthUnit result = LengthUnit.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertLengthUnitToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public WeightUnit createWeightUnitFromString(EDataType eDataType, String initialValue) {
+ WeightUnit result = WeightUnit.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertWeightUnitToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public trafficincidentsservicePackage gettrafficincidentsservicePackage() {
+ return (trafficincidentsservicePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static trafficincidentsservicePackage getPackage() {
+ return trafficincidentsservicePackage.eINSTANCE;
+ }
+
+} //trafficincidentsserviceFactoryImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsservicePackageImpl.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsservicePackageImpl.java
new file mode 100755
index 0000000..fd65632
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/impl/trafficincidentsservicePackageImpl.java
@@ -0,0 +1,903 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EOperation;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.genivi.common.CommonPackage;
+import org.genivi.iconset.IconsetPackage;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.LengthUnit;
+import org.genivi.trafficincidentsservice.SpeedUnit;
+import org.genivi.trafficincidentsservice.TextDetailLevel;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeed;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus;
+import org.genivi.trafficincidentsservice.TrafficIncidentField;
+import org.genivi.trafficincidentsservice.TrafficIncidents;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentsStatus;
+import org.genivi.trafficincidentsservice.WeightUnit;
+import org.genivi.trafficincidentsservice.trafficincidentsserviceFactory;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+import org.genivi.trafficincidentsservice.trafficincidentfeed.trafficincident.XTrafficIncidentPackage;
+import org.genivi.trafficincidentsservice.trafficincidents.trafficincident.trafficincidentPackage;
+import org.genivi.trafficincidentsservice.trafficincidenttables.trafficincidenttablesPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class trafficincidentsservicePackageImpl extends EPackageImpl implements trafficincidentsservicePackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass trafficIncidentsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass trafficIncidentsListenerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass trafficIncidentFeedEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass trafficIncidentFeedListenerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass feedInformationEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass categoryDefinitionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum trafficIncidentFieldEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum textDetailLevelEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum trafficIncidentFeedStatusEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum trafficIncidentsStatusEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum speedUnitEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum lengthUnitEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum weightUnitEEnum = 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.genivi.trafficincidentsservice.trafficincidentsservicePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private trafficincidentsservicePackageImpl() {
+ super(eNS_URI, trafficincidentsserviceFactory.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 trafficincidentsservicePackage#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 trafficincidentsservicePackage init() {
+ if (isInited) return (trafficincidentsservicePackage)EPackage.Registry.INSTANCE.getEPackage(trafficincidentsservicePackage.eNS_URI);
+
+ // Obtain or create and register package
+ trafficincidentsservicePackageImpl thetrafficincidentsservicePackage = (trafficincidentsservicePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof trafficincidentsservicePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new trafficincidentsservicePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ IconsetPackage.eINSTANCE.eClass();
+ trafficincidentPackage.eINSTANCE.eClass();
+ XTrafficIncidentPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ thetrafficincidentsservicePackage.createPackageContents();
+
+ // Initialize created meta-data
+ thetrafficincidentsservicePackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ thetrafficincidentsservicePackage.freeze();
+
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(trafficincidentsservicePackage.eNS_URI, thetrafficincidentsservicePackage);
+ return thetrafficincidentsservicePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTrafficIncidents() {
+ return trafficIncidentsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTrafficIncidentsListener() {
+ return trafficIncidentsListenerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTrafficIncidentFeed() {
+ return trafficIncidentFeedEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTrafficIncidentFeedListener() {
+ return trafficIncidentFeedListenerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFeedInformation() {
+ return feedInformationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFeedInformation_DataProviderName() {
+ return (EAttribute)feedInformationEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFeedInformation_ProtocolName() {
+ return (EAttribute)feedInformationEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFeedInformation_CommunicationChannelName() {
+ return (EAttribute)feedInformationEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFeedInformation_FeedStatus() {
+ return (EAttribute)feedInformationEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFeedInformation_TrafficIncidentsStatus() {
+ return (EAttribute)feedInformationEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCategoryDefinition() {
+ return categoryDefinitionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCategoryDefinition_LocalizedNames() {
+ return (EReference)categoryDefinitionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCategoryDefinition_CategoryId() {
+ return (EAttribute)categoryDefinitionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCategoryDefinition_Icons() {
+ return (EReference)categoryDefinitionEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCategoryDefinition_Expression() {
+ return (EAttribute)categoryDefinitionEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getTrafficIncidentField() {
+ return trafficIncidentFieldEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getTextDetailLevel() {
+ return textDetailLevelEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getTrafficIncidentFeedStatus() {
+ return trafficIncidentFeedStatusEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getTrafficIncidentsStatus() {
+ return trafficIncidentsStatusEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getSpeedUnit() {
+ return speedUnitEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getLengthUnit() {
+ return lengthUnitEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getWeightUnit() {
+ return weightUnitEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public trafficincidentsserviceFactory gettrafficincidentsserviceFactory() {
+ return (trafficincidentsserviceFactory)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
+ trafficIncidentsEClass = createEClass(TRAFFIC_INCIDENTS);
+
+ trafficIncidentsListenerEClass = createEClass(TRAFFIC_INCIDENTS_LISTENER);
+
+ trafficIncidentFeedEClass = createEClass(TRAFFIC_INCIDENT_FEED);
+
+ trafficIncidentFeedListenerEClass = createEClass(TRAFFIC_INCIDENT_FEED_LISTENER);
+
+ feedInformationEClass = createEClass(FEED_INFORMATION);
+ createEAttribute(feedInformationEClass, FEED_INFORMATION__DATA_PROVIDER_NAME);
+ createEAttribute(feedInformationEClass, FEED_INFORMATION__PROTOCOL_NAME);
+ createEAttribute(feedInformationEClass, FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME);
+ createEAttribute(feedInformationEClass, FEED_INFORMATION__FEED_STATUS);
+ createEAttribute(feedInformationEClass, FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS);
+
+ categoryDefinitionEClass = createEClass(CATEGORY_DEFINITION);
+ createEReference(categoryDefinitionEClass, CATEGORY_DEFINITION__LOCALIZED_NAMES);
+ createEAttribute(categoryDefinitionEClass, CATEGORY_DEFINITION__CATEGORY_ID);
+ createEReference(categoryDefinitionEClass, CATEGORY_DEFINITION__ICONS);
+ createEAttribute(categoryDefinitionEClass, CATEGORY_DEFINITION__EXPRESSION);
+
+ // Create enums
+ trafficIncidentFieldEEnum = createEEnum(TRAFFIC_INCIDENT_FIELD);
+ textDetailLevelEEnum = createEEnum(TEXT_DETAIL_LEVEL);
+ trafficIncidentFeedStatusEEnum = createEEnum(TRAFFIC_INCIDENT_FEED_STATUS);
+ trafficIncidentsStatusEEnum = createEEnum(TRAFFIC_INCIDENTS_STATUS);
+ speedUnitEEnum = createEEnum(SPEED_UNIT);
+ lengthUnitEEnum = createEEnum(LENGTH_UNIT);
+ weightUnitEEnum = createEEnum(WEIGHT_UNIT);
+ }
+
+ /**
+ * <!-- 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
+ trafficincidenttablesPackage thetrafficincidenttablesPackage = (trafficincidenttablesPackage)EPackage.Registry.INSTANCE.getEPackage(trafficincidenttablesPackage.eNS_URI);
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+ IconsetPackage theIconsetPackage = (IconsetPackage)EPackage.Registry.INSTANCE.getEPackage(IconsetPackage.eNS_URI);
+ trafficincidentPackage thetrafficincidentPackage = (trafficincidentPackage)EPackage.Registry.INSTANCE.getEPackage(trafficincidentPackage.eNS_URI);
+ XTrafficIncidentPackage theXTrafficIncidentPackage = (XTrafficIncidentPackage)EPackage.Registry.INSTANCE.getEPackage(XTrafficIncidentPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(trafficIncidentsEClass, TrafficIncidents.class, "TrafficIncidents", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ EOperation op = addEOperation(trafficIncidentsEClass, null, "getVersion", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addUpdateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidenttablesPackage.getWarningLevel(), "warningLevels", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "updateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addAreasUpdateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidenttablesPackage.getWarningLevel(), "warningLevels", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theCommonPackage.getRectangularArea(), "areas", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "updateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getLanguage", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setLanguage", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "languageCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "countryCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setTimeFormat", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "timeFormat", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setDateFormat", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "dateFormat", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setLengthUnit", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getLengthUnit(), "lengthUnit", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setWeightUnit", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getWeightUnit(), "weightUnit", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getApplicability", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "setApplicability", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "filterExpression", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "reserveIconSetIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "numberOfIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "freeIconSetIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "iconSetIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getIconSets", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addIconSetDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconSet(), "iconSets", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeIconSetDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "iconSetIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getIconDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconInfo(), "iconInfos", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addIconDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconDefinition(), "iconDefinitions", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeIconDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconInfo(), "iconInfos", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "reserveCategoryIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "numberOfIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "freeCategoryIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getCategoryDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addCategoryDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getCategoryDefinition(), "categoryDefinitions", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeCategoryDefinitions", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getTrafficIncidentIds", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidenttablesPackage.getWarningLevel(), "warningLevels", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getTrafficIncidentIdsInAreas", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidenttablesPackage.getWarningLevel(), "warningLevels", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theCommonPackage.getRectangularArea(), "areas", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getTrafficIncidents", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "trafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEBoolean(), "includeTextFields", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getTrafficIncidentsFields", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "trafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentField(), "trafficIncidentFields", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "getTexts", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "trafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTextDetailLevel(), "textDetailLevel", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addTrafficIncidentsStatusListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "trafficIncidentsStatusListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "addFeedInformationListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "feedInformationListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeUpdateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "updateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeAreasUpdateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "updateListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeTrafficIncidentsStatusListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "trafficIncidentsStatusListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsEClass, null, "removeFeedInformationListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsListener(), "feedInformationListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(trafficIncidentsListenerEClass, TrafficIncidentsListener.class, "TrafficIncidentsListener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getVersionReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theCommonPackage.getVersion(), "version", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "updates", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "unchangedTrafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "changedTrafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "newTrafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "deletedTrafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "updatesInAreas", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theCommonPackage.getRectangularArea(), "areas", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "trafficIncidentsStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedStatus(), "trafficIncidentFeedStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsStatus(), "trafficIncidentsStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "feedInformation", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getFeedInformation(), "feedsInformation", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getLanguageReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "languageCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "countryCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getApplicabilityReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "filterExpression", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "reserveIconSetIdsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "iconSetIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "reserveCategoryIdsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "categoryIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getTrafficIncidentIdsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "trafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getTrafficIncidentIdsInAreasReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "trafficIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getTrafficIncidentsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidentPackage.getTrafficIncident(), "trafficIncidents", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getTrafficIncidentsFieldsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, thetrafficincidentPackage.getTrafficIncident(), "trafficIncidents", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getTextsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "texts", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addTrafficIncidentsStatusListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addFeedInformationListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addUpdateListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeUpdateListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addAreasUpdateListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeAreasUpdateListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setLanguageReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setTimeFormatReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setDateFormatReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setLengthUnitReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setWeightUnitReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "setApplicabilityReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "freeCategoryIdsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getCategoryDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getCategoryDefinition(), "categoryDefinitions", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addCategoryDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeCategoryDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "freeIconSetIdsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getIconDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconDefinition(), "iconDefinitions", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addIconDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeIconDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentsListenerEClass, null, "getIconSetsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theIconsetPackage.getIconSet(), "iconSets", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "addIconSetDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeIconSetDefinitionsReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeFeedInformationListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentsListenerEClass, null, "removeTrafficIncidentsStatusListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(trafficIncidentFeedEClass, TrafficIncidentFeed.class, "TrafficIncidentFeed", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "getVersion", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "getLanguage", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "addLanguageListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "changeListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentFeedEClass, null, "clear", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "updateIncidents", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "feedId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "cancelledIncidentIds", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theXTrafficIncidentPackage.getTrafficIncident(), "updatedIncidents", 0, -1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "updateStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "feedId", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedStatus(), "feedStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentsStatus(), "incidentsStatus", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "registerFeed", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "dataProviderName", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "protocolName", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "communicationChannelName", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedEClass, null, "removeLanguageListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "listener", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, this.getTrafficIncidentFeedListener(), "changeListener", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(trafficIncidentFeedListenerEClass, TrafficIncidentFeedListener.class, "TrafficIncidentFeedListener", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ op = addEOperation(trafficIncidentFeedListenerEClass, null, "getVersionReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theCommonPackage.getVersion(), "version", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedListenerEClass, null, "getLanguageReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "languageCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEString(), "countryCode", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(trafficIncidentFeedListenerEClass, null, "registerFeedReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, ecorePackage.getEInt(), "feedId", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentFeedListenerEClass, null, "addLanguageListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(trafficIncidentFeedListenerEClass, null, "removeLanguageListenerReply", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ initEClass(feedInformationEClass, FeedInformation.class, "FeedInformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getFeedInformation_DataProviderName(), ecorePackage.getEString(), "dataProviderName", null, 0, 1, FeedInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFeedInformation_ProtocolName(), ecorePackage.getEString(), "protocolName", null, 0, 1, FeedInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFeedInformation_CommunicationChannelName(), ecorePackage.getEString(), "communicationChannelName", null, 0, 1, FeedInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFeedInformation_FeedStatus(), this.getTrafficIncidentFeedStatus(), "feedStatus", null, 1, 1, FeedInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFeedInformation_TrafficIncidentsStatus(), this.getTrafficIncidentsStatus(), "trafficIncidentsStatus", null, 1, 1, FeedInformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(categoryDefinitionEClass, CategoryDefinition.class, "CategoryDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getCategoryDefinition_LocalizedNames(), theCommonPackage.getLocalizedString(), null, "localizedNames", null, 0, -1, CategoryDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCategoryDefinition_CategoryId(), ecorePackage.getEInt(), "categoryId", null, 1, 1, CategoryDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCategoryDefinition_Icons(), theIconsetPackage.getIconInfo(), null, "icons", null, 0, -1, CategoryDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCategoryDefinition_Expression(), ecorePackage.getEString(), "expression", null, 1, 1, CategoryDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(trafficIncidentFieldEEnum, TrafficIncidentField.class, "TrafficIncidentField");
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.TRAFFIC_INCIDENT_ID);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.EFFECT_CODE);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.EFFECT_TEXT);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.START_TIME);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.STOP_TIME);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.TENDENCY);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.TENDENCY_TEXT);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.LENGTH_AFFECTED);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.AVERAGE_SPEED_ABSOLUTE);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.DELAY);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.SEGMENT_SPEED_LIMIT);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.CAUSES);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.CAUSE_TEXTS);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.APPLICABILITY_TEXTS);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.LOCATION);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.LOCATION_INFO);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.LOCATION_BOUNDING_BOX);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.APPLICABILITY);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.ADVICES);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.ADVICE_TEXTS);
+ addEEnumLiteral(trafficIncidentFieldEEnum, TrafficIncidentField.EXPECTED_SPEED_ABSOLUTE);
+
+ initEEnum(textDetailLevelEEnum, TextDetailLevel.class, "TextDetailLevel");
+ addEEnumLiteral(textDetailLevelEEnum, TextDetailLevel.FULL);
+ addEEnumLiteral(textDetailLevelEEnum, TextDetailLevel.SUMMARY);
+
+ initEEnum(trafficIncidentFeedStatusEEnum, TrafficIncidentFeedStatus.class, "TrafficIncidentFeedStatus");
+ addEEnumLiteral(trafficIncidentFeedStatusEEnum, TrafficIncidentFeedStatus.UNAVAILABLE);
+ addEEnumLiteral(trafficIncidentFeedStatusEEnum, TrafficIncidentFeedStatus.CONNECTED);
+ addEEnumLiteral(trafficIncidentFeedStatusEEnum, TrafficIncidentFeedStatus.DISCONNECTED);
+
+ initEEnum(trafficIncidentsStatusEEnum, TrafficIncidentsStatus.class, "TrafficIncidentsStatus");
+ addEEnumLiteral(trafficIncidentsStatusEEnum, TrafficIncidentsStatus.UNAVAILABLE);
+ addEEnumLiteral(trafficIncidentsStatusEEnum, TrafficIncidentsStatus.PARTLY_AVAILABLE);
+ addEEnumLiteral(trafficIncidentsStatusEEnum, TrafficIncidentsStatus.AVAILABLE);
+
+ initEEnum(speedUnitEEnum, SpeedUnit.class, "SpeedUnit");
+ addEEnumLiteral(speedUnitEEnum, SpeedUnit.KILOMETERS_PER_HOUR);
+ addEEnumLiteral(speedUnitEEnum, SpeedUnit.MILES_PER_HOUR);
+
+ initEEnum(lengthUnitEEnum, LengthUnit.class, "LengthUnit");
+ addEEnumLiteral(lengthUnitEEnum, LengthUnit.KILOMETERS);
+ addEEnumLiteral(lengthUnitEEnum, LengthUnit.MILES);
+
+ initEEnum(weightUnitEEnum, WeightUnit.class, "WeightUnit");
+ addEEnumLiteral(weightUnitEEnum, WeightUnit.KILOGRAM);
+ addEEnumLiteral(weightUnitEEnum, WeightUnit.POUND);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // GenModel
+ createGenModelAnnotations();
+ // http://www.tomtom.com/emfidl/2012/GenModel
+ createGenModel_2Annotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>GenModel</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createGenModelAnnotations() {
+ String source = "GenModel";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "documentation", "Copyright (C) 2013 TomTom International B.V.\r\n\r\nThis Source Code Form is subject to the terms of the Mozilla Public\r\nLicense, v. 2.0. If a copy of the MPL was not distributed with this\r\nfile, You can obtain one at http://mozilla.org/MPL/2.0/."
+ });
+ }
+
+ /**
+ * Initializes the annotations for <b>http://www.tomtom.com/emfidl/2012/GenModel</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createGenModel_2Annotations() {
+ String source = "http://www.tomtom.com/emfidl/2012/GenModel";
+ addAnnotation
+ (trafficIncidentsEClass,
+ source,
+ new String[] {
+ "versionMajor", "0",
+ "versionMinor", "1"
+ });
+ }
+
+} //trafficincidentsservicePackageImpl
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsserviceFactory.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsserviceFactory.java
new file mode 100755
index 0000000..9a31760
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsserviceFactory.java
@@ -0,0 +1,92 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage
+ * @generated
+ */
+public interface trafficincidentsserviceFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ trafficincidentsserviceFactory eINSTANCE = org.genivi.trafficincidentsservice.impl.trafficincidentsserviceFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Traffic Incidents</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Traffic Incidents</em>'.
+ * @generated
+ */
+ TrafficIncidents createTrafficIncidents();
+
+ /**
+ * Returns a new object of class '<em>Traffic Incidents Listener</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Traffic Incidents Listener</em>'.
+ * @generated
+ */
+ TrafficIncidentsListener createTrafficIncidentsListener();
+
+ /**
+ * Returns a new object of class '<em>Traffic Incident Feed</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Traffic Incident Feed</em>'.
+ * @generated
+ */
+ TrafficIncidentFeed createTrafficIncidentFeed();
+
+ /**
+ * Returns a new object of class '<em>Traffic Incident Feed Listener</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Traffic Incident Feed Listener</em>'.
+ * @generated
+ */
+ TrafficIncidentFeedListener createTrafficIncidentFeedListener();
+
+ /**
+ * Returns a new object of class '<em>Feed Information</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Feed Information</em>'.
+ * @generated
+ */
+ FeedInformation createFeedInformation();
+
+ /**
+ * Returns a new object of class '<em>Category Definition</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Category Definition</em>'.
+ * @generated
+ */
+ CategoryDefinition createCategoryDefinition();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ trafficincidentsservicePackage gettrafficincidentsservicePackage();
+
+} //trafficincidentsserviceFactory
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsservicePackage.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsservicePackage.java
new file mode 100755
index 0000000..32c8aae
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/trafficincidentsservicePackage.java
@@ -0,0 +1,788 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice;
+
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsserviceFactory
+ * @model kind="package"
+ * annotation="GenModel documentation='Copyright (C) 2013 TomTom International B.V.\r\n\r\nThis Source Code Form is subject to the terms of the Mozilla Public\r\nLicense, v. 2.0. If a copy of the MPL was not distributed with this\r\nfile, You can obtain one at http://mozilla.org/MPL/2.0/.'"
+ * @generated
+ */
+public interface trafficincidentsservicePackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "trafficincidentsservice";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://org.genivi.trafficinfo.trafficincidentsservice";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "trafficincidentsservice";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ trafficincidentsservicePackage eINSTANCE = org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentsImpl <em>Traffic Incidents</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentsImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidents()
+ * @generated
+ */
+ int TRAFFIC_INCIDENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>Traffic Incidents</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRAFFIC_INCIDENTS_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentsListenerImpl <em>Traffic Incidents Listener</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentsListenerImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentsListener()
+ * @generated
+ */
+ int TRAFFIC_INCIDENTS_LISTENER = 1;
+
+ /**
+ * The number of structural features of the '<em>Traffic Incidents Listener</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRAFFIC_INCIDENTS_LISTENER_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedImpl <em>Traffic Incident Feed</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeed()
+ * @generated
+ */
+ int TRAFFIC_INCIDENT_FEED = 2;
+
+ /**
+ * The number of structural features of the '<em>Traffic Incident Feed</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRAFFIC_INCIDENT_FEED_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedListenerImpl <em>Traffic Incident Feed Listener</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedListenerImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeedListener()
+ * @generated
+ */
+ int TRAFFIC_INCIDENT_FEED_LISTENER = 3;
+
+ /**
+ * The number of structural features of the '<em>Traffic Incident Feed Listener</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TRAFFIC_INCIDENT_FEED_LISTENER_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl <em>Feed Information</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.FeedInformationImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getFeedInformation()
+ * @generated
+ */
+ int FEED_INFORMATION = 4;
+
+ /**
+ * The feature id for the '<em><b>Data Provider Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION__DATA_PROVIDER_NAME = 0;
+
+ /**
+ * The feature id for the '<em><b>Protocol Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION__PROTOCOL_NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Communication Channel Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME = 2;
+
+ /**
+ * The feature id for the '<em><b>Feed Status</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION__FEED_STATUS = 3;
+
+ /**
+ * The feature id for the '<em><b>Traffic Incidents Status</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS = 4;
+
+ /**
+ * The number of structural features of the '<em>Feed Information</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEED_INFORMATION_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl <em>Category Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getCategoryDefinition()
+ * @generated
+ */
+ int CATEGORY_DEFINITION = 5;
+
+ /**
+ * The feature id for the '<em><b>Localized Names</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_DEFINITION__LOCALIZED_NAMES = 0;
+
+ /**
+ * The feature id for the '<em><b>Category Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_DEFINITION__CATEGORY_ID = 1;
+
+ /**
+ * The feature id for the '<em><b>Icons</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_DEFINITION__ICONS = 2;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_DEFINITION__EXPRESSION = 3;
+
+ /**
+ * The number of structural features of the '<em>Category Definition</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CATEGORY_DEFINITION_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentField <em>Traffic Incident Field</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentField
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentField()
+ * @generated
+ */
+ int TRAFFIC_INCIDENT_FIELD = 6;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.TextDetailLevel <em>Text Detail Level</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TextDetailLevel
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTextDetailLevel()
+ * @generated
+ */
+ int TEXT_DETAIL_LEVEL = 7;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus <em>Traffic Incident Feed Status</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeedStatus()
+ * @generated
+ */
+ int TRAFFIC_INCIDENT_FEED_STATUS = 8;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentsStatus <em>Traffic Incidents Status</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsStatus
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentsStatus()
+ * @generated
+ */
+ int TRAFFIC_INCIDENTS_STATUS = 9;
+
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.SpeedUnit <em>Speed Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.SpeedUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getSpeedUnit()
+ * @generated
+ */
+ int SPEED_UNIT = 10;
+
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.LengthUnit <em>Length Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.LengthUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getLengthUnit()
+ * @generated
+ */
+ int LENGTH_UNIT = 11;
+
+ /**
+ * The meta object id for the '{@link org.genivi.trafficincidentsservice.WeightUnit <em>Weight Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.WeightUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getWeightUnit()
+ * @generated
+ */
+ int WEIGHT_UNIT = 12;
+
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.TrafficIncidents <em>Traffic Incidents</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Traffic Incidents</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidents
+ * @generated
+ */
+ EClass getTrafficIncidents();
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.TrafficIncidentsListener <em>Traffic Incidents Listener</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Traffic Incidents Listener</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsListener
+ * @generated
+ */
+ EClass getTrafficIncidentsListener();
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeed <em>Traffic Incident Feed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Traffic Incident Feed</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeed
+ * @generated
+ */
+ EClass getTrafficIncidentFeed();
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeedListener <em>Traffic Incident Feed Listener</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Traffic Incident Feed Listener</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedListener
+ * @generated
+ */
+ EClass getTrafficIncidentFeedListener();
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.FeedInformation <em>Feed Information</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Feed Information</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation
+ * @generated
+ */
+ EClass getFeedInformation();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName <em>Data Provider Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Data Provider Name</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation#getDataProviderName()
+ * @see #getFeedInformation()
+ * @generated
+ */
+ EAttribute getFeedInformation_DataProviderName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.FeedInformation#getProtocolName <em>Protocol Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Protocol Name</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation#getProtocolName()
+ * @see #getFeedInformation()
+ * @generated
+ */
+ EAttribute getFeedInformation_ProtocolName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName <em>Communication Channel Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Communication Channel Name</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation#getCommunicationChannelName()
+ * @see #getFeedInformation()
+ * @generated
+ */
+ EAttribute getFeedInformation_CommunicationChannelName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus <em>Feed Status</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Feed Status</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation#getFeedStatus()
+ * @see #getFeedInformation()
+ * @generated
+ */
+ EAttribute getFeedInformation_FeedStatus();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus <em>Traffic Incidents Status</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Traffic Incidents Status</em>'.
+ * @see org.genivi.trafficincidentsservice.FeedInformation#getTrafficIncidentsStatus()
+ * @see #getFeedInformation()
+ * @generated
+ */
+ EAttribute getFeedInformation_TrafficIncidentsStatus();
+
+ /**
+ * Returns the meta object for class '{@link org.genivi.trafficincidentsservice.CategoryDefinition <em>Category Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Category Definition</em>'.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition
+ * @generated
+ */
+ EClass getCategoryDefinition();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getLocalizedNamesList <em>Localized Names</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Localized Names</em>'.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition#getLocalizedNamesList()
+ * @see #getCategoryDefinition()
+ * @generated
+ */
+ EReference getCategoryDefinition_LocalizedNames();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getCategoryId <em>Category Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Category Id</em>'.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition#getCategoryId()
+ * @see #getCategoryDefinition()
+ * @generated
+ */
+ EAttribute getCategoryDefinition_CategoryId();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getIconsList <em>Icons</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Icons</em>'.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition#getIconsList()
+ * @see #getCategoryDefinition()
+ * @generated
+ */
+ EReference getCategoryDefinition_Icons();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.genivi.trafficincidentsservice.CategoryDefinition#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Expression</em>'.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition#getExpression()
+ * @see #getCategoryDefinition()
+ * @generated
+ */
+ EAttribute getCategoryDefinition_Expression();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.TrafficIncidentField <em>Traffic Incident Field</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Traffic Incident Field</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentField
+ * @generated
+ */
+ EEnum getTrafficIncidentField();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.TextDetailLevel <em>Text Detail Level</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Text Detail Level</em>'.
+ * @see org.genivi.trafficincidentsservice.TextDetailLevel
+ * @generated
+ */
+ EEnum getTextDetailLevel();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus <em>Traffic Incident Feed Status</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Traffic Incident Feed Status</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus
+ * @generated
+ */
+ EEnum getTrafficIncidentFeedStatus();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.TrafficIncidentsStatus <em>Traffic Incidents Status</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Traffic Incidents Status</em>'.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsStatus
+ * @generated
+ */
+ EEnum getTrafficIncidentsStatus();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.SpeedUnit <em>Speed Unit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Speed Unit</em>'.
+ * @see org.genivi.trafficincidentsservice.SpeedUnit
+ * @generated
+ */
+ EEnum getSpeedUnit();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.LengthUnit <em>Length Unit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Length Unit</em>'.
+ * @see org.genivi.trafficincidentsservice.LengthUnit
+ * @generated
+ */
+ EEnum getLengthUnit();
+
+ /**
+ * Returns the meta object for enum '{@link org.genivi.trafficincidentsservice.WeightUnit <em>Weight Unit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Weight Unit</em>'.
+ * @see org.genivi.trafficincidentsservice.WeightUnit
+ * @generated
+ */
+ EEnum getWeightUnit();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ trafficincidentsserviceFactory gettrafficincidentsserviceFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentsImpl <em>Traffic Incidents</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentsImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidents()
+ * @generated
+ */
+ EClass TRAFFIC_INCIDENTS = eINSTANCE.getTrafficIncidents();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentsListenerImpl <em>Traffic Incidents Listener</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentsListenerImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentsListener()
+ * @generated
+ */
+ EClass TRAFFIC_INCIDENTS_LISTENER = eINSTANCE.getTrafficIncidentsListener();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedImpl <em>Traffic Incident Feed</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeed()
+ * @generated
+ */
+ EClass TRAFFIC_INCIDENT_FEED = eINSTANCE.getTrafficIncidentFeed();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedListenerImpl <em>Traffic Incident Feed Listener</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.TrafficIncidentFeedListenerImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeedListener()
+ * @generated
+ */
+ EClass TRAFFIC_INCIDENT_FEED_LISTENER = eINSTANCE.getTrafficIncidentFeedListener();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.FeedInformationImpl <em>Feed Information</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.FeedInformationImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getFeedInformation()
+ * @generated
+ */
+ EClass FEED_INFORMATION = eINSTANCE.getFeedInformation();
+
+ /**
+ * The meta object literal for the '<em><b>Data Provider Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FEED_INFORMATION__DATA_PROVIDER_NAME = eINSTANCE.getFeedInformation_DataProviderName();
+
+ /**
+ * The meta object literal for the '<em><b>Protocol Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FEED_INFORMATION__PROTOCOL_NAME = eINSTANCE.getFeedInformation_ProtocolName();
+
+ /**
+ * The meta object literal for the '<em><b>Communication Channel Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FEED_INFORMATION__COMMUNICATION_CHANNEL_NAME = eINSTANCE.getFeedInformation_CommunicationChannelName();
+
+ /**
+ * The meta object literal for the '<em><b>Feed Status</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FEED_INFORMATION__FEED_STATUS = eINSTANCE.getFeedInformation_FeedStatus();
+
+ /**
+ * The meta object literal for the '<em><b>Traffic Incidents Status</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FEED_INFORMATION__TRAFFIC_INCIDENTS_STATUS = eINSTANCE.getFeedInformation_TrafficIncidentsStatus();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl <em>Category Definition</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.impl.CategoryDefinitionImpl
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getCategoryDefinition()
+ * @generated
+ */
+ EClass CATEGORY_DEFINITION = eINSTANCE.getCategoryDefinition();
+
+ /**
+ * The meta object literal for the '<em><b>Localized Names</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATEGORY_DEFINITION__LOCALIZED_NAMES = eINSTANCE.getCategoryDefinition_LocalizedNames();
+
+ /**
+ * The meta object literal for the '<em><b>Category Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CATEGORY_DEFINITION__CATEGORY_ID = eINSTANCE.getCategoryDefinition_CategoryId();
+
+ /**
+ * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CATEGORY_DEFINITION__ICONS = eINSTANCE.getCategoryDefinition_Icons();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CATEGORY_DEFINITION__EXPRESSION = eINSTANCE.getCategoryDefinition_Expression();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentField <em>Traffic Incident Field</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentField
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentField()
+ * @generated
+ */
+ EEnum TRAFFIC_INCIDENT_FIELD = eINSTANCE.getTrafficIncidentField();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.TextDetailLevel <em>Text Detail Level</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TextDetailLevel
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTextDetailLevel()
+ * @generated
+ */
+ EEnum TEXT_DETAIL_LEVEL = eINSTANCE.getTextDetailLevel();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus <em>Traffic Incident Feed Status</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedStatus
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentFeedStatus()
+ * @generated
+ */
+ EEnum TRAFFIC_INCIDENT_FEED_STATUS = eINSTANCE.getTrafficIncidentFeedStatus();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.TrafficIncidentsStatus <em>Traffic Incidents Status</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsStatus
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getTrafficIncidentsStatus()
+ * @generated
+ */
+ EEnum TRAFFIC_INCIDENTS_STATUS = eINSTANCE.getTrafficIncidentsStatus();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.SpeedUnit <em>Speed Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.SpeedUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getSpeedUnit()
+ * @generated
+ */
+ EEnum SPEED_UNIT = eINSTANCE.getSpeedUnit();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.LengthUnit <em>Length Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.LengthUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getLengthUnit()
+ * @generated
+ */
+ EEnum LENGTH_UNIT = eINSTANCE.getLengthUnit();
+
+ /**
+ * The meta object literal for the '{@link org.genivi.trafficincidentsservice.WeightUnit <em>Weight Unit</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.WeightUnit
+ * @see org.genivi.trafficincidentsservice.impl.trafficincidentsservicePackageImpl#getWeightUnit()
+ * @generated
+ */
+ EEnum WEIGHT_UNIT = eINSTANCE.getWeightUnit();
+
+ }
+
+} //trafficincidentsservicePackage
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceAdapterFactory.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceAdapterFactory.java
new file mode 100755
index 0000000..5aede9d
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceAdapterFactory.java
@@ -0,0 +1,219 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.genivi.trafficincidentsservice.*;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.TrafficIncidents;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeed;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage
+ * @generated
+ */
+public class trafficincidentsserviceAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static trafficincidentsservicePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public trafficincidentsserviceAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = trafficincidentsservicePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected trafficincidentsserviceSwitch<Adapter> modelSwitch =
+ new trafficincidentsserviceSwitch<Adapter>() {
+ @Override
+ public Adapter caseTrafficIncidents(TrafficIncidents object) {
+ return createTrafficIncidentsAdapter();
+ }
+ @Override
+ public Adapter caseTrafficIncidentsListener(TrafficIncidentsListener object) {
+ return createTrafficIncidentsListenerAdapter();
+ }
+ @Override
+ public Adapter caseTrafficIncidentFeed(TrafficIncidentFeed object) {
+ return createTrafficIncidentFeedAdapter();
+ }
+ @Override
+ public Adapter caseTrafficIncidentFeedListener(TrafficIncidentFeedListener object) {
+ return createTrafficIncidentFeedListenerAdapter();
+ }
+ @Override
+ public Adapter caseFeedInformation(FeedInformation object) {
+ return createFeedInformationAdapter();
+ }
+ @Override
+ public Adapter caseCategoryDefinition(CategoryDefinition object) {
+ return createCategoryDefinitionAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.TrafficIncidents <em>Traffic Incidents</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidents
+ * @generated
+ */
+ public Adapter createTrafficIncidentsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.TrafficIncidentsListener <em>Traffic Incidents Listener</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentsListener
+ * @generated
+ */
+ public Adapter createTrafficIncidentsListenerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeed <em>Traffic Incident Feed</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeed
+ * @generated
+ */
+ public Adapter createTrafficIncidentFeedAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.TrafficIncidentFeedListener <em>Traffic Incident Feed Listener</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.TrafficIncidentFeedListener
+ * @generated
+ */
+ public Adapter createTrafficIncidentFeedListenerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.CategoryDefinition <em>Category Definition</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.CategoryDefinition
+ * @generated
+ */
+ public Adapter createCategoryDefinitionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.genivi.trafficincidentsservice.FeedInformation <em>Feed Information</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.genivi.trafficincidentsservice.FeedInformation
+ * @generated
+ */
+ public Adapter createFeedInformationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //trafficincidentsserviceAdapterFactory
diff --git a/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceSwitch.java b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceSwitch.java
new file mode 100755
index 0000000..151d363
--- /dev/null
+++ b/src/traffic-incidents-service/org.genivi.trafficincidentsservice.trafficincidentsservice-model/src/org/genivi/trafficincidentsservice/util/trafficincidentsserviceSwitch.java
@@ -0,0 +1,225 @@
+/**
+ * Copyright (C) 2013 TomTom International B.V.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+package org.genivi.trafficincidentsservice.util;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+import org.genivi.trafficincidentsservice.*;
+import org.genivi.trafficincidentsservice.CategoryDefinition;
+import org.genivi.trafficincidentsservice.FeedInformation;
+import org.genivi.trafficincidentsservice.TrafficIncidents;
+import org.genivi.trafficincidentsservice.TrafficIncidentsListener;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeed;
+import org.genivi.trafficincidentsservice.TrafficIncidentFeedListener;
+import org.genivi.trafficincidentsservice.trafficincidentsservicePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.genivi.trafficincidentsservice.trafficincidentsservicePackage
+ * @generated
+ */
+public class trafficincidentsserviceSwitch<T> extends Switch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static trafficincidentsservicePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public trafficincidentsserviceSwitch() {
+ if (modelPackage == null) {
+ modelPackage = trafficincidentsservicePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Checks whether this is a switch for the given package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
+ * @generated
+ */
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ @Override
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS: {
+ TrafficIncidents trafficIncidents = (TrafficIncidents)theEObject;
+ T result = caseTrafficIncidents(trafficIncidents);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENTS_LISTENER: {
+ TrafficIncidentsListener trafficIncidentsListener = (TrafficIncidentsListener)theEObject;
+ T result = caseTrafficIncidentsListener(trafficIncidentsListener);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED: {
+ TrafficIncidentFeed trafficIncidentFeed = (TrafficIncidentFeed)theEObject;
+ T result = caseTrafficIncidentFeed(trafficIncidentFeed);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case trafficincidentsservicePackage.TRAFFIC_INCIDENT_FEED_LISTENER: {
+ TrafficIncidentFeedListener trafficIncidentFeedListener = (TrafficIncidentFeedListener)theEObject;
+ T result = caseTrafficIncidentFeedListener(trafficIncidentFeedListener);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case trafficincidentsservicePackage.FEED_INFORMATION: {
+ FeedInformation feedInformation = (FeedInformation)theEObject;
+ T result = caseFeedInformation(feedInformation);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case trafficincidentsservicePackage.CATEGORY_DEFINITION: {
+ CategoryDefinition categoryDefinition = (CategoryDefinition)theEObject;
+ T result = caseCategoryDefinition(categoryDefinition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Traffic Incidents</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Traffic Incidents</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTrafficIncidents(TrafficIncidents object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Traffic Incidents Listener</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Traffic Incidents Listener</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTrafficIncidentsListener(TrafficIncidentsListener object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Traffic Incident Feed</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Traffic Incident Feed</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTrafficIncidentFeed(TrafficIncidentFeed object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Traffic Incident Feed Listener</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Traffic Incident Feed Listener</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTrafficIncidentFeedListener(TrafficIncidentFeedListener object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Feed Information</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Feed Information</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFeedInformation(FeedInformation object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Category Definition</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Category Definition</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCategoryDefinition(CategoryDefinition object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ @Override
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //trafficincidentsserviceSwitch