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 aboutHistoryOsmPrimitivewith theirChangesetDataSet.ChangesetModificationType.
-
-
Field Summary
Fields Modifier and Type Field Description private ChangesetDataSet.ChangesetModificationTypemodificationTypeprivate HistoryOsmPrimitiveprimitive
-
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.ChangesetModificationTypegetModificationType()Returns the type of modification.HistoryOsmPrimitivegetPrimitive()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.ChangesetDataSetEntryReturns the type of modification.- Specified by:
getModificationTypein interfaceChangesetDataSet.ChangesetDataSetEntry- Returns:
- the type of modification
-
getPrimitive
public HistoryOsmPrimitive getPrimitive()
Description copied from interface:ChangesetDataSet.ChangesetDataSetEntryReturns the affected history primitive.- Specified by:
getPrimitivein interfaceChangesetDataSet.ChangesetDataSetEntry- Returns:
- the affected history primitive
-
-