|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.clients.web.plugins.BioMaterialEventSourceFormatter
public class BioMaterialEventSourceFormatter
Formatter to handle BioMaterialEventSource
items.
It will print the name + used quantity from the source item.
Field Summary | |
---|---|
private String |
nullValue
|
Constructor Summary | |
---|---|
BioMaterialEventSourceFormatter()
Create a new formatter. |
|
BioMaterialEventSourceFormatter(String nullValue)
Create a new formatter. |
Method Summary | |
---|---|
String |
format(BioMaterialEventSource eventSource)
Format a value by converting it to a string. |
BioMaterialEventSource |
parseString(String value)
Parse a string and return a value of the correct type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String nullValue
Constructor Detail |
---|
public BioMaterialEventSourceFormatter()
public BioMaterialEventSourceFormatter(String nullValue)
nullValue
- The string to return if a null item is
passed to #format(Nameable)
Method Detail |
---|
public String format(BioMaterialEventSource eventSource)
Formatter
format
in interface Formatter<BioMaterialEventSource>
eventSource
- The value to format
public BioMaterialEventSource parseString(String value)
Formatter
parseString
in interface Formatter<BioMaterialEventSource>
value
- The string to parse
UnsupportedOperationException
- Always
|
3.2.4: 2013-12-06 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |