Uses of Interface
org.openstreetmap.josm.data.osm.PrimitiveId

Packages that use PrimitiveId
org.openstreetmap.josm.actions   
org.openstreetmap.josm.actions.downloadtasks   
org.openstreetmap.josm.command   
org.openstreetmap.josm.data.conflict   
org.openstreetmap.josm.data.osm   
org.openstreetmap.josm.data.osm.history   
org.openstreetmap.josm.gui.conflict.pair   
org.openstreetmap.josm.gui.conflict.pair.nodes   
org.openstreetmap.josm.gui.conflict.pair.relation   
org.openstreetmap.josm.gui.dialogs   
org.openstreetmap.josm.gui.history   
org.openstreetmap.josm.gui.io   
org.openstreetmap.josm.gui.widgets   
org.openstreetmap.josm.io   
org.openstreetmap.josm.tools   
 

Uses of PrimitiveId in org.openstreetmap.josm.actions
 

Fields in org.openstreetmap.josm.actions with type parameters of type PrimitiveId
private  java.util.List<? extends PrimitiveId> SplitWayAction.SplitWayResult.newSelection
           
 

Methods in org.openstreetmap.josm.actions that return types with arguments of type PrimitiveId
 java.util.List<? extends PrimitiveId> SplitWayAction.SplitWayResult.getNewSelection()
          Replies the new list of selected primitives ids
 

Methods in org.openstreetmap.josm.actions with parameters of type PrimitiveId
 void UpdateSelectionAction.updatePrimitive(PrimitiveId id)
          Updates the data for the OsmPrimitives with id id with the data currently kept on the server.
 

Method parameters in org.openstreetmap.josm.actions with type arguments of type PrimitiveId
static void DownloadPrimitiveAction.processItems(boolean newLayer, java.util.List<PrimitiveId> ids, boolean downloadReferrers, boolean full)
           
private static ExtendedDialog DownloadPrimitiveAction.reportProblemDialog(java.util.Set<PrimitiveId> errs, java.lang.String TITLE, java.lang.String TEXT, java.lang.String LIST_LABEL, int msgType)
           
 

Constructor parameters in org.openstreetmap.josm.actions with type arguments of type PrimitiveId
SplitWayAction.SplitWayResult(Command command, java.util.List<? extends PrimitiveId> newSelection, Way originalWay, java.util.List<Way> newWays)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.actions.downloadtasks
 

Methods in org.openstreetmap.josm.actions.downloadtasks with parameters of type PrimitiveId
 void DownloadOsmChangeTask.HistoryLoaderAndListener.historyUpdated(HistoryDataSet source, PrimitiveId id)
           
 

Constructors in org.openstreetmap.josm.actions.downloadtasks with parameters of type PrimitiveId
DownloadReferrersTask(OsmDataLayer targetLayer, PrimitiveId primitiveId)
          constructor
 

Uses of PrimitiveId in org.openstreetmap.josm.command
 

Fields in org.openstreetmap.josm.command with type parameters of type PrimitiveId
protected  java.util.Map<PrimitiveId,PrimitiveData> PurgeCommand.makeIncompleteData_byPrimId
           
 

Uses of PrimitiveId in org.openstreetmap.josm.data.conflict
 

Fields in org.openstreetmap.josm.data.conflict with type parameters of type PrimitiveId
private  java.util.Map<PrimitiveId,PrimitiveId> Conflict.mergedMap
           
private  java.util.Map<PrimitiveId,PrimitiveId> Conflict.mergedMap
           
 

Methods in org.openstreetmap.josm.data.conflict that return types with arguments of type PrimitiveId
 java.util.Map<PrimitiveId,PrimitiveId> Conflict.getMergedMap()
           
 java.util.Map<PrimitiveId,PrimitiveId> Conflict.getMergedMap()
           
 

Methods in org.openstreetmap.josm.data.conflict with parameters of type PrimitiveId
 boolean Conflict.isParticipating(PrimitiveId id)
          Replies true if the primitive with id id is participating in this conflict
 

Method parameters in org.openstreetmap.josm.data.conflict with type arguments of type PrimitiveId
 void Conflict.setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
           
 void Conflict.setMergedMap(java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.data.osm
 

Subinterfaces of PrimitiveId in org.openstreetmap.josm.data.osm
 interface INode
           
 interface IPrimitive
          IPrimitive captures the common functions of OsmPrimitive and PrimitiveData.
 interface IRelation
           
 interface IWay
           
 

Classes in org.openstreetmap.josm.data.osm that implement PrimitiveId
 class AbstractPrimitive
          Abstract class to represent common features of the datatypes primitives.
 class Node
          One node data, consisting of one world coordinate waypoint.
 class NodeData
           
 class OsmPrimitive
          An OSM primitive can be associated with a key/value pair.
 class PrimitiveData
          This class can be used to save properties of OsmPrimitive.
 class Relation
          An relation, having a set of tags and any number (0...n) of members.
 class RelationData
           
 class RelationMember
          A linkage class that can be used by an relation to keep a list of members.
 class RelationMemberData
           
 class SimplePrimitiveId
           
 class Way
          One full way, consisting of a list of way nodes.
 class WayData
           
 

Fields in org.openstreetmap.josm.data.osm with type parameters of type PrimitiveId
private  java.util.Map<PrimitiveId,PrimitiveId> DataSetMerger.mergedMap
          A map of all primitives that got replaced with other primitives.
private  java.util.Map<PrimitiveId,PrimitiveId> DataSetMerger.mergedMap
          A map of all primitives that got replaced with other primitives.
private  java.util.Map<PrimitiveId,ChangesetDataSet.ChangesetModificationType> ChangesetDataSet.modificationTypes
           
private  java.util.Set<PrimitiveId> DataSetMerger.objectsWithChildrenToMerge
          a set of primitive ids for which we have to fix references (to nodes and to relation members) after the first phase of merging
private  java.util.Map<PrimitiveId,HistoryOsmPrimitive> ChangesetDataSet.primitives
           
private  java.util.Map<PrimitiveId,OsmPrimitive> DataSet.primitivesMap
           
private  java.util.Iterator<java.util.Map.Entry<PrimitiveId,ChangesetDataSet.ChangesetModificationType>> ChangesetDataSet.DefaultIterator.typeIterator
           
 

Methods in org.openstreetmap.josm.data.osm that return PrimitiveId
 PrimitiveId IPrimitive.getPrimitiveId()
           
 PrimitiveId AbstractPrimitive.getPrimitiveId()
          Replies the unique primitive id for this primitive
 

Methods in org.openstreetmap.josm.data.osm with parameters of type PrimitiveId
private  boolean DataSet.__toggleSelected(PrimitiveId primitiveId)
           
 void DataSet.addSelected(PrimitiveId... osm)
           
 void DataSet.clearSelection(PrimitiveId... osm)
          Remove the selection from every value in the collection.
 boolean ChangesetDataSet.contains(PrimitiveId id)
          Replies true if the changeset content contains the object with primitive id.
 boolean DataSet.IdHash.equals(PrimitiveId key, OsmPrimitive value)
           
 int DataSet.IdHash.getHashCode(PrimitiveId k)
           
 ChangesetDataSet.ChangesetModificationType ChangesetDataSet.getModificationType(PrimitiveId id)
          Replies the modification type for the object with id id.
 HistoryOsmPrimitive ChangesetDataSet.getPrimitive(PrimitiveId id)
          Replies the HistoryOsmPrimitive with id id from this dataset.
 OsmPrimitive DataSet.getPrimitiveById(PrimitiveId primitiveId)
           
private  OsmPrimitive DataSet.getPrimitiveByIdChecked(PrimitiveId primitiveId)
          Show message and stack trace in log in case primitive is not found
 boolean ChangesetDataSet.isCreated(PrimitiveId id)
          Replies true if the primitive with id id was created in this changeset.
 boolean ChangesetDataSet.isDeleted(PrimitiveId id)
          Replies true if the primitive with id id was deleted in this changeset.
 boolean ChangesetDataSet.isUpdated(PrimitiveId id)
          Replies true if the primitive with id id was updated in this changeset.
 void DataSet.removePrimitive(PrimitiveId primitiveId)
          Removes a primitive from the dataset.
 void DataSet.setSelected(PrimitiveId... osm)
           
 void DataSet.toggleSelected(PrimitiveId... osm)
           
 

Method parameters in org.openstreetmap.josm.data.osm with type arguments of type PrimitiveId
 void DataSet.addSelected(java.util.Collection<? extends PrimitiveId> selection)
          Adds the primitives in selection to the current selection and notifies all SelectionChangedListener.
private  boolean DataSet.addSelected(java.util.Collection<? extends PrimitiveId> selection, boolean fireSelectionChangeEvent)
          Adds the primitives in selection to the current selection.
private  BBox Relation.calculateBBox(java.util.Set<PrimitiveId> visitedRelations)
           
 void DataSet.clearSelection(java.util.Collection<? extends PrimitiveId> list)
           
 void DataSet.setSelected(java.util.Collection<? extends PrimitiveId> selection)
          Sets the current selection to the primitives in selection and notifies all SelectionChangedListener.
 void DataSet.setSelected(java.util.Collection<? extends PrimitiveId> selection, boolean fireSelectionChangeEvent)
          Sets the current selection to the primitives in selection.
 void DataSet.toggleSelected(java.util.Collection<? extends PrimitiveId> osm)
           
 

Constructors in org.openstreetmap.josm.data.osm with parameters of type PrimitiveId
RelationMemberData(java.lang.String role, PrimitiveId primitive)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.data.osm.history
 

Fields in org.openstreetmap.josm.data.osm.history with type parameters of type PrimitiveId
private  java.util.HashMap<PrimitiveId,java.util.ArrayList<HistoryOsmPrimitive>> HistoryDataSet.data
          the history data
 

Methods in org.openstreetmap.josm.data.osm.history that return PrimitiveId
 PrimitiveId HistoryOsmPrimitive.getPrimitiveId()
           
 PrimitiveId History.getPrimitiveId()
          Replies the primitive id for this history.
 

Methods in org.openstreetmap.josm.data.osm.history with parameters of type PrimitiveId
protected  void HistoryDataSet.fireHistoryUpdated(PrimitiveId id)
           
 History HistoryDataSet.getHistory(PrimitiveId pid)
          Replies the history for a primitive with id id.
 void HistoryDataSetListener.historyUpdated(HistoryDataSet source, PrimitiveId id)
          Fired by a HistoryDataSet if the cached history of an OSM primitive with id id is updated
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair
 

Classes in org.openstreetmap.josm.gui.conflict.pair with type parameters of type PrimitiveId
 class ListMergeModel<T extends PrimitiveId>
          ListMergeModel is a model for interactively comparing and merging two list of entries of type T.
 class ListMerger<T extends PrimitiveId>
          A UI component for resolving conflicts in two lists of entries of type T.
 

Fields in org.openstreetmap.josm.gui.conflict.pair with type parameters of type PrimitiveId
private  java.util.Map<PrimitiveId,PrimitiveId> ListMergeModel.mergedMap
           
private  java.util.Map<PrimitiveId,PrimitiveId> ListMergeModel.mergedMap
           
private  ListMergeModel<? extends PrimitiveId> PairTable.model
           
 

Methods in org.openstreetmap.josm.gui.conflict.pair with parameters of type PrimitiveId
 OsmPrimitive ListMergeModel.getMyPrimitiveById(PrimitiveId entry)
           
 

Method parameters in org.openstreetmap.josm.gui.conflict.pair with type arguments of type PrimitiveId
protected  void ListMergeModel.alertCopyFailedForDeletedPrimitives(java.util.List<PrimitiveId> deletedIds)
           
protected  void ListMergeModel.initPopulate(OsmPrimitive my, OsmPrimitive their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
           
protected  void ListMergeModel.initPopulate(OsmPrimitive my, OsmPrimitive their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
           
 

Constructor parameters in org.openstreetmap.josm.gui.conflict.pair with type arguments of type PrimitiveId
PairTable(java.lang.String name, ListMergeModel<? extends PrimitiveId> model, OsmPrimitivesTableModel dm, javax.swing.table.TableColumnModel cm, javax.swing.ListSelectionModel sm)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair.nodes
 

Method parameters in org.openstreetmap.josm.gui.conflict.pair.nodes with type arguments of type PrimitiveId
 void NodeListMergeModel.populate(Way my, Way their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
          Populates the model with the nodes in the two Ways my and their.
 void NodeListMergeModel.populate(Way my, Way their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
          Populates the model with the nodes in the two Ways my and their.
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.conflict.pair.relation
 

Method parameters in org.openstreetmap.josm.gui.conflict.pair.relation with type arguments of type PrimitiveId
 void RelationMemberListMergeModel.populate(Relation my, Relation their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
          populates the model with the relation members in relation my and their
 void RelationMemberListMergeModel.populate(Relation my, Relation their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
          populates the model with the relation members in relation my and their
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.dialogs
 

Methods in org.openstreetmap.josm.gui.dialogs with parameters of type PrimitiveId
 void HistoryDialog.historyUpdated(HistoryDataSet source, PrimitiveId primitiveId)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.history
 

Fields in org.openstreetmap.josm.gui.history declared as PrimitiveId
private  PrimitiveId NodeListViewer.ZoomToNodeAction.primitiveId
           
private  PrimitiveId NodeListViewer.ShowHistoryAction.primitiveId
           
 

Fields in org.openstreetmap.josm.gui.history with type parameters of type PrimitiveId
private  java.util.HashSet<PrimitiveId> HistoryLoadTask.toLoad
           
 

Methods in org.openstreetmap.josm.gui.history that return PrimitiveId
private static PrimitiveId NodeListViewer.primitiveIdAtRow(javax.swing.table.TableModel model, int row)
           
 

Methods in org.openstreetmap.josm.gui.history with parameters of type PrimitiveId
 HistoryLoadTask HistoryLoadTask.add(PrimitiveId pid)
          Adds an object whose history is to be loaded.
 void HistoryBrowserDialog.historyUpdated(HistoryDataSet source, PrimitiveId primitiveId)
           
 void NodeListViewer.NodeListPopupMenu.prepare(PrimitiveId pid)
           
 void NodeListViewer.ZoomToNodeAction.setPrimitiveId(PrimitiveId pid)
           
 void NodeListViewer.ShowHistoryAction.setPrimitiveId(PrimitiveId pid)
           
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.io
 

Fields in org.openstreetmap.josm.gui.io with type parameters of type PrimitiveId
private  java.util.List<PrimitiveId> DownloadPrimitivesTask.ids
           
private  java.util.Set<PrimitiveId> DownloadPrimitivesTask.missingPrimitives
           
 

Methods in org.openstreetmap.josm.gui.io that return types with arguments of type PrimitiveId
 java.util.Set<PrimitiveId> DownloadPrimitivesTask.getMissingPrimitives()
          replies the set of ids of all primitives for which a fetch request to the server was submitted but which are not available from the server (the server replied a return code of 404)
 

Constructor parameters in org.openstreetmap.josm.gui.io with type arguments of type PrimitiveId
DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation)
          Creates the task
 

Uses of PrimitiveId in org.openstreetmap.josm.gui.widgets
 

Fields in org.openstreetmap.josm.gui.widgets with type parameters of type PrimitiveId
private  java.util.List<PrimitiveId> OsmIdTextField.OsmIdValidator.ids
           
 

Methods in org.openstreetmap.josm.gui.widgets that return types with arguments of type PrimitiveId
 java.util.List<PrimitiveId> OsmIdTextField.getIds()
          Get entered ID list - supports "1,2,3" "1 2 ,3" or even "1 2 3 v2 6 v8"
 

Uses of PrimitiveId in org.openstreetmap.josm.io
 

Fields in org.openstreetmap.josm.io declared as PrimitiveId
private  PrimitiveId OsmServerObjectReader.id
          the id of the object to download
 

Fields in org.openstreetmap.josm.io with type parameters of type PrimitiveId
private  java.util.Map<PrimitiveId,DiffResultProcessor.DiffResultEntry> DiffResultProcessor.diffResults
          mapping from old id to new id and version, the result of parsing the diff result replied by the server
protected  java.util.Map<PrimitiveId,OsmPrimitive> AbstractReader.externalIdMap
          the map from external ids to read OsmPrimitives.
private  java.util.Set<PrimitiveId> MultiFetchServerObjectReader.missingPrimitives
           
 java.util.Set<PrimitiveId> MultiFetchServerObjectReader.FetchResult.missingPrimitives
          The collection of primitive ids that could not have been loaded
 

Methods in org.openstreetmap.josm.io that return types with arguments of type PrimitiveId
 java.util.Set<PrimitiveId> MultiFetchServerObjectReader.getMissingPrimitives()
          replies the set of ids of all primitives for which a fetch request to the server was submitted but which are not available from the server (the server replied a return code of 404)
 

Methods in org.openstreetmap.josm.io with parameters of type PrimitiveId
protected  void MultiFetchServerObjectReader.remember(PrimitiveId id)
          Remembers an OsmPrimitive's id.
 

Constructors in org.openstreetmap.josm.io with parameters of type PrimitiveId
OsmServerObjectReader(PrimitiveId id, boolean full)
          Creates a new server object reader for an object with the given id
OsmServerObjectReader(PrimitiveId id, boolean full, int version)
           
OsmServerObjectReader(PrimitiveId id, int version)
          Creates a new server object reader for an object with the given id
 

Constructor parameters in org.openstreetmap.josm.io with type arguments of type PrimitiveId
MultiFetchServerObjectReader.FetchResult(DataSet dataSet, java.util.Set<PrimitiveId> missingPrimitives)
          Constructs a FetchResult
 

Uses of PrimitiveId in org.openstreetmap.josm.tools
 

Methods in org.openstreetmap.josm.tools with parameters of type PrimitiveId
static void CheckParameterUtil.ensureValidNodeId(PrimitiveId id, java.lang.String parameterName)
          Ensures that id is non-null primitive id of type OsmPrimitiveType.NODE
static void CheckParameterUtil.ensureValidPrimitiveId(PrimitiveId id, java.lang.String parameterName)
           
 



JOSM