|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.specrunner.source.text.NamedSentences
public abstract class NamedSentences
Any object with a name as a group of sentences.
| Field Summary | |
|---|---|
protected String |
name
Group name. |
protected List<Sentence> |
sentences
Sentences set. |
| Constructor Summary | |
|---|---|
NamedSentences(String name)
The object name. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.specrunner.source.text.IValidable |
|---|
validate |
| Field Detail |
|---|
protected String name
protected List<Sentence> sentences
| Constructor Detail |
|---|
public NamedSentences(String name)
name - The name.| Method Detail |
|---|
public String getName()
public NamedSentences setName(String name)
name - The name.
public List<Sentence> getSentences()
public NamedSentences setSentences(List<Sentence> sentences)
sentences - The sentences.
public NamedSentences addSentence(Sentence sentence)
sentence - A sentence.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||