Class RemoveTagFeatureChange

    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveTagFeatureChange

        public RemoveTagFeatureChange​(java.util.Map.Entry<java.lang.String,​java.lang.String> tag)
        Create a new RemoveFeatureChange
        Parameters:
        tag - The tag to remove from the feature
    • 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: IFeatureChange
        Apply a change to a complete entity
        Specified by:
        apply in interface IFeatureChange
        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)