Class TransferLineSetting
- java.lang.Object
-
- com.supermap.services.providers.TransferLineSetting
-
- All Implemented Interfaces:
- java.io.Serializable
public class TransferLineSetting extends java.lang.Object implements java.io.SerializableBus 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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.StringaliasFieldBus line alias field.java.lang.StringdatasetNameDataset name.java.lang.StringdatasourceNameThe datasource name.java.lang.StringfirstTimeFieldBus 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.StringintervalFieldBus line departure time interval field, which is set only for the display line information, does not affect the results of the analysis .java.lang.StringlastTimeFieldBus 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.StringlengthFieldThe length field of the bus line in the bus line dataset, and the unit of the specified field is meters.java.lang.StringlineIDFieldThe bus line ID field in the bus line data set, which is a mandatory field.java.lang.StringlineTypeFieldA field that identifies a bus line type.java.lang.StringnameFieldThe name field of the bus line, which is a mandatory field.java.lang.StringspeedFieldThe bus speed field, which is used only to display line information, has no effect on the analysis results.
-
Constructor Summary
Constructors Constructor and Description TransferLineSetting()The Constructor.TransferLineSetting(TransferLineSetting transferLineSetting)The Constructor.
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Determines whether the specified object is equal to the currentTransferLineSettingobject.inthashCode()GetsTransferLineSettingthe hash value of the object.
-
-
-
Field Detail
-
datasourceName
public java.lang.String datasourceName
The datasource name.
-
datasetName
public java.lang.String datasetName
Dataset name.
-
aliasField
public java.lang.String aliasField
Bus line alias field.
-
lengthField
public 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. If not specified, the system field "Length" is used by default.
-
lineIDField
public java.lang.String lineIDField
The bus line ID field in the bus line data set, which is a mandatory field.
-
nameField
public java.lang.String nameField
The name field of the bus line, which is a mandatory field.
-
lineTypeField
public java.lang.String lineTypeField
A field that identifies a bus line type.
-
speedField
public java.lang.String speedField
The bus speed field, which is used only to display line information, has no effect on the analysis results.
-
firstTimeField
public 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 .
-
lastTimeField
public 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 .
-
intervalField
public 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 .
-
-
Constructor Detail
-
TransferLineSetting
public TransferLineSetting()
The Constructor.
-
TransferLineSetting
public TransferLineSetting(TransferLineSetting transferLineSetting)
The Constructor.
- Parameters:
transferLineSetting-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Determines whether the specified object is equal to the current
TransferLineSettingobject.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the Java object to compare with this object.- Returns:
- specifies that the object is equal to this object, and returns true, otherwise false.
-
hashCode
public int hashCode()
Gets
TransferLineSettingthe hash value of the object.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code value.
-
-