Schnittstelle IFluentMutableMultiTextHolder<FMMTH extends IFluentMutableMultiTextHolder<FMMTH>>
- Typparameter:
FMMTH
- is the type of aIFluentMutableMultiTextHolder
.
- Alle Superschnittstellen:
IMultiTextHolder
public interface IFluentMutableMultiTextHolder<FMMTH extends IFluentMutableMultiTextHolder<FMMTH>>
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
.removeText
(String text) Removes the text that equals the given text from the currentIFluentMutableMultiTextHolder
if the currentIFluentMutableMultiTextHolder
contains such a text.Removes all texts from the currentIFluentMutableMultiTextHolder
.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.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 currentIFluentMutableMultiTextHolder
if the currentIFluentMutableMultiTextHolder
contains such a text.- Parameter:
text
-- Gibt zurück:
- the current
IFluentMutableMultiTextHolder
.
-
removeTexts
FMMTH removeTexts()Removes all texts from the currentIFluentMutableMultiTextHolder
.- Gibt zurück:
- the current
IFluentMutableMultiTextHolder
.
-