Schnittstelle IFluentMutableMultiTagHolder<H extends IFluentMutableMultiTagHolder<H>>
- Typparameter:
H- is the type of aIFluentMutableMultiTagHolder.
- Alle Superschnittstellen:
IMultiTagHolder
public interface IFluentMutableMultiTagHolder<H extends IFluentMutableMultiTagHolder<H>>
extends IMultiTagHolder
A
IFluentMutableMultiTagHolder is a IMultiTagHolder whose
tags can be added and removed programmatically and fluently.- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungAdds the given tag to the currentIFluentMutableMultiTagHolderif the currentIFluentMutableMultiTagHolderdoes not contain already such a tag.voidRemoves the tag that equals the given tag from the currentIFluentMutableMultiTagHolderif the currentIFluentMutableMultiTagHoldercontains such a tag.voidRemoves all tags from the currentIFluentMutableMultiTagHolder.Von Schnittstelle geerbte Methoden IMultiTagHolder
getTags
-
Methodendetails
-
addTag
Adds the given tag to the currentIFluentMutableMultiTagHolderif the currentIFluentMutableMultiTagHolderdoes not contain already such a tag.- Parameter:
tag-- Gibt zurück:
- the current
IFluentMutableMultiTagHolder. - Löst aus:
RuntimeException- if the given tag is null or blank.
-
removeTag
Removes the tag that equals the given tag from the currentIFluentMutableMultiTagHolderif the currentIFluentMutableMultiTagHoldercontains such a tag.- Parameter:
tag-
-
removeTags
void removeTags()Removes all tags from the currentIFluentMutableMultiTagHolder.
-