| Revision 4098,
274 bytes
checked in by bastiK, 12 months ago
(diff) |
|
extract common functionality of OsmPrimitive & PrimitiveData to an interface
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file. |
|---|
| 2 | package org.openstreetmap.josm.data.osm; |
|---|
| 3 | |
|---|
| 4 | public interface IRelation extends IPrimitive { |
|---|
| 5 | |
|---|
| 6 | int getMembersCount(); |
|---|
| 7 | long getMemberId(int idx); |
|---|
| 8 | String getRole(int idx); |
|---|
| 9 | OsmPrimitiveType getMemberType(int idx); |
|---|
| 10 | |
|---|
| 11 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.