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 SummaryFields Modifier and Type Field Description static java.lang.StringINTERN_PREFIXstatic java.lang.StringUSER_PREFIX
 - 
Method SummaryAll 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_PREFIXpublic static final java.lang.String USER_PREFIX - See Also:
- Constant Field Values
 
 - 
INTERN_PREFIXpublic static final java.lang.String INTERN_PREFIX - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createTableCellpublic 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.
 - 
getPropertyTypeCodepublic 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.
 - 
isEditiablePropertypublic static boolean isEditiableProperty(PropertyType propertyType) 
 
- 
 
-