Class ChangesetContentTableModel.ChangesetContentEntry
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.changeset.ChangesetContentTableModel.ChangesetContentEntry
-
- All Implemented Interfaces:
ChangesetDataSet.ChangesetDataSetEntry
- Enclosing class:
- ChangesetContentTableModel
private static class ChangesetContentTableModel.ChangesetContentEntry extends java.lang.Object implements ChangesetDataSet.ChangesetDataSetEntry
The type used internally to keep information aboutHistoryOsmPrimitive
with theirChangesetDataSet.ChangesetModificationType
.
-
-
Field Summary
Fields Modifier and Type Field Description private ChangesetDataSet.ChangesetModificationType
modificationType
private HistoryOsmPrimitive
primitive
-
Constructor Summary
Constructors Constructor Description ChangesetContentEntry(ChangesetDataSet.ChangesetDataSetEntry entry)
ChangesetContentEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangesetDataSet.ChangesetModificationType
getModificationType()
Returns the type of modification.HistoryOsmPrimitive
getPrimitive()
Returns the affected history primitive.
-
-
-
Field Detail
-
modificationType
private final ChangesetDataSet.ChangesetModificationType modificationType
-
primitive
private final HistoryOsmPrimitive primitive
-
-
Constructor Detail
-
ChangesetContentEntry
ChangesetContentEntry(ChangesetDataSet.ChangesetModificationType modificationType, HistoryOsmPrimitive primitive)
-
ChangesetContentEntry
ChangesetContentEntry(ChangesetDataSet.ChangesetDataSetEntry entry)
-
-
Method Detail
-
getModificationType
public ChangesetDataSet.ChangesetModificationType getModificationType()
Description copied from interface:ChangesetDataSet.ChangesetDataSetEntry
Returns the type of modification.- Specified by:
getModificationType
in interfaceChangesetDataSet.ChangesetDataSetEntry
- Returns:
- the type of modification
-
getPrimitive
public HistoryOsmPrimitive getPrimitive()
Description copied from interface:ChangesetDataSet.ChangesetDataSetEntry
Returns the affected history primitive.- Specified by:
getPrimitive
in interfaceChangesetDataSet.ChangesetDataSetEntry
- Returns:
- the affected history primitive
-
-