Class TransitAgency

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransitAgency
    extends java.lang.Object
    implements java.io.Serializable
    The operator of a line.

    See Transit Details for more detail.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String name
      The name of the transit agency.
      java.lang.String phone
      The phone number of the transit agency.
      java.lang.String url
      The URL for the transit agency.
    • Constructor Summary

      Constructors 
      Constructor Description
      TransitAgency()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        public java.lang.String name
        The name of the transit agency.
      • url

        public java.lang.String url
        The URL for the transit agency.
      • phone

        public java.lang.String phone
        The phone number of the transit agency.
    • Constructor Detail

      • TransitAgency

        public TransitAgency()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object