org.opentripplanner.model.Notice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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