public abstract class CellUtil extends Object
Constructor and Description |
---|
CellUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getCellDescription(Cell cell)
Get a short description of a cell.
|
static Entity |
getFirstEntity(com.google.common.collect.ListMultimap<String,? extends Entity> entities)
Get the first entity from the given entities map (as contained e.g.
|
static ParameterValue |
getFirstParameter(Cell cell,
String parameterName)
Get the first parameter with the given name in the given cell.
|
static String |
getNotes(Cell cell)
Get the default documentation entry of a cell.
|
static ParameterValue |
getOptionalParameter(Cell cell,
String parameterName,
Value defaultValue)
Get the first parameter with the given name in the given cell.
|
static void |
setNotes(Cell cell,
String notes)
Set the default documentation entry of a cell.
|
public static Entity getFirstEntity(com.google.common.collect.ListMultimap<String,? extends Entity> entities)
entities
- the entities mapnull
if there is nonepublic static ParameterValue getFirstParameter(Cell cell, String parameterName)
cell
- the cellparameterName
- the parameter namenull
public static ParameterValue getOptionalParameter(Cell cell, String parameterName, Value defaultValue)
cell
- the cellparameterName
- the parameter namedefaultValue
- the default value to return if the parameter is not
specifiednull
public static String getCellDescription(Cell cell)
cell
- the cellpublic static String getNotes(Cell cell)
cell
- the cellnull
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a