diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-01-03 10:42:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 10:42:49 +0100 |
commit | 5ef4ad89630e4c51dcd7093e78d71eeda0be727d (patch) | |
tree | f0cdabc1aa8e3cdf6c55af6ab3c7a4ffa6b22f5e /src/org/uic/ticket/api/spec/ICompartmentDetails.java | |
parent | basic asn.1 library (diff) | |
download | UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.gz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.bz2 UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.lz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.xz UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.tar.zst UIC-barcode-5ef4ad89630e4c51dcd7093e78d71eeda0be727d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/org/uic/ticket/api/spec/ICompartmentDetails.java | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/org/uic/ticket/api/spec/ICompartmentDetails.java b/src/org/uic/ticket/api/spec/ICompartmentDetails.java new file mode 100644 index 0000000..4e05801 --- /dev/null +++ b/src/org/uic/ticket/api/spec/ICompartmentDetails.java @@ -0,0 +1,128 @@ +/*
+ *
+ */
+package org.uic.ticket.api.spec;
+
+import org.uic.ticket.api.asn.omv1.CompartmentPositionType;
+
+/**
+ * The Interface ICompartmentDetails.
+ *
+ * ICompartmentDetails defines details on reserved place types
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51
+ *
+ */
+public interface ICompartmentDetails {
+
+ /**
+ * Gets the coach type.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 1 and 2
+ *
+ * @return the coach type
+ */
+ public int getCoachType();
+
+ /**
+ * Sets the coach type.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 1 and 2
+ *
+ * @param coachType the new coach type
+ */
+ public void setCoachType(int coachType);
+
+ /**
+ * Gets the compartment type.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 3 and 4
+ *
+ * @return the compartment type
+ */
+ public int getCompartmentType() ;
+
+ /**
+ * Sets the compartment type.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 3 and 4
+ *
+ * @param compartmentType the new compartment type
+ */
+ public void setCompartmentType(int compartmentType);
+
+ /**
+ * Gets the special allocation.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 5 and 6
+ *
+ * @return the special allocation
+ */
+ public int getSpecialAllocation() ;
+
+ /**
+ * Sets the special allocation.
+ *
+ * The codes corresponds to UIC leaflet 918.1 element 51 position 5 and 6
+ *
+ * @param specialAllocation the new special allocation
+ */
+ public void setSpecialAllocation(int specialAllocation);
+
+ /**
+ * Gets the coach type description.
+ *
+ * @return the coach type description
+ */
+ public String getCoachTypeDescr();
+
+ /**
+ * Sets the coach type description.
+ *
+ * @param coachTypeDescr the new coach type description
+ */
+ public void setCoachTypeDescr(String coachTypeDescr);
+
+ /**
+ * Gets the compartment type description.
+ *
+ * @return the compartment type description
+ */
+ public String getCompartmentTypeDescr();
+
+ /**
+ * Sets the compartment type description
+ *
+ * @param comparttmentTypeDescr the new compartment type description
+ */
+ public void setCompartmentTypeDescr(String comparttmentTypeDescr);
+
+ /**
+ * Gets the special allocation description.
+ *
+ * @return the special allocation description
+ */
+ public String getSpecialAllocationDescr();
+
+ /**
+ * Sets the special allocation description.
+ *
+ * @param specialAllocationDescr the new special allocation description
+ */
+ public void setSpecialAllocationDescr(String specialAllocationDescr);
+
+ /**
+ * Gets the position in trains with different decks.
+ *
+ * @return the position
+ */
+ public CompartmentPositionType getPosition();
+
+ /**
+ * Sets the position of the compartment in trains with different decks
+ *
+ * @param position the new position
+ */
+ public void setPosition(CompartmentPositionType position);
+
+}
|