Changeset 6830 in josm for trunk/src/org/openstreetmap/josm/data/osm/history
- Timestamp:
- 2014-02-10T00:51:53+01:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/history
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/history/History.java
r6623 r6830 43 43 * Creates a new history for an OSM primitive 44 44 * 45 * @param id the id. >0 required.45 * @param id the id. > 0 required. 46 46 * @param type the primitive type. Must not be null. 47 47 * @param versions a list of versions. Can be null. 48 * @throws IllegalArgumentException thrown if id <= 048 * @throws IllegalArgumentException thrown if id <= 0 49 49 * @throws IllegalArgumentException if type is null 50 50 * -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryDataSet.java
r6449 r6830 83 83 * and version <code>version</code>. null, if no such primitive exists. 84 84 * 85 * @param id the id of the primitive. >0 required.85 * @param id the id of the primitive. > 0 required. 86 86 * @param type the primitive type. Must not be null. 87 * @param version the version of the primitive. >0 required87 * @param version the version of the primitive. > 0 required 88 88 * @return the history primitive for the primitive with id <code>id</code>, 89 89 * type <code>type</code>, and version <code>version</code> … … 135 135 * and type <code>type</code>. 136 136 * 137 * @param id the id the if of the primitive. >0 required137 * @param id the id the if of the primitive. > 0 required 138 138 * @param type the type of the primitive. Must not be null. 139 139 * @return the history. null, if there isn't a history for <code>id</code> and 140 140 * <code>type</code>. 141 * @throws IllegalArgumentException thrown if id <= 0141 * @throws IllegalArgumentException thrown if id <= 0 142 142 * @throws IllegalArgumentException thrown if type is null 143 143 */ -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryNode.java
r6069 r6830 22 22 * Constructs a new {@code HistoryNode}. 23 23 * 24 * @param id the id ( >0 required)25 * @param version the version ( >0 required)24 * @param id the id (> 0 required) 25 * @param version the version (> 0 required) 26 26 * @param visible whether the node is still visible 27 * @param user the user (! null required)28 * @param changesetId the changeset id ( >0 required)29 * @param timestamp the timestamp (! null required)27 * @param user the user (!= null required) 28 * @param changesetId the changeset id (> 0 required) 29 * @param timestamp the timestamp (!= null required) 30 30 * @param coords the coordinates 31 31 * @throws IllegalArgumentException if preconditions are violated … … 39 39 * This is needed to build virtual HistoryNodes for modified nodes, which do not have a timestamp and a changeset id. 40 40 * 41 * @param id the id ( >0 required)42 * @param version the version ( >0 required)41 * @param id the id (> 0 required) 42 * @param version the version (> 0 required) 43 43 * @param visible whether the node is still visible 44 * @param user the user (! null required)45 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)46 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)44 * @param user the user (!= null required) 45 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 46 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 47 47 * @param coords the coordinates 48 48 * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp} -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java
r6440 r6830 47 47 * Constructs a new {@code HistoryOsmPrimitive}. 48 48 * 49 * @param id the id ( >0 required)50 * @param version the version ( >0 required)49 * @param id the id (> 0 required) 50 * @param version the version (> 0 required) 51 51 * @param visible whether the primitive is still visible 52 * @param user the user (! null required)53 * @param changesetId the changeset id ( >0 required)54 * @param timestamp the timestamp (! null required)52 * @param user the user (!= null required) 53 * @param changesetId the changeset id (> 0 required) 54 * @param timestamp the timestamp (!= null required) 55 55 * 56 56 * @throws IllegalArgumentException if preconditions are violated … … 64 64 * This is needed to build virtual HistoryOsmPrimitives for modified primitives, which do not have a timestamp and a changeset id. 65 65 * 66 * @param id the id ( >0 required)67 * @param version the version ( >0 required)66 * @param id the id (> 0 required) 67 * @param version the version (> 0 required) 68 68 * @param visible whether the primitive is still visible 69 * @param user the user (! null required)70 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)71 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)69 * @param user the user (!= null required) 70 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 71 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 72 72 * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp} 73 73 * -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryRelation.java
r6317 r6830 26 26 * constructor 27 27 * 28 * @param id the id ( >0 required)29 * @param version the version ( >0 required)28 * @param id the id (> 0 required) 29 * @param version the version (> 0 required) 30 30 * @param visible whether the primitive is still visible 31 * @param user the user (! null required)32 * @param changesetId the changeset id ( >0 required)33 * @param timestamp the timestamp (! null required)31 * @param user the user (!= null required) 32 * @param changesetId the changeset id (> 0 required) 33 * @param timestamp the timestamp (!= null required) 34 34 * 35 35 * @throws IllegalArgumentException if preconditions are violated … … 42 42 * constructor 43 43 * 44 * @param id the id ( >0 required)45 * @param version the version ( >0 required)44 * @param id the id (> 0 required) 45 * @param version the version (> 0 required) 46 46 * @param visible whether the primitive is still visible 47 * @param user the user (! null required)48 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)49 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)47 * @param user the user (!= null required) 48 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 49 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 50 50 * @param checkHistoricParams If true, checks values of {@code changesetId} and {@code timestamp} 51 51 * … … 60 60 * constructor 61 61 * 62 * @param id the id ( >0 required)63 * @param version the version ( >0 required)62 * @param id the id (> 0 required) 63 * @param version the version (> 0 required) 64 64 * @param visible whether the primitive is still visible 65 * @param user the user (! null required)66 * @param changesetId the changeset id ( >0 required)67 * @param timestamp the timestamp (! null required)65 * @param user the user (!= null required) 66 * @param changesetId the changeset id (> 0 required) 67 * @param timestamp the timestamp (!= null required) 68 68 * @param members list of members for this relation 69 69 * -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryWay.java
r6317 r6830 26 26 * Constructs a new {@code HistoryWay}. 27 27 * 28 * @param id the id ( >0 required)29 * @param version the version ( >0 required)28 * @param id the id (> 0 required) 29 * @param version the version (> 0 required) 30 30 * @param visible whether the node is still visible 31 * @param user the user (! null required)32 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)33 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)31 * @param user the user (!= null required) 32 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 33 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 34 34 * @throws IllegalArgumentException if preconditions are violated 35 35 */ … … 42 42 * This is needed to build virtual HistoryWays for modified ways, which do not have a timestamp and a changeset id. 43 43 * 44 * @param id the id ( >0 required)45 * @param version the version ( >0 required)44 * @param id the id (> 0 required) 45 * @param version the version (> 0 required) 46 46 * @param visible whether the node is still visible 47 * @param user the user (! null required)48 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)49 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)47 * @param user the user (!= null required) 48 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 49 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 50 50 * @param checkHistoricParams if true, checks values of {@code changesetId} and {@code timestamp} 51 51 * @throws IllegalArgumentException if preconditions are violated … … 59 59 * Constructs a new {@code HistoryWay} with a given list of node ids. 60 60 * 61 * @param id the id ( >0 required)62 * @param version the version ( >0 required)61 * @param id the id (> 0 required) 62 * @param version the version (> 0 required) 63 63 * @param visible whether the node is still visible 64 * @param user the user (! null required)65 * @param changesetId the changeset id ( >0 required if {@code checkHistoricParams} is true)66 * @param timestamp the timestamp (! null required if {@code checkHistoricParams} is true)67 * @param nodeIdList the node ids (! null required)64 * @param user the user (!= null required) 65 * @param changesetId the changeset id (> 0 required if {@code checkHistoricParams} is true) 66 * @param timestamp the timestamp (!= null required if {@code checkHistoricParams} is true) 67 * @param nodeIdList the node ids (!= null required) 68 68 * @throws IllegalArgumentException if preconditions are violated 69 69 */ … … 95 95 * @param idx the index 96 96 * @return the idx-th node id 97 * @exception IndexOutOfBoundsException thrown, if idx <0 || idx >= {#see {@link #getNumNodes()}97 * @exception IndexOutOfBoundsException thrown, if idx < 0 || idx >= {#see {@link #getNumNodes()} 98 98 */ 99 99 public long getNodeId(int idx) throws IndexOutOfBoundsException {
Note:
See TracChangeset
for help on using the changeset viewer.