summaryrefslogtreecommitdiff
path: root/test/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java')
-rwxr-xr-xtest/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java430
1 files changed, 430 insertions, 0 deletions
diff --git a/test/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java b/test/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java
new file mode 100755
index 0000000..77082eb
--- /dev/null
+++ b/test/traffic-incidents-service/feed/org.genivi.trafficinfo.tpeg.tec.event-model/src/org/genivi/trafficinfo/tpeg/tec/event/DirectCause.java
@@ -0,0 +1,430 @@
+/**
+ * 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.trafficinfo.tpeg.tec.event;
+
+import org.eclipse.emf.common.util.EList;
+import org.genivi.trafficinfo.tpeg.tpegfwktypes.LocalisedShortString;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Direct Cause</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getWarningLevel <em>Warning Level</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#isUnverifiedInformation <em>Unverified Information</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getSubCause <em>Sub Cause</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLengthAffected <em>Length Affected</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLaneRestrictionType <em>Lane Restriction Type</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getNumberOfLanes <em>Number Of Lanes</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getFreeText <em>Free Text</em>}</li>
+ * <li>{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getCauseOffset <em>Cause Offset</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause()
+ * @model
+ * @generated
+ */
+public interface DirectCause extends Cause {
+ /**
+ * Returns the value of the '<em><b>Warning Level</b></em>' attribute.
+ * The literals are from the enumeration {@link org.genivi.trafficinfo.tpeg.tec.event.WarningLevel}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Warning Level</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Warning Level</em>' attribute.
+ * @see org.genivi.trafficinfo.tpeg.tec.event.WarningLevel
+ * @see #isSetWarningLevel()
+ * @see #unsetWarningLevel()
+ * @see #setWarningLevel(WarningLevel)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_WarningLevel()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ WarningLevel getWarningLevel();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getWarningLevel <em>Warning Level</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Warning Level</em>' attribute.
+ * @see org.genivi.trafficinfo.tpeg.tec.event.WarningLevel
+ * @see #isSetWarningLevel()
+ * @see #unsetWarningLevel()
+ * @see #getWarningLevel()
+ * @generated
+ */
+ void setWarningLevel(WarningLevel value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getWarningLevel <em>Warning Level</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetWarningLevel()
+ * @see #getWarningLevel()
+ * @see #setWarningLevel(WarningLevel)
+ * @generated
+ */
+ void unsetWarningLevel();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getWarningLevel <em>Warning Level</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Warning Level</em>' attribute is set.
+ * @see #unsetWarningLevel()
+ * @see #getWarningLevel()
+ * @see #setWarningLevel(WarningLevel)
+ * @generated
+ */
+ boolean isSetWarningLevel();
+
+ /**
+ * Returns the value of the '<em><b>Unverified Information</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unverified Information</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Unverified Information</em>' attribute.
+ * @see #isSetUnverifiedInformation()
+ * @see #unsetUnverifiedInformation()
+ * @see #setUnverifiedInformation(boolean)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_UnverifiedInformation()
+ * @model unsettable="true" required="true"
+ * @generated
+ */
+ boolean isUnverifiedInformation();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#isUnverifiedInformation <em>Unverified Information</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Unverified Information</em>' attribute.
+ * @see #isSetUnverifiedInformation()
+ * @see #unsetUnverifiedInformation()
+ * @see #isUnverifiedInformation()
+ * @generated
+ */
+ void setUnverifiedInformation(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#isUnverifiedInformation <em>Unverified Information</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetUnverifiedInformation()
+ * @see #isUnverifiedInformation()
+ * @see #setUnverifiedInformation(boolean)
+ * @generated
+ */
+ void unsetUnverifiedInformation();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#isUnverifiedInformation <em>Unverified Information</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Unverified Information</em>' attribute is set.
+ * @see #unsetUnverifiedInformation()
+ * @see #isUnverifiedInformation()
+ * @see #setUnverifiedInformation(boolean)
+ * @generated
+ */
+ boolean isSetUnverifiedInformation();
+
+ /**
+ * Returns the value of the '<em><b>Sub Cause</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Cause</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Cause</em>' attribute.
+ * @see #isSetSubCause()
+ * @see #unsetSubCause()
+ * @see #setSubCause(Object)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_SubCause()
+ * @model unsettable="true"
+ * @generated
+ */
+ Object getSubCause();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getSubCause <em>Sub Cause</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Cause</em>' attribute.
+ * @see #isSetSubCause()
+ * @see #unsetSubCause()
+ * @see #getSubCause()
+ * @generated
+ */
+ void setSubCause(Object value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getSubCause <em>Sub Cause</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetSubCause()
+ * @see #getSubCause()
+ * @see #setSubCause(Object)
+ * @generated
+ */
+ void unsetSubCause();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getSubCause <em>Sub Cause</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Sub Cause</em>' attribute is set.
+ * @see #unsetSubCause()
+ * @see #getSubCause()
+ * @see #setSubCause(Object)
+ * @generated
+ */
+ boolean isSetSubCause();
+
+ /**
+ * Returns the value of the '<em><b>Length Affected</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * TODO: TEC change type to DistanceMetres
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Length Affected</em>' attribute.
+ * @see #isSetLengthAffected()
+ * @see #unsetLengthAffected()
+ * @see #setLengthAffected(Integer)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_LengthAffected()
+ * @model unsettable="true"
+ * @generated
+ */
+ Integer getLengthAffected();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLengthAffected <em>Length Affected</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Length Affected</em>' attribute.
+ * @see #isSetLengthAffected()
+ * @see #unsetLengthAffected()
+ * @see #getLengthAffected()
+ * @generated
+ */
+ void setLengthAffected(Integer value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLengthAffected <em>Length Affected</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetLengthAffected()
+ * @see #getLengthAffected()
+ * @see #setLengthAffected(Integer)
+ * @generated
+ */
+ void unsetLengthAffected();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLengthAffected <em>Length Affected</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Length Affected</em>' attribute is set.
+ * @see #unsetLengthAffected()
+ * @see #getLengthAffected()
+ * @see #setLengthAffected(Integer)
+ * @generated
+ */
+ boolean isSetLengthAffected();
+
+ /**
+ * Returns the value of the '<em><b>Lane Restriction Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.genivi.trafficinfo.tpeg.tec.event.LaneRestrictionType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Lane Restriction Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Lane Restriction Type</em>' attribute.
+ * @see org.genivi.trafficinfo.tpeg.tec.event.LaneRestrictionType
+ * @see #isSetLaneRestrictionType()
+ * @see #unsetLaneRestrictionType()
+ * @see #setLaneRestrictionType(LaneRestrictionType)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_LaneRestrictionType()
+ * @model unsettable="true"
+ * @generated
+ */
+ LaneRestrictionType getLaneRestrictionType();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLaneRestrictionType <em>Lane Restriction Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Lane Restriction Type</em>' attribute.
+ * @see org.genivi.trafficinfo.tpeg.tec.event.LaneRestrictionType
+ * @see #isSetLaneRestrictionType()
+ * @see #unsetLaneRestrictionType()
+ * @see #getLaneRestrictionType()
+ * @generated
+ */
+ void setLaneRestrictionType(LaneRestrictionType value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLaneRestrictionType <em>Lane Restriction Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetLaneRestrictionType()
+ * @see #getLaneRestrictionType()
+ * @see #setLaneRestrictionType(LaneRestrictionType)
+ * @generated
+ */
+ void unsetLaneRestrictionType();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getLaneRestrictionType <em>Lane Restriction Type</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Lane Restriction Type</em>' attribute is set.
+ * @see #unsetLaneRestrictionType()
+ * @see #getLaneRestrictionType()
+ * @see #setLaneRestrictionType(LaneRestrictionType)
+ * @generated
+ */
+ boolean isSetLaneRestrictionType();
+
+ /**
+ * Returns the value of the '<em><b>Number Of Lanes</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Number Of Lanes</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Number Of Lanes</em>' attribute.
+ * @see #isSetNumberOfLanes()
+ * @see #unsetNumberOfLanes()
+ * @see #setNumberOfLanes(Integer)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_NumberOfLanes()
+ * @model unsettable="true"
+ * @generated
+ */
+ Integer getNumberOfLanes();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getNumberOfLanes <em>Number Of Lanes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Number Of Lanes</em>' attribute.
+ * @see #isSetNumberOfLanes()
+ * @see #unsetNumberOfLanes()
+ * @see #getNumberOfLanes()
+ * @generated
+ */
+ void setNumberOfLanes(Integer value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getNumberOfLanes <em>Number Of Lanes</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetNumberOfLanes()
+ * @see #getNumberOfLanes()
+ * @see #setNumberOfLanes(Integer)
+ * @generated
+ */
+ void unsetNumberOfLanes();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getNumberOfLanes <em>Number Of Lanes</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Number Of Lanes</em>' attribute is set.
+ * @see #unsetNumberOfLanes()
+ * @see #getNumberOfLanes()
+ * @see #setNumberOfLanes(Integer)
+ * @generated
+ */
+ boolean isSetNumberOfLanes();
+
+ /**
+ * Returns the value of the '<em><b>Free Text</b></em>' containment reference list.
+ * The list contents are of type {@link org.genivi.trafficinfo.tpeg.tpegfwktypes.LocalisedShortString}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Free Text</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>Free Text</em>' containment reference list.
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_FreeText()
+ * @model containment="true"
+ * @generated
+ */
+ EList<LocalisedShortString> getFreeText();
+
+ /**
+ * Returns the value of the '<em><b>Cause Offset</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cause Offset</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cause Offset</em>' attribute.
+ * @see #isSetCauseOffset()
+ * @see #unsetCauseOffset()
+ * @see #setCauseOffset(Integer)
+ * @see org.genivi.trafficinfo.tpeg.tec.event.EventPackage#getDirectCause_CauseOffset()
+ * @model unsettable="true"
+ * @generated
+ */
+ Integer getCauseOffset();
+
+ /**
+ * Sets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getCauseOffset <em>Cause Offset</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cause Offset</em>' attribute.
+ * @see #isSetCauseOffset()
+ * @see #unsetCauseOffset()
+ * @see #getCauseOffset()
+ * @generated
+ */
+ void setCauseOffset(Integer value);
+
+ /**
+ * Unsets the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getCauseOffset <em>Cause Offset</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetCauseOffset()
+ * @see #getCauseOffset()
+ * @see #setCauseOffset(Integer)
+ * @generated
+ */
+ void unsetCauseOffset();
+
+ /**
+ * Returns whether the value of the '{@link org.genivi.trafficinfo.tpeg.tec.event.DirectCause#getCauseOffset <em>Cause Offset</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Cause Offset</em>' attribute is set.
+ * @see #unsetCauseOffset()
+ * @see #getCauseOffset()
+ * @see #setCauseOffset(Integer)
+ * @generated
+ */
+ boolean isSetCauseOffset();
+
+} // DirectCause