public class Problem extends Object
| Constructor and Description |
|---|
Problem()
Instantiates a new problem.
|
Problem(String subject)
Instantiates a new problem.
|
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
getColumns()
Gets the columns.
|
List<Option> |
getOptions()
Gets the options.
|
String |
getSubject()
Gets the subject.
|
void |
setColumns(List<Column> columns)
Sets the columns.
|
void |
setOptions(List<Option> options)
Sets the options.
|
void |
setSubject(String subject)
Sets the subject.
|
String |
toString() |
Problem |
withColumns(List<Column> columns)
With columns.
|
Problem |
withOptions(List<Option> options)
With options.
|
Problem |
withSubject(String subject)
With subject.
|
public Problem()
public Problem(String subject)
subject - the subjectpublic String getSubject()
public void setSubject(String subject)
subject - The subjectpublic Problem withSubject(String subject)
subject - the subjectpublic void setColumns(List<Column> columns)
columns - The columnspublic Problem withColumns(List<Column> columns)
columns - the columnspublic void setOptions(List<Option> options)
options - The optionspublic Problem withOptions(List<Option> options)
options - the optionsCopyright © 2015. All rights reserved.