Removes all {@link Relationship}s that have the given tag from this view.

@param tag a tag
338347
public final void removeRelationshipsWithTag(@Nonnull String tag) {
        getRelationships().stream()
                .map(RelationshipView::getRelationship)
                .filter(r -> r.hasTag(tag))
                .forEach(this::remove);
    }
17286
public void setTags( Collection<String> tags ) {

		synchronized( this.tags ) {
			this.tags.clear();
			if( tags != null )
				this.tags.addAll( tags );
		}
	}
1095452
public void delete() {
       if (historyId > 0) {
           try {
        	   // ZAP: Support for multiple tags
               staticTableTag.deleteTagsForHistoryID(historyId);
               staticTableHistory.delete(historyId);
               notifyEvent(HistoryReferenceEventPublisher.EVENT_REMOVED);
           } catch (DatabaseException e) {
        	   log.error(e.getMessage(), e);
           }
       }
   }
652420
public function clearTag(string $tag): void
    {
        // 指定标签清除
        $keys = $this->getTagItems($tag);

        $this->handler->del($keys);

        $tagName = $this->getTagKey($tag);
        $this->handler->del($tagName);
    }
438651
@Procedure(mode = Mode.WRITE)
    @Description("apoc.index.removeRelationshipByName('name',rel) remove relationship from an index for the given name")
    public void removeRelationshipByName(@Name("name") String name, @Name("relationship") Relationship rel) {
        RelationshipIndex index = getRelationshipIndex(name, null);
        index.remove(rel);
    }
925146
public function untag($tags = null)
    {
        if ($tags === null) {
            $this->removeAllTags();

            return;
        }

        $this->removeTags(
            $this->getWorkableTags($tags)
        );
    }
874897
public function removeTag(TagInterface $tag)
    {
        if ($this->tags->contains($tag)) {
            $this->tags->removeElement($tag);
        }

        return $this;
    }
1352751
@SuppressWarnings("unchecked")
	public T tag(final String tag) {
		if (this.tags == null) {
			this.tags = new HashSet<>();
		}

		this.tags.add(tag);
		return (T) this;
	}
565289
public void setTag(TagLibTag tag) {
	tag.setTagLib(this);
	tags.put(tag.getName(), tag);

	if (tag.hasAppendix()) appendixTags.put(tag.getName(), tag);
	else if (appendixTags.containsKey(tag.getName())) appendixTags.remove(tag.getName());
    }
1373247
public function removeTag(Tag $tag)
    {
        if ($this->tags->contains($tag)) {
            $this->tags->removeElement($tag);
            return true;
        }
        return false;
    }
157139
public void setTags(java.util.Collection<Tag> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<Tag>(tags);
    }
752881
public void removeTag(String name) {
        XtraTag tag = getTagByName(name);
        if (tag != null) {
            tags.remove(tag);
        }
    }
876546
public function clearTag(string $tag): void
    {
        $keys = $this->getTagItems($tag);

        wincache_ucache_delete($keys);

        $tagName = $this->getTagkey($tag);
        $this->rm($tagName);
    }
1042449
def remove_tags(self, tags):
        
        if self.cloud_manager.remove_tags(self, tags):
            new_tags = [tag for tag in self.tags if tag not in tags]
            object.__setattr__(self, 'tags', new_tags)
641829
def remove_tag(tag_id):
        '''
        
        '''
        entry = TabPost2Tag.delete().where(
            TabPost2Tag.tag_id == tag_id
        )
        entry.execute()
150893
public boolean hasOneTag(Tag... tags) {
        for(Tag t : tags) {
            if (this.tags.contains(t)) return true;
        }
        return false;
    }
1191801
public function deleteByTags($tag)
    {
        if (!isset($this->tags[$tag])) {
            return false;
        }

        foreach ($this->tags[$tag] as $key) {
            $this->delete($key);
        }

        return true;
    }