Package com.mendix.webui.reporting
Class ColumnType
java.lang.Object
com.mendix.webui.reporting.ColumnType
Defines the type of a column in a report.
- 
Constructor SummaryConstructorsConstructorDescriptionColumnType(IMetaPrimitive metaPrimitive) Creates a report column type based on a meta-primitive.ColumnType(IMetaPrimitive.PrimitiveType primitiveType) Creates a report column type for a primitive type-primitive.ColumnType(DateTimeFormat dateTimeFormat) Creates a report column type for a date/time type with the specified format.ColumnType(EnumType enumType) Creates a report column type for an enumeration.ColumnType(Class<?> typeClass) Creates a report column type based on a Java type.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the date/time format of this column type, if it is defined.Returns the enumeration type of this column type, if it is an enumeraiuon.Returns the meta-primitive of the column type, if defined.Returns the primitive type of the column type.
- 
Constructor Details- 
ColumnTypeCreates a report column type based on a meta-primitive.- Parameters:
- metaPrimitive- the meta-primitive to get the column type from
 
- 
ColumnTypeCreates a report column type for a primitive type-primitive.- Parameters:
- primitiveType- the type to use
 
- 
ColumnTypeCreates a report column type for an enumeration.- Parameters:
- enumType- the enumeration type to use
 
- 
ColumnTypeCreates a report column type for a date/time type with the specified format.- Parameters:
- dateTimeFormat- the date/time format to use
 
- 
ColumnTypeCreates a report column type based on a Java type.- Parameters:
- typeClass- the Java type to analyze
 
 
- 
- 
Method Details- 
getMetaPrimitiveReturns the meta-primitive of the column type, if defined.- Returns:
- the meta-primitive if it is defined; null otherwise
 
- 
getPrimitiveTypeReturns the primitive type of the column type.- Returns:
- the primitive type
 
- 
getEnumTypeReturns the enumeration type of this column type, if it is an enumeraiuon.- Returns:
- the enumeration type if it is an enumeration; null otherwise
 
- 
getColumnFormatReturns the date/time format of this column type, if it is defined.- Returns:
- the date/time format if it is defined; null otherwise
 
 
-