Package overit.geocall.lang
Class TeacherDuty
java.lang.Object
overit.geocall.lang.TeacherDuty
- All Implemented Interfaces:
Serializable
This class manages the TeacherDuty, with its own name and dictionary
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeacherDuty(String name, String lang, String tableSuffix, LangType type, String belongingLayer, Identity id, int maxDim) Constructor forTeacherDuty -
Method Summary
Modifier and TypeMethodDescriptionReturns the packageReturns the factory idReturns the package for the user currently logged in the applicationgetLang()Returns the languageintReturns the maximum dimension of the translations cachegetName()Returns the nameReturns the table suffixReturns theTeachergetType()Returns theLangType
-
Field Details
-
name
-
lang
-
tableSuffix
-
type
-
belongingLayer
-
identityLayer
-
factory
-
maxDim
protected int maxDim
-
-
Constructor Details
-
TeacherDuty
public TeacherDuty(String name, String lang, String tableSuffix, LangType type, String belongingLayer, Identity id, int maxDim) Constructor forTeacherDuty- Parameters:
name- Name of the teacherlang- Name of the dictionary that must be used, it can be extracted from theIdentitytableSuffix- Suffix used for the names of the foreign tables, the ones that contains the fields in foreign languagestype- TheLangTypethat contains the configuration for the type of translations (full or partial) or the type of the shortcutsbelongingLayer- The applicative packageid- the IdentitymaxDim- Maximum dimension of the translations cache
-
-
Method Details
-
getTeacher
Returns theTeacher- Returns:
- The
Teacher
-
getName
Returns the name- Returns:
- The name
-
getLang
Returns the language- Returns:
- The language
-
getTableSuffix
Returns the table suffix- Returns:
- The table suffix
-
getType
Returns theLangType- Returns:
- The
LangType
-
getBelongingLayer
Returns the package- Returns:
- The package
-
getIdentityLayer
Returns the package for the user currently logged in the application- Returns:
- The package associated to the user
-
getFactory
Returns the factory id- Returns:
- The factory id
-
getMaxDim
public int getMaxDim()Returns the maximum dimension of the translations cache- Returns:
- The maximum dimension of the translations cache
-