Package nl.vpro.domain
Interface TypedText
- All Superinterfaces:
CharSequence
,Comparable<TypedText>
,Supplier<String>
,Typable<TextualType>
- All Known Subinterfaces:
OwnedText
- All Known Implementing Classes:
AbstractOwnedText
,AbstractOwnedTextEntity
,BasicOwnedText
,BasicTypedText
,Description
,DescriptionTranslation
,DescriptionUpdate
,ScheduleEventDescription
,ScheduleEventTitle
,Title
,TitleTranslation
,TitleUpdate
public interface TypedText
extends Typable<TextualType>, Supplier<String>, Comparable<TypedText>, CharSequence
A String with a type (
TextualType
)- Since:
- 5.3
- Author:
- Michiel Meeuwissen
-
Method Summary
Modifier and TypeMethodDescriptiondefault char
charAt
(int index) default int
default String
get()
default boolean
isEmpty()
default int
length()
default boolean
void
default CharSequence
subSequence
(int start, int end) Methods inherited from interface java.lang.CharSequence
chars, codePoints, toString
-
Method Details
-
set
-
get
String get() -
mayContainNewLines
default boolean mayContainNewLines() -
compareTo
- Specified by:
compareTo
in interfaceComparable<TypedText>
-
length
default int length()- Specified by:
length
in interfaceCharSequence
-
charAt
default char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
fullString
-
isEmpty
default boolean isEmpty()- Specified by:
isEmpty
in interfaceCharSequence
-