Class Board
Object
Board
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addMessage
(User aUser, String message) boolean
getBody()
The body to be displayed on the screen.getId()
getImage()
Returns an url pointing to an image.The title as visible on the screen.getName()
getOwner()
Retrieves the owner, the administrator, of this object.getRoom()
The room in which this message board resides.int
hashCode()
void
setCreation
(LocalDateTime creation) void
setDescription
(String description) void
void
void
Sets the owner, the administrator, of this object.void
Sets the room in which this message board resides.toString()
-
Constructor Details
-
Board
public Board() -
Board
-
Board
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getDescription
-
setDescription
-
getCreation
-
setCreation
-
getOwner
-
setOwner
Description copied from interface:Ownage
Sets the owner, the administrator, of this object. -
getRoom
-
setRoom
Sets the room in which this message board resides.- Parameters:
room
- The room. Cannot be null.
-
hashCode
-
equals
-
toString
-
addMessage
-
getMainTitle
Description copied from interface:DisplayInterface
The title as visible on the screen.- Specified by:
getMainTitle
in interfaceDisplayInterface
- Returns:
- Throws:
MudException
-
getImage
Description copied from interface:DisplayInterface
Returns an url pointing to an image.- Specified by:
getImage
in interfaceDisplayInterface
- Returns:
- Throws:
MudException
-
getBody
Description copied from interface:DisplayInterface
The body to be displayed on the screen. In general the first letter of the body is converted to an image on the client side.- Specified by:
getBody
in interfaceDisplayInterface
- Returns:
- Throws:
MudException
-