public final class

Board

extends Object
implements Comparable<Board>
java.lang.Object
   ↳ chan.content.model.Board

Class Overview

Model containing board data: board name, title and description.

Summary

Public Constructors
Board(String boardName, String title)

Constructor for Board.

Board(String boardName, String title, String description)

Constructor for Board.

Public Methods
int compareTo(Board another)
String getBoardName()

Returns name of this board.

String getDescription()

Returns description of this board.

String getTitle()

Returns title of this board.

[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Public Constructors

public Board (String boardName, String title)

Constructor for Board.

Parameters
boardName String: Board name.
title String: Board title.

public Board (String boardName, String title, String description)

Constructor for Board.

Parameters
boardName String: Board name.
title String: Board title.
description String: Board description.

Public Methods

public int compareTo (Board another)

Parameters
another Board
Returns
int

public String getBoardName ()

Returns name of this board. For example b.

Returns
String

public String getDescription ()

Returns description of this board.

Returns
String

public String getTitle ()

Returns title of this board. For example Random.

Returns
String