Class Board
Object
Board
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddMessage(User aUser, String message) booleangetBody()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.inthashCode()voidsetCreation(LocalDateTime creation) voidsetDescription(String description) voidvoidvoidSets the owner, the administrator, of this object.voidSets 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:OwnageSets 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:DisplayInterfaceThe title as visible on the screen.- Specified by:
getMainTitlein interfaceDisplayInterface- Returns:
- Throws:
MudException
-
getImage
Description copied from interface:DisplayInterfaceReturns an url pointing to an image.- Specified by:
getImagein interfaceDisplayInterface- Returns:
- Throws:
MudException
-
getBody
Description copied from interface:DisplayInterfaceThe 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:
getBodyin interfaceDisplayInterface- Returns:
- Throws:
MudException
-