public abstract class GrammaticalTerm extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GrammaticalTerm.TermType |
| Modifier | Constructor and Description |
|---|---|
protected |
GrammaticalTerm(LanguageDeclension declension,
String name) |
| Modifier and Type | Method and Description |
|---|---|
LanguageDeclension |
getDeclension()
Get the declension associated with the language.
|
String |
getName() |
abstract LanguageStartsWith |
getStartsWith()
The "startsWith" is based on the next term in the sequence, not the next noun
|
protected abstract GrammaticalTerm.TermType |
getTermType() |
abstract boolean |
isCopiedFromDefault() |
protected abstract boolean |
validate(String name)
After all of the parsing has been done for a noun or modifier, "fix up"
any missing values needed.
|
protected GrammaticalTerm(LanguageDeclension declension, String name)
public String getName()
protected abstract boolean validate(String name)
name - the name of the termprotected abstract GrammaticalTerm.TermType getTermType()
public abstract LanguageStartsWith getStartsWith()
public abstract boolean isCopiedFromDefault()
public LanguageDeclension getDeclension()
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.