public class ChangesetInfo
extends de.westnordost.osmapi.changesets.Changeset
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
de.westnordost.osmapi.map.data.BoundingBox |
boundingBox
the bounding box that includes all changes of this changeset.
|
int |
changesCount
the number of changes in a changeset
|
java.time.Instant |
closedAt
the date the changeset was closed.
|
java.time.Instant |
createdAt
the date the changeset was created.
|
java.util.List<ChangesetNote> |
discussion
The changeset discussion.
|
boolean |
isOpen |
int |
notesCount
the number of notes in the changeset discussion of this changeset
|
java.util.Map<java.lang.String,java.lang.String> |
tags
map of tags associated with this changeset.
|
| Constructor and Description |
|---|
ChangesetInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChangesetComment()
A shortcut to getTags().get("comment")
|
java.lang.String |
getGenerator()
A shortcut to getTags().get("created_by")
|
java.lang.String[] |
getSources()
A shortcut to getTags().get("source").split(";")
|
public java.util.Map<java.lang.String,java.lang.String> tags
public java.util.List<ChangesetNote> discussion
public int notesCount
public int changesCount
public de.westnordost.osmapi.map.data.BoundingBox boundingBox
public boolean isOpen
public java.time.Instant closedAt
public java.time.Instant createdAt
public java.lang.String getChangesetComment()
public java.lang.String[] getSources()
public java.lang.String getGenerator()