public abstract class NamedSentences extends Object implements IValidable
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
Group name.
|
protected List<Sentence> |
sentences
Sentences set.
|
| Constructor and Description |
|---|
NamedSentences(String name)
The object name.
|
| Modifier and Type | Method and Description |
|---|---|
NamedSentences |
addSentence(Sentence sentence)
Add a description.
|
String |
getName()
Get the name.
|
List<Sentence> |
getSentences()
Get the list of sentences.
|
NamedSentences |
setName(String name)
Set the name.
|
NamedSentences |
setSentences(List<Sentence> sentences)
Set the sentences list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateprotected String name
public NamedSentences(String name)
name - The name.public String getName()
public NamedSentences setName(String name)
name - The name.public NamedSentences setSentences(List<Sentence> sentences)
sentences - The sentences.public NamedSentences addSentence(Sentence sentence)
sentence - A sentence.Copyright © 2017. All rights reserved.