类 ItemFormat

java.lang.Object
com.gdxsoft.easyweb.script.display.ItemFormat

public class ItemFormat extends Object
  • 构造器详细资料

    • ItemFormat

      public ItemFormat()
  • 方法详细资料

    • init

      public void init(UserXItem uxi, int timeDiffMinutes)
    • getRefMultiValues

      public List<String> getRefMultiValues(String val)
    • getShowCellIndex

      public int getShowCellIndex(DTTable dt)
    • getShowCellFieldName

      public String getShowCellFieldName(DTTable dt)
    • getRefRows

      public List<org.apache.commons.lang3.tuple.Pair<String,DTRow>> getRefRows(String val)
    • getRefValue

      public String getRefValue(String val)
    • formatValue

      public String formatValue(Object val) throws Exception
      抛出:
      Exception
    • getName

      public String getName()
      返回:
      the name
    • setName

      public void setName(String name)
      参数:
      name - the name to set
    • getDataType

      public String getDataType()
      返回:
      the dataType
    • setDataType

      public void setDataType(String dataType)
      参数:
      dataType - the dataType to set
    • getFormat

      public String getFormat()
      返回:
      the format
    • setFormat

      public void setFormat(String format)
      参数:
      format - the format to set
    • getNumberScale

      public BigDecimal getNumberScale()
      返回:
      the numberScale
    • setNumberScale

      public void setNumberScale(BigDecimal numberScale)
      参数:
      numberScale - the numberScale to set
    • isDate

      public boolean isDate()
      返回:
      the isDate
    • setDate

      public void setDate(boolean isDate)
      参数:
      isDate - the isDate to set
    • getTimeDiffMinutes

      public int getTimeDiffMinutes()
      返回:
      the timeDiffMinutes
    • setTimeDiffMinutes

      public void setTimeDiffMinutes(int timeDiffMinutes)
      参数:
      timeDiffMinutes - the timeDiffMinutes to set
    • getDataFieldName

      public String getDataFieldName()
      返回:
      the dataFieldName
    • setDataFieldName

      public void setDataFieldName(String dataFieldName)
      参数:
      dataFieldName - the dataFieldName to set
    • getRefSql

      public String getRefSql()
      返回:
      the refSql
    • setRefSql

      public void setRefSql(String refSql)
      参数:
      refSql - the refSql to set
    • getRefKey

      public String getRefKey()
      返回:
      the refKey
    • setRefKey

      public void setRefKey(String refKey)
      参数:
      refKey - the refKey to set
    • getRefShow

      public String getRefShow()
      返回:
      the refShow
    • setRefShow

      public void setRefShow(String refShow)
      参数:
      refShow - the refShow to set
    • isRef

      public boolean isRef()
      返回:
      the isRef
    • setRef

      public void setRef(boolean isRef)
      参数:
      isRef - the isRef to set
    • isRefShowMulti

      public boolean isRefShowMulti()
      是否多个ID的匹配,例如:CAMP_OPT_TSG,CAMP_OPT_LQC,CAMP_OPT_ZQC
      返回:
      the refShowMulti
    • setRefShowMulti

      public void setRefShowMulti(boolean refShowMulti)
      是否多个ID的匹配,例如:CAMP_OPT_TSG,CAMP_OPT_LQC,CAMP_OPT_ZQC
      参数:
      refShowMulti - the refShowMulti to set
    • getItemValues

      public ItemValues getItemValues()
      返回:
      the itemValues
    • setItemValues

      public void setItemValues(ItemValues itemValues)
      参数:
      itemValues - the itemValues to set
    • setLang

      public void setLang(String lang)
    • getLang

      public String getLang()
      返回:
      the lang
    • getRow

      public DTRow getRow()
      返回:
      the row
    • getRefShowStyle

      public String getRefShowStyle()
      返回:
      the refShowStyle
    • setRefShowStyle

      public void setRefShowStyle(String refShowStyle)
      参数:
      refShowStyle - the refShowStyle to set