public class AdditionalInfo extends Object
SubstitutionScheduleDay.addMessage(String) might be more appropriate.| Constructor and Description |
|---|
AdditionalInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getText()
Get the content text of this additional info.
|
String |
getTitle()
Get the title of this additional info
|
int |
hashCode() |
boolean |
hasInformation()
Find out if this AdditionalInfo contains urgent information the user of an app should be notified about.
|
void |
setHasInformation(boolean hasInformation)
Set if this AdditionalInfo contains urgent information the user of an app should be notified about.
|
void |
setText(String text)
Set the content text of this additional info.
|
void |
setTitle(String title)
Set the title of this additional info.
|
@NotNull public String getTitle()
public void setTitle(@NotNull
String title)
title - the title to set@NotNull public String getText()
<b>bold</b> and <i>italic</i>.public void setText(@NotNull
String text)
<b>bold</b> and <i>italic</i>. Required.text - the text to setpublic boolean hasInformation()
public void setHasInformation(boolean hasInformation)
hasInformation - boolean indicating if this AdditionalInfo contains urgent information