Package jadex.bpmn.editor.model.legacy
Class MultiColumnTableEx
- java.lang.Object
-
- jadex.bpmn.editor.model.legacy.MultiColumnTable
-
- jadex.bpmn.editor.model.legacy.MultiColumnTableEx
-
public class MultiColumnTableEx extends MultiColumnTable
ADAPTED !!! Copy of editor table version
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bpmn.editor.model.legacy.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.Map
convertDetailsToMap(java.util.List details)
Convert the List of MAnnotationDetail to a Map.static boolean[]
decodeComplexColumnMarker(java.lang.String markerString)
static java.lang.String
encodeComplexColumnMarker(boolean[] marker)
java.lang.String
getCellValue(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 tableboolean
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.static MultiColumnTableEx
parseEAnnotationTable(java.util.List details, java.util.List annos)
Get annotation detailvoid
setComplexValue(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
-
-