com.supermap.services.providers

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.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.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      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.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • 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 TransferLineSetting object.

        Overrides:
        equals in class java.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 TransferLineSetting the hash value of the object.

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hash code value.