Package com._1c.g5.v8.dt.ql.ui
Class QlGeneratorMultiLangProposals.Proposals
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.ui.QlGeneratorMultiLangProposals.Proposals
-
- Enclosing class:
- QlGeneratorMultiLangProposals
public static class QlGeneratorMultiLangProposals.Proposals extends Object
Contains names for proposals.
Gets methods for change name.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName(boolean isRussian)
Get namevoid
setDualName(String name)
Change both names.void
setName(String name)
Change English namevoid
setNameRu(String nameRu)
Change Russian name
-
-
-
Constructor Detail
-
Proposals
public Proposals()
Empty initializing
-
Proposals
public Proposals(String name, String nameRu)
Initializing proposal- Parameters:
name
- - English variantnameRu
- - Russian varian
-
Proposals
public Proposals(String dualName)
Initializing proposal- Parameters:
dualName
- Russian and English variant
-
-
Method Detail
-
getName
public String getName(boolean isRussian)
Get name- Parameters:
isRussian
- language flag, ifisRussian == true
then Russian name will be returned- Returns:
- actual name of this proposal
-
setName
public void setName(String name)
Change English name- Parameters:
name
-
-
setNameRu
public void setNameRu(String nameRu)
Change Russian name- Parameters:
nameRu
-
-
setDualName
public void setDualName(String name)
Change both names.
Use it whenname.equals(nameRu)
- Parameters:
name
-
-
-