Interface WebTransactableUnit


  • public interface WebTransactableUnit
    WebTransactableUnit is used to represent the transaction info we set on a templateMetric/templateAttributeForm from a RWGrid or a textField from a RWFieldGroup.
    • Method Detail

      • setTransactionInfo

        void setTransactionInfo​(int transactionFlags,
                                int columnIndex)
        Set transactionInfo on this unit.
        Parameters:
        transactionFlags - int whether the unit is editable or not,@link EnumDSSXMLUnitTransactionFlags
        columnIndex - int, the column index in the transaction report this unit mapped to
      • getTransactionFlags

        int getTransactionFlags()
        Returns:
        the transactionFlags set on this unit
      • getColumnIndex

        int getColumnIndex()
        Returns:
        the the column index in the transaction report this unit mapped to
      • getInputControlProperties

        java.lang.String getInputControlProperties()
                                            throws WebObjectsException,
                                                   java.lang.IllegalArgumentException
        Throws:
        WebObjectsException
        java.lang.IllegalArgumentException
      • setInputControlProperties

        void setInputControlProperties​(java.lang.String properties)
      • getInputControl

        RWControl getInputControl()
        Returns:
        the inputControl assciated with this unit
      • getInputControlFormat

        WebFormat getInputControlFormat()
        Returns:
        the formating object of the inputControl object
      • getBaseFormDataType

        int getBaseFormDataType()
        Returns:
        the baseFormDataType of the transactionReport unit this unit mapped to.
      • getDataType

        int getDataType()
        Returns:
        the DataType of the transactionReport unit this unit mapped to.