Class TableStructure
java.lang.Object
org.faktorips.runtime.model.type.ModelElement
org.faktorips.runtime.model.table.TableStructure
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()protected MessagesHelperprotected StringgetMessageKey(DocumentationKind messageType) Class<?>getValue(Object tableRow, TableColumn column) This method retrieves the value of a table cell in a given row and column.toString()Methods inherited from class org.faktorips.runtime.model.type.ModelElement
createMessageHelper, getDeprecation, getDescription, getDocumentation, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getName, getRelevantProductObject, getRelevantProductObject, invokeField, invokeMethod, isDeprecated
-
Field Details
-
KIND_NAME
- See Also:
-
-
Constructor Details
-
TableStructure
-
-
Method Details
-
getKind
- Returns:
- TableStructureKind indicating if the table is single content or multiple content
-
getColumns
- Returns:
- columns of the table as
TableColumn
-
getColumn
- Parameters:
columnName- name of the column in table- Returns:
- TableColumn of the column with the given name
-
getColumnNames
- Returns:
- names of all columns
-
getValue
This method retrieves the value of a table cell in a given row and column.- Parameters:
tableRow- an instance of the table row class matching the kind of the tableObjectClasscolumn- model of the table column- Returns:
- the value of the table cell at in given tableRow and column
- See Also:
-
getValue
- See Also:
-
getValues
- Returns:
- a list of all values in tableRow
- See Also:
-
getMessageHelper
- Specified by:
getMessageHelperin classModelElement
-
getMessageKey
- Specified by:
getMessageKeyin classModelElement
-
toString
- Overrides:
toStringin classModelElement
-
getTableObjectClass
-
getTableRowClass
-