Class TableCellUtil
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.TableCellUtil
-
public class TableCellUtil extends java.lang.ObjectUtility functions for table cells.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINTERN_PREFIXstatic java.lang.StringUSER_PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ISerializableComparablecreateTableCell(java.lang.String token)Returns an appropriate table cell for the specified string token.static java.lang.StringgetPropertyTypeCode(PropertyType propertyType)Returns the code of specified property type with prefixINTERN-orUSER-depending on whether it is internal name space or not.static booleanisEditiableProperty(PropertyType propertyType)
-
-
-
Field Detail
-
USER_PREFIX
public static final java.lang.String USER_PREFIX
- See Also:
- Constant Field Values
-
INTERN_PREFIX
public static final java.lang.String INTERN_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTableCell
public static ISerializableComparable createTableCell(java.lang.String token)
Returns an appropriate table cell for the specified string token. If it can be parsed as an integer number aIntegerTableCellis returned. If it can be parsed as a floating point number aDoubleTableCellis returned. Otherwise aStringTableCellis returned.
-
getPropertyTypeCode
public static java.lang.String getPropertyTypeCode(PropertyType propertyType)
Returns the code of specified property type with prefixINTERN-orUSER-depending on whether it is internal name space or not.
-
isEditiableProperty
public static boolean isEditiableProperty(PropertyType propertyType)
-
-