Class Info
java.lang.Object
org.openstreetmap.josm.data.osm.pbf.Info
Optional metadata for primitives
- Since:
- 18695
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
version
-
timestamp
-
changeset
-
uid
-
userSid
-
visible
-
-
Constructor Details
-
Info
public Info(int version, @Nullable Long timestamp, @Nullable Long changeset, @Nullable Integer uid, @Nullable Integer userSid, boolean visible) Create a newInfoobject- Parameters:
version- The OSM versiontimestamp- The OSM timestampchangeset- The OSM changesetuid- The user IDuserSid- The string id for the user namevisible-falseif the element was deleted for this version
-
-
Method Details
-
version
Get the OSM version- Returns:
- The version
-
timestamp
Get the OSM timestamp- Returns:
- The timestamp
-
changeset
Get the OSM changeset- Returns:
- The changeset
-
uid
Get the OSM user id- Returns:
- The user id
-
userSid
Get the id for the username in the PBF- Returns:
- The user string id (in PBF strings)
-
isVisible
Get the visibility of the object- Returns:
falseif the object was deleted
-