Class BarListDesc

    • Method Detail

      • serialize

        public DataField serialize​(DataField field,
                                   DataRow dr)
        Convert from external (target) type value to internal (source) type value "going down". In this case, we don't convert the value at all. We take the value and build the description column.
        Specified by:
        serialize in interface IConversionRule
      • deserialize

        public DataField deserialize​(DataField field,
                                     DataRow dr)
        Convert from internal (source) type value to external (target) type value "going up". In this case, we don't convert the value at all. We take the value and build the description column.
        Specified by:
        deserialize in interface IConversionRule
      • setDesc

        public void setDesc​(DataField field,
                            DataRow dr)
        Use the code column's value to get and format the description column's value.