Class RemoveTagFeatureChange
- java.lang.Object
-
- org.openstreetmap.atlas.checks.utility.feature_change.RemoveTagFeatureChange
-
- All Implemented Interfaces:
IFeatureChange,IFeatureChange.TaggedChange
public class RemoveTagFeatureChange extends java.lang.Object implements IFeatureChange, IFeatureChange.TaggedChange
Remove a tag from a feature
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstreetmap.atlas.checks.utility.feature_change.IFeatureChange
IFeatureChange.GeometryChange, IFeatureChange.TaggedChange
-
-
Constructor Summary
Constructors Constructor Description RemoveTagFeatureChange(java.util.Map.Entry<java.lang.String,java.lang.String> tag)Create a new RemoveFeatureChange
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T>>
org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T>apply(org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T> completeEntity)Apply a change to a complete entity
-
-
-
Method Detail
-
apply
public <T extends org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T>> org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T> apply(org.openstreetmap.atlas.geography.atlas.complete.CompleteEntity<T> completeEntity)
Description copied from interface:IFeatureChangeApply a change to a complete entity- Specified by:
applyin interfaceIFeatureChange- Type Parameters:
T- The type of the complete entity- Parameters:
completeEntity- The entity that will be changed- Returns:
- The new CompleteEntity (may be the entity from the parameter)
-
-