Class GorodParams
java.lang.Object
ru.bitel.bgbilling.modules.gorod.server.bean.GorodParams
public class GorodParams
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_PATTERN
-
Constructor Summary
Constructors Constructor Description GorodParams(Preferences moduleSetup)
-
Method Summary
Modifier and Type Method Description java.lang.String
getDateFormat()
java.lang.String
getDefaultAddress()
long
getGroupMask()
int
getHeaderAccount(int key)
Preferences
getModuleSetup()
int
getParamAddress()
int
getParamFullName()
java.lang.String
getRegisterEncoding(java.lang.String tagId)
Возвращает кодировку реестра по коду тегаjava.lang.String
getRegisterPattern(java.lang.String tagId)
Возвращает шаблон реестра по коду тегаjava.lang.String
getSummFunction()
ParameterMap
getTagAccounts()
boolean
isDropGFromAddress()
boolean
isNote()
boolean
isNoteDate()
boolean
isReplaceTitleToCid()
boolean
isRestGreaterZero()
void
setDateFormat(java.lang.String dateFormat)
void
setDefaultAddress(java.lang.String defaultAddress)
void
setDropGFromAddress(boolean dropGFromAddress)
void
setGroupMask(long groupMask)
void
setModuleSetup(Preferences moduleSetup)
void
setNote(boolean isNote)
void
setNoteDate(boolean isNoteDate)
void
setParamAddress(int paramAddress)
void
setParamFullName(int paramFullName)
void
setReplaceTitleToCid(boolean isReplaceTitleToCid)
void
setRestGreaterZero(boolean isRestGreaterZero)
void
setSummFunction(java.lang.String summFunction)
void
setTagAccounts(ParameterMap tagAccounts)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_PATTERN
public static final java.lang.String DEFAULT_PATTERN- See Also:
- Constant Field Values
-
-
Constructor Details
-
GorodParams
-
-
Method Details
-
getModuleSetup
-
setModuleSetup
-
getParamAddress
public int getParamAddress() -
setParamAddress
public void setParamAddress(int paramAddress) -
getParamFullName
public int getParamFullName() -
setParamFullName
public void setParamFullName(int paramFullName) -
getGroupMask
public long getGroupMask() -
setGroupMask
public void setGroupMask(long groupMask) -
getDefaultAddress
public java.lang.String getDefaultAddress() -
setDefaultAddress
public void setDefaultAddress(java.lang.String defaultAddress) -
isNote
public boolean isNote() -
setNote
public void setNote(boolean isNote) -
isNoteDate
public boolean isNoteDate() -
setNoteDate
public void setNoteDate(boolean isNoteDate) -
isRestGreaterZero
public boolean isRestGreaterZero() -
setRestGreaterZero
public void setRestGreaterZero(boolean isRestGreaterZero) -
isReplaceTitleToCid
public boolean isReplaceTitleToCid() -
setReplaceTitleToCid
public void setReplaceTitleToCid(boolean isReplaceTitleToCid) -
getTagAccounts
-
setTagAccounts
-
isDropGFromAddress
public boolean isDropGFromAddress() -
setDropGFromAddress
public void setDropGFromAddress(boolean dropGFromAddress) -
getHeaderAccount
public int getHeaderAccount(int key) -
getSummFunction
public java.lang.String getSummFunction() -
setSummFunction
public void setSummFunction(java.lang.String summFunction) -
getDateFormat
public java.lang.String getDateFormat() -
setDateFormat
public void setDateFormat(java.lang.String dateFormat) -
getRegisterPattern
public java.lang.String getRegisterPattern(java.lang.String tagId)Возвращает шаблон реестра по коду тега- Parameters:
tagId
-- Returns:
-
getRegisterEncoding
public java.lang.String getRegisterEncoding(java.lang.String tagId)Возвращает кодировку реестра по коду тега- Parameters:
tagId
- код тега- Returns:
- кодировка
-