Ignore:
Timestamp:
2017-08-15T22:14:18+02:00 (7 years ago)
Author:
giackserva
Message:

[pt_assistant] added support for entry and exit only stops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/data/PTStop.java

    r33468 r33498  
    3333    /* the name of this stop */
    3434    private String name = "";
     35
     36    /* indicates a stop where people can only exit the bus */
     37    private boolean exitOnly;
     38
     39    /* indicates a stop where people can only entry the bus */
     40    private boolean entryOnly;
    3541
    3642    /**
     
    238244        this.stopPositionRM = stopPositionRM;
    239245    }
     246
     247    public boolean getExitOnly() {
     248        return exitOnly;
     249    }
     250
     251    public void setExitOnly(boolean exitOnly) {
     252        this.exitOnly = exitOnly;
     253    }
     254
     255    public boolean getEntryOnly() {
     256        return entryOnly;
     257    }
     258
     259    public void setEntryOnly(boolean entryOnly) {
     260        this.entryOnly = entryOnly;
     261    }
    240262}
Note: See TracChangeset for help on using the changeset viewer.