public class LexiconDescription extends Object implements Serializable
Describes the content of the lexicon.
Constructor and Description |
---|
LexiconDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LexiconAttributes |
getAttributes()
Provides lexicon metadata.
|
String |
getName()
Name of the lexicon.
|
int |
hashCode() |
void |
setAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
|
void |
setName(String name)
Name of the lexicon.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LexiconDescription |
withAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
|
LexiconDescription |
withName(String name)
Name of the lexicon.
|
public String getName()
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
Name of the lexicon.
public void setName(String name)
Name of the lexicon.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name
- Name of the lexicon.
public LexiconDescription withName(String name)
Name of the lexicon.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9A-Za-z]{1,20}
name
- Name of the lexicon.
public LexiconAttributes getAttributes()
Provides lexicon metadata.
Provides lexicon metadata.
public void setAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
attributes
- Provides lexicon metadata.
public LexiconDescription withAttributes(LexiconAttributes attributes)
Provides lexicon metadata.
Returns a reference to this object so that method calls can be chained together.
attributes
- Provides lexicon metadata.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.