All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.model.Notice Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.model;

/**
 * This is an element that originates from the NeTEx specification and is described as "Text-based notification
 * describing circumstances which cannot be modelled as structured data." Any NeTEx element can have a notice attached,
 * although not all are supported in OTP.
 */
public class Notice extends TransitEntity {

    private static final long serialVersionUID = 1L;

    private FeedScopedId id;

    private String text;

    private String publicCode;

    @Override
    public FeedScopedId getId() {
        return id;
    }

    @Override
    public void setId(FeedScopedId id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPublicCode() {
        return publicCode;
    }

    public void setPublicCode(String publicCode) {
        this.publicCode = publicCode;
    }

    @Override
    public String toString() { return ""; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy