public class CorpusConfigInfo
extends java.lang.Object
A corpus config info object contains a configuration name and brief description of the configuration.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description
Corpus configuration description.
|
protected java.lang.String |
name
Corpus configuration name.
|
Constructor and Description |
---|
CorpusConfigInfo()
Create empty corpus config info.
|
CorpusConfigInfo(java.lang.String name,
java.lang.String description)
Create populated corpus config info.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get description.
|
java.lang.String |
getName()
Get name.
|
void |
setDescription(java.lang.String description)
Set description.
|
void |
setName(java.lang.String name)
Set name.
|
java.lang.String |
toString()
Return string version of corpus config info.
|
protected java.lang.String name
protected java.lang.String description
public CorpusConfigInfo()
public CorpusConfigInfo(java.lang.String name, java.lang.String description)
name
- The configuration name.description
- The configuration description,public java.lang.String getName()
public void setName(java.lang.String name)
name
- Corpus config name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- Corpus config description.public java.lang.String toString()
toString
in class java.lang.Object