Package jadex.bpmn
Class MultiColumnTableEx
- java.lang.Object
-
- jadex.bpmn.MultiColumnTable
-
- jadex.bpmn.MultiColumnTableEx
-
public class MultiColumnTableEx extends MultiColumnTable
ADAPTED !!! Copy of editor table version
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bpmn.MultiColumnTable
MultiColumnTable.MultiColumnTableRow
-
-
Constructor Summary
Constructors Constructor Description MultiColumnTableEx(int rowCount, boolean[] complexColumnMarker)MultiColumnTableEx(MultiColumnTable table)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.MapconvertDetailsToMap(java.util.List details)Convert the List of MAnnotationDetail to a Map.static boolean[]decodeComplexColumnMarker(java.lang.String markerString)static java.lang.StringencodeComplexColumnMarker(boolean[] marker)java.lang.StringgetCellValue(int row, int i)Get the cell value.boolean[]getComplexColumnsMarker()java.util.Map<java.lang.String,java.lang.String>getComplexValue(java.lang.String identifier)Get a complex value from this tablebooleanisComplexColumn(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.static MultiColumnTableExparseEAnnotationTable(java.util.List details, java.util.List annos)Get annotation detailvoidsetComplexValue(java.lang.String identifier, java.util.Map<java.lang.String,java.lang.String> value)Add a complex value to this table
-
-
-
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
-
-