Class AgencyModel

java.lang.Object
com.nnamo.models.AgencyModel

public class AgencyModel extends Object
Represents a GTFS agency entity. Used with ORMLite for database persistence.
  • Constructor Details

    • AgencyModel

      public AgencyModel()
      Empty constructor required by ORMLite.
    • AgencyModel

      public AgencyModel(String id, String name, String timezone, String url)
      Constructs an AgencyModel with required fields.
      Parameters:
      id - the unique identifier
      name - the agency name
      timezone - the agency timezone
      url - the agency URL
  • Method Details

    • getId

      public String getId()
      Gets the agency ID.
      Returns:
      the agency ID
    • getName

      public String getName()
      Gets the agency name.
      Returns:
      the agency name
    • getUrl

      public String getUrl()
      Gets the agency URL.
      Returns:
      the agency URL
    • getTimezone

      public String getTimezone()
      Gets the agency timezone.
      Returns:
      the agency timezone
    • getPhone

      public String getPhone()
      Gets the agency phone number.
      Returns:
      the agency phone number, or null if not set
    • getEmail

      public String getEmail()
      Gets the agency email address.
      Returns:
      the agency email address, or null if not set