public static class IlrBOMVocabularyBuilder.Term
extends java.lang.Object
| Constructor and Description |
|---|
IlrBOMVocabularyBuilder.Term(java.lang.String label)
This constructor creates a Term for the given label
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefiniteArticle()
This method returns the definite singular article associated to this term if any.
|
java.lang.String |
getDefinitePluralArticle()
This method returns the definite plural article associated to this term if any.
|
java.lang.String |
getDemonstrativeArticle()
This method returns the demonstrative singular article associated to this term if any.
|
java.lang.String |
getDemonstrativeEachArticle()
This method returns the demonstrative 'each' article associated to this term if any.
|
java.lang.String |
getDemonstrativePluralArticle()
This method returns the demonstrative plural article associated to this term if any.
|
IlrGender |
getGender()
This method returns the gender associated to this term if any.
|
java.lang.String |
getIndefiniteArticle()
This method returns the indefinite singular article associated to this term if any.
|
java.lang.String |
getIndefinitePluralArticle()
This method returns the indefinite plural article associated to this term if any.
|
java.lang.String |
getLabel()
This method returns the term label.
|
java.lang.String |
getPluralLabel()
This method returns the plural label associated to this term if any.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
This method returns all properties associated to this term.
|
java.lang.String |
getQuantitativeArticle()
This method returns the quantitative singular article associated to this term if any.
|
java.lang.String |
getQuantitativePluralArticle()
This method returns the quantitative plural article associated to this term if any.
|
boolean |
hasArticle()
This method returns true if at least one specific article has been defined for this term.
|
void |
setDefiniteArticle(java.lang.String article)
This method sets the definite singular article associated to this term.
|
void |
setDefinitePluralArticle(java.lang.String article)
This method sets the definite plural article associated to this term.
|
void |
setDemonstrativeArticle(java.lang.String article)
This method sets the demonstrative singular article associated to this term.
|
void |
setDemonstrativeEachArticle(java.lang.String article)
This method sets the demonstrative 'each' article associated to this term.
|
void |
setDemonstrativePluralArticle(java.lang.String article)
This method sets the demonstrative plural article associated to this term.
|
void |
setGender(IlrGender gender)
This method set the gender associated to this term.
|
void |
setIndefiniteArticle(java.lang.String article)
This method sets the indefinite singular article associated to this term.
|
void |
setIndefinitePluralArticle(java.lang.String article)
This method sets the indefinite plural article associated to this term.
|
void |
setPluralLabel(java.lang.String pluralLabel)
This method set the plural label associated to this term if any.
|
void |
setProperties(IlrBOMVocabularyBuilder.PropertyMap props)
This method assign a set of properties to this term.
|
void |
setQuantitativeArticle(java.lang.String article)
This method sets the quantitative singular article associated to this term.
|
void |
setQuantitativePluralArticle(java.lang.String article)
This method sets the quantitative plural article associated to this term.
|
public IlrBOMVocabularyBuilder.Term(java.lang.String label)
label - the term label. Cannot be null.public java.lang.String getLabel()
public IlrGender getGender()
public void setGender(IlrGender gender)
gender - a Gender object to set to this termpublic java.lang.String getPluralLabel()
public void setPluralLabel(java.lang.String pluralLabel)
pluralLabel - the pluralpublic java.lang.String getDefiniteArticle()
public void setDefiniteArticle(java.lang.String article)
article - the articlepublic java.lang.String getDefinitePluralArticle()
public void setDefinitePluralArticle(java.lang.String article)
article - the articlepublic java.lang.String getIndefiniteArticle()
public void setIndefiniteArticle(java.lang.String article)
article - the articlepublic java.lang.String getIndefinitePluralArticle()
public void setIndefinitePluralArticle(java.lang.String article)
article - the articlepublic java.lang.String getQuantitativeArticle()
public void setQuantitativeArticle(java.lang.String article)
article - the articlepublic java.lang.String getQuantitativePluralArticle()
public void setQuantitativePluralArticle(java.lang.String article)
article - the articlepublic java.lang.String getDemonstrativeArticle()
public void setDemonstrativeArticle(java.lang.String article)
article - the articlepublic java.lang.String getDemonstrativePluralArticle()
public void setDemonstrativePluralArticle(java.lang.String article)
article - the articlepublic java.lang.String getDemonstrativeEachArticle()
public void setDemonstrativeEachArticle(java.lang.String article)
article - the articlepublic boolean hasArticle()
public void setProperties(IlrBOMVocabularyBuilder.PropertyMap props)
props - a property mappublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
© Copyright IBM Corp. 1987, 2017