Schnittstelle IFluentMutableMultiTextHolder<H extends IFluentMutableMultiTextHolder<H>>
- Typparameter:
H- is the type of aIFluentMutableMultiTextHolder.
- Alle Superschnittstellen:
IMultiTextHolder
public interface IFluentMutableMultiTextHolder<H extends IFluentMutableMultiTextHolder<H>>
extends IMultiTextHolder
A
IFluentMutableMultiTextHolder is a IMultiTextHolder whose
texts can be added and removed programmatically and fluently.- Version:
- 2023-10-25
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds the given text to the currentIFluentMutableMultiTextHolder.voidremoveText(String text) Removes the text that equals the given text from the currentIFluentMutableMultiTextHolderif the currentIFluentMutableMultiTextHoldercontains such a text.voidRemoves all texts from the currentIFluentMutableMultiTextHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiTextHolder
getTexts
-
Methodendetails
-
addText
Adds the given text to the currentIFluentMutableMultiTextHolder.- Parameter:
text-- Gibt zurück:
- the current
IFluentMutableMultiTextHolder. - Löst aus:
RuntimeException- if the given text is null or blank.
-
removeText
Removes the text that equals the given text from the currentIFluentMutableMultiTextHolderif the currentIFluentMutableMultiTextHoldercontains such a text.- Parameter:
text-
-
removeTexts
void removeTexts()Removes all texts from the currentIFluentMutableMultiTextHolder.
-