Package org.intermine.web.struts
Class ObjectTrailController.TrailElement
- java.lang.Object
-
- org.intermine.web.struts.ObjectTrailController.TrailElement
-
- Enclosing class:
- ObjectTrailController
public static final class ObjectTrailController.TrailElement extends java.lang.Object
Bean passed to JSP to represent an element in the trail.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementId()
Return the table identifier if isTable==true.java.lang.String
getLabel()
Get the label for this trail element.int
getObjectId()
Get the object id for this trail element.java.lang.String
getTrail()
Get the trail URL parameter for this trail element.java.lang.String
getType()
Return whether or not this trail element refers to a table.java.lang.String
toString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Return whether or not this trail element refers to a table.- Returns:
- true if this element refers to a table
-
getElementId
public java.lang.String getElementId()
Return the table identifier if isTable==true. If isTable==false this method will return null.- Returns:
- table identifier
-
getTrail
public java.lang.String getTrail()
Get the trail URL parameter for this trail element.- Returns:
- trail URL parameter for the trail element
-
getLabel
public java.lang.String getLabel()
Get the label for this trail element.- Returns:
- label for the trail element
-
getObjectId
public int getObjectId()
Get the object id for this trail element.- Returns:
- the object id for the trail element
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-