Class MultiColumnTableEx


  • public class MultiColumnTableEx
    extends MultiColumnTable
    ADAPTED !!! Copy of editor table version
    • Constructor Detail

      • MultiColumnTableEx

        public MultiColumnTableEx​(int rowCount,
                                  boolean[] complexColumnMarker)
        Parameters:
        rowCount -
        uniqueColumn -
      • MultiColumnTableEx

        public MultiColumnTableEx​(MultiColumnTable table)
        Parameters:
        rowCount -
        uniqueColumn -
    • Method Detail

      • getComplexColumnsMarker

        public boolean[] getComplexColumnsMarker()
        Returns:
        the complexColumnMarker[]
      • setComplexValue

        public void setComplexValue​(java.lang.String identifier,
                                    java.util.Map<java.lang.String,​java.lang.String> value)
        Add a complex value to this table
        Parameters:
        identifier -
        value - map
      • getComplexValue

        public java.util.Map<java.lang.String,​java.lang.String> getComplexValue​(java.lang.String identifier)
        Get a complex value from this table
        Parameters:
        identifier -
        Returns:
        value map
      • getCellValue

        public java.lang.String getCellValue​(int row,
                                             int i)
        Get the cell value.
        Parameters:
        row - The row.
        i - The column.
      • isComplexColumn

        public boolean isComplexColumn​(int coulumnIndex)
        If this method returns true for a column index, the value of this column is only a indirection key for a other value annotation.
        Parameters:
        coulumnIndex -
        Returns:
        true, if the column contains a complex value reference
      • decodeComplexColumnMarker

        public static boolean[] decodeComplexColumnMarker​(java.lang.String markerString)
        Parameters:
        string -
        Returns:
        string as boolean[] marker
      • encodeComplexColumnMarker

        public static java.lang.String encodeComplexColumnMarker​(boolean[] marker)
        Parameters:
        marker -
        Returns:
        boolean[] marker as String
      • convertDetailsToMap

        public static java.util.Map convertDetailsToMap​(java.util.List details)
        Convert the List of MAnnotationDetail to a Map.
        Parameters:
        details -
        Returns:
        Map with key value pairs of annptation Detail
      • parseEAnnotationTable

        public static MultiColumnTableEx parseEAnnotationTable​(java.util.List details,
                                                               java.util.List annos)
        Get annotation detail