public class TransferLineSetting
extends java.lang.Object
implements java.io.Serializable
Bus line environment setting class.
This class can set the data set which the bus line belongs to, and set the fields in the data set to represent the bus line related information, such as the line name, line alias, the first start time of the line, the departure interval, the bus line fare and so on.
Bus line dataset, is a line dataset, the bus station dataset is a point dataset, in the form of two-dimensional line object will be collected to the bus line to store. In this dataset, a line object is an abstract in the real world with a polling line. The attribute table must contain the line ID and line name field used to identify the line. Note that the type of the line ID field currently supports only 32-bit integer And 64-bit integer.
There are three types of bus lines in reality: single, double and loop. All types of bus lines are considered in the direction: One line is abstracted as a directional line object, and the direction is from the originating station to the terminal; The two lines are abstracted into two directional line objects. Assuming the start and ending stations are A and B, then the two lines correspond to A - B and B - A respectively, as shown 398 road in the following table. The loop is divided into single and double rings, and the single ring is abstracted as a directional line object. The double ring is abstracted as two directional lines according to its running direction (clockwise and counterclockwise), as shown in the following table on the Metro Line 2.
Note: The direction of the bus line is the same as the direction of the vectorization.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
aliasField
Bus line alias field.
|
java.lang.String |
datasetName
Dataset name.
|
java.lang.String |
datasourceName
The datasource name.
|
java.lang.String |
firstTimeField
Bus line first bus departure time field, which is set only for the display line information, does not affect the results of the analysis .
|
java.lang.String |
intervalField
Bus line departure time interval field, which is set only for the display line information, does not affect the results of the analysis .
|
java.lang.String |
lastTimeField
Bus line last bus departure time field, which is set only for the display line information, does not affect the results of the analysis .
|
java.lang.String |
lengthField
The length field of the bus line in the bus line dataset, and the unit of the specified field is meters.
|
java.lang.String |
lineIDField
The bus line ID field in the bus line data set, which is a mandatory field.
|
java.lang.String |
lineTypeField
A field that identifies a bus line type.
|
java.lang.String |
nameField
The name field of the bus line, which is a mandatory field.
|
java.lang.String |
speedField
The bus speed field, which is used only to display line information, has no effect on the analysis results.
|
Constructor and Description |
---|
TransferLineSetting()
The Constructor.
|
TransferLineSetting(TransferLineSetting transferLineSetting)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified object is equal to the current
TransferLineSetting object. |
int |
hashCode()
Gets
TransferLineSetting the hash value of the object. |
public java.lang.String datasourceName
The datasource name.
public java.lang.String datasetName
Dataset name.
public java.lang.String aliasField
public java.lang.String lengthField
public java.lang.String lineIDField
public java.lang.String nameField
public java.lang.String lineTypeField
public java.lang.String speedField
public java.lang.String firstTimeField
public java.lang.String lastTimeField
public java.lang.String intervalField
public TransferLineSetting()
The Constructor.
public TransferLineSetting(TransferLineSetting transferLineSetting)
The Constructor.
transferLineSetting
-public boolean equals(java.lang.Object obj)
Determines whether the specified object is equal to the current TransferLineSetting
object.
equals
in class java.lang.Object
obj
- the Java object to compare with this object.public int hashCode()
Gets TransferLineSetting
the hash value of the object.
hashCode
in class java.lang.Object