|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.util.overview.node.BioWellNameGenerator
public class BioWellNameGenerator
Name generator implementation for biomaterial items that are located on a biowell. This name generator is used when loading biomaterial on a bioplate.
Field Summary | |
---|---|
private BioWell |
currentWell
|
Constructor Summary | |
---|---|
BioWellNameGenerator()
Create a new biowell name generator. |
Method Summary | |
---|---|
private String |
getCurrentNodeName()
|
private String |
getCurrentTitlePrefix()
|
String |
getDeniedNodeName(Node parentNode)
Generate a name for a node when the item exists, but the current user doesn't have permission to access read the item. |
String |
getDeniedNodeTitle(Node parentNode)
Generate a title for a node when the item exists, but the current user doesn't have permission to access read the item. |
String |
getMissingNodeName(Node parentNode)
Generate a name for a node when the item is missing. |
String |
getMissingNodeTitle(Node parentNode)
Generate a title for a node when the item is missing. |
String |
getNodeName(MeasuredBioMaterial item,
Node parentNode)
Generate a name for the new node that is about to be created. |
String |
getNodeTitle(MeasuredBioMaterial item,
Node parentNode)
Generate a title for the new node that is about to be created. |
void |
setCurrentWell(BioWell well)
Set the well we are currently working with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private BioWell currentWell
Constructor Detail |
---|
public BioWellNameGenerator()
Method Detail |
---|
public String getNodeTitle(MeasuredBioMaterial item, Node parentNode)
NodeNameGenerator
getNodeTitle
in interface NodeNameGenerator<MeasuredBioMaterial>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
public String getNodeName(MeasuredBioMaterial item, Node parentNode)
NodeNameGenerator
getNodeName
in interface NodeNameGenerator<MeasuredBioMaterial>
item
- The item that is attached to the node (never null)parentNode
- The parent node of the new node
public String getMissingNodeTitle(Node parentNode)
NodeNameGenerator
getMissingNodeTitle
in interface NodeNameGenerator<MeasuredBioMaterial>
parentNode
- The parent node
public String getMissingNodeName(Node parentNode)
NodeNameGenerator
getMissingNodeName
in interface NodeNameGenerator<MeasuredBioMaterial>
parentNode
- The parent node
public String getDeniedNodeTitle(Node parentNode)
NodeNameGenerator
getDeniedNodeTitle
in interface NodeNameGenerator<MeasuredBioMaterial>
parentNode
- The parent node
public String getDeniedNodeName(Node parentNode)
NodeNameGenerator
getDeniedNodeName
in interface NodeNameGenerator<MeasuredBioMaterial>
parentNode
- The parent node
public void setCurrentWell(BioWell well)
well
- The current biowellprivate String getCurrentNodeName()
private String getCurrentTitlePrefix()
|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |