Uses of Class
org.openstreetmap.josm.data.osm.PrimitiveData
Packages that use PrimitiveData
Package
Description
Provides the classes for JOSM commands allowing to modify an OSM data set.
Provides the classes for OSM data:
Primitives:
Node,
Way,
Relation
Users
Tags
Changesets
Utilities classes
Provides the classes for OSM primitives
history (edition revisions).Provides the classes for performing actions on OSM primitives using Visitor design pattern.
Provides the classes for defining the serializable data transferred using cut/copy/paste operations.
Provides the classes for the transfer support controllers allowing cut/copy/paste operations.
Provides the classes for JOSM input/output support.
-
Uses of PrimitiveData in org.openstreetmap.josm.command
Fields in org.openstreetmap.josm.command with type parameters of type PrimitiveDataModifier and TypeFieldDescriptionprivate final Map<OsmPrimitive,PrimitiveData> DeleteCommand.clonedPrimitivesprivate Map<OsmPrimitive,PrimitiveData> Command.cloneMapthe map of OsmPrimitives in the original state to OsmPrimitives in cloned stateprotected Storage<PrimitiveData>PurgeCommand.makeIncompleteDataprotected Map<PrimitiveId,PrimitiveData> PurgeCommand.makeIncompleteDataByPrimId(package private) final Map<OsmPrimitive,PrimitiveData> Command.CloneVisitor.origprivate List<PrimitiveData>AddPrimitivesCommand.preExistingDataprivate List<PrimitiveData>AddPrimitivesCommand.primitiveDataprivate Collection<PrimitiveData>AddPrimitivesCommand.toSelectMethods in org.openstreetmap.josm.command that return PrimitiveDataModifier and TypeMethodDescriptionCommand.getOrig(OsmPrimitive osm) Lets other commands access the original version of the object.Method parameters in org.openstreetmap.josm.command with type arguments of type PrimitiveDataModifier and TypeMethodDescriptionprivate voidAddPrimitivesCommand.init(List<PrimitiveData> data, List<PrimitiveData> toSelect) Constructor parameters in org.openstreetmap.josm.command with type arguments of type PrimitiveDataModifierConstructorDescriptionAddPrimitivesCommand(List<PrimitiveData> data, List<PrimitiveData> toSelect, DataSet ds) Constructs a newAddPrimitivesCommandto add data to the given data set.AddPrimitivesCommand(List<PrimitiveData> data, DataSet ds) Constructs a newAddPrimitivesCommandto add data to the given data set. -
Uses of PrimitiveData in org.openstreetmap.josm.data.osm
Subclasses of PrimitiveData in org.openstreetmap.josm.data.osmModifier and TypeClassDescriptionclassThe data on a single node (tags and position) that is stored in the databaseclassRelation data.classThe data (tags and node ids) that is stored for a way in the database.Fields in org.openstreetmap.josm.data.osm with type parameters of type PrimitiveDataModifier and TypeFieldDescriptionprivate final Class<? extends PrimitiveData>OsmPrimitiveType.dataClassMethods in org.openstreetmap.josm.data.osm that return PrimitiveDataModifier and TypeMethodDescriptionRelationMemberData.getMember()abstract PrimitiveDataPrimitiveData.makeCopy()Returns a copy of this primitive data.abstract PrimitiveDataOsmPrimitive.save()Save parameters of this primitive to the transport objectMethods in org.openstreetmap.josm.data.osm that return types with arguments of type PrimitiveDataModifier and TypeMethodDescriptionClass<? extends PrimitiveData>OsmPrimitiveType.getDataClass()Returns the data class.final List<PrimitiveData>PrimitiveData.getReferrers(boolean allowWithoutDataset) Methods in org.openstreetmap.josm.data.osm with parameters of type PrimitiveDataModifier and TypeMethodDescriptionvoidNode.load(PrimitiveData data) voidOsmPrimitive.load(PrimitiveData data) Loads (clone) this primitive from provided PrimitiveDatavoidRelation.load(PrimitiveData data) voidWay.load(PrimitiveData data) protected voidOsmPrimitive.saveCommonAttributes(PrimitiveData data) Save common parameters of primitives to the transport objectConstructors in org.openstreetmap.josm.data.osm with parameters of type PrimitiveDataModifierConstructorDescriptionprotectedPrimitiveData(PrimitiveData data) Constructs a newPrimitiveDatafrom an existing one. -
Uses of PrimitiveData in org.openstreetmap.josm.data.osm.history
Methods in org.openstreetmap.josm.data.osm.history with parameters of type PrimitiveDataModifier and TypeMethodDescriptionprotected voidHistoryOsmPrimitive.fillPrimitiveCommonData(PrimitiveData data) Fills the attributes common to all primitives with values from this history. -
Uses of PrimitiveData in org.openstreetmap.josm.data.osm.visitor
Fields in org.openstreetmap.josm.data.osm.visitor with type parameters of type PrimitiveDataModifier and TypeFieldDescriptionprivate final Map<OsmPrimitive,PrimitiveData> MergeSourceBuildingVisitor.mappedPrimitives -
Uses of PrimitiveData in org.openstreetmap.josm.gui.datatransfer.data
Fields in org.openstreetmap.josm.gui.datatransfer.data with type parameters of type PrimitiveDataModifier and TypeFieldDescriptionprivate final ArrayList<PrimitiveData>PrimitiveTransferData.directprivate final ArrayList<PrimitiveData>PrimitiveTransferData.referencedMethods in org.openstreetmap.josm.gui.datatransfer.data that return types with arguments of type PrimitiveDataModifier and TypeMethodDescriptionPrimitiveTransferData.getAll()Gets a List of all primitives added to this set.PrimitiveTransferData.getDirectlyAdded()Gets all primitives directly added.PrimitiveTransferData.getReferenced()Gets all primitives that were added because they were referenced.Constructor parameters in org.openstreetmap.josm.gui.datatransfer.data with type arguments of type PrimitiveDataModifierConstructorDescriptionPrimitiveTagTransferData(Collection<? extends PrimitiveData> source) Create a newPrimitiveTagTransferData -
Uses of PrimitiveData in org.openstreetmap.josm.gui.datatransfer.importers
Methods in org.openstreetmap.josm.gui.datatransfer.importers with parameters of type PrimitiveDataModifier and TypeMethodDescriptionprivate static voidPrimitiveDataPaster.updateMembers(EnumMap<OsmPrimitiveType, Map<Long, Long>> newIds, PrimitiveData data) private static voidPrimitiveDataPaster.updateNodes(Map<Long, Long> newNodeIds, PrimitiveData data) Method parameters in org.openstreetmap.josm.gui.datatransfer.importers with type arguments of type PrimitiveDataModifier and TypeMethodDescriptionprivate static EnumMap<OsmPrimitiveType,Map<Long, Long>> PrimitiveDataPaster.generateNewPrimitives(PrimitiveTransferData pasteBuffer, List<PrimitiveData> bufferCopy, List<PrimitiveData> toSelect) -
Uses of PrimitiveData in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io with parameters of type PrimitiveDataModifier and TypeMethodDescriptionvoidAbstractReader.CommonReader.accept(PrimitiveData pd) Reads the common primitive attributes and sets them inpdprotected OsmPrimitiveAbstractReader.buildPrimitive(PrimitiveData pd) private static voidAbstractReader.handleIllegalChangeset(PrimitiveData current, IllegalArgumentException e, Object v) protected final voidAbstractReader.parseAction(PrimitiveData current, String action) protected final voidAbstractReader.parseChangeset(PrimitiveData current, int v) protected final voidAbstractReader.parseChangeset(PrimitiveData current, String v) protected final voidAbstractReader.parseId(PrimitiveData current, long id) protected final voidAbstractReader.parseTimestamp(PrimitiveData current, String time) protected final voidAbstractReader.parseUser(PrimitiveData current, String user, long uid) protected final voidAbstractReader.parseUser(PrimitiveData current, String user, String uid) protected final voidAbstractReader.parseVersion(PrimitiveData current, int version) protected final voidAbstractReader.parseVersion(PrimitiveData current, String versionString) protected final voidAbstractReader.parseVisible(PrimitiveData current, String visible) private voidOsmJsonReader.readCommon(jakarta.json.JsonObject item, PrimitiveData current) Read out the common attributes and put them into current OsmPrimitive.private voidOsmReader.readCommon(PrimitiveData current) Read out the common attributes and put them into current OsmPrimitive.private static voidOsmPbfReader.setOsmPrimitiveData(OsmPbfReader.PrimitiveBlockRecord primitiveBlockRecord, PrimitiveData primitive, Info info) Set the primitive data for an object