Class InlineList


  • public class InlineList
    extends java.lang.Object
    Author:
    I would say probably Radek
    • Constructor Detail

      • InlineList

        public InlineList​(java.util.Set<java.lang.Object> listOfListObjects,
                          java.lang.String columnToDisplayBy,
                          java.lang.Boolean showLinksToObjects,
                          java.lang.String path,
                          java.lang.Integer lineLength)
        Set a set ;) of Objects by turning them into InterMineObjects and then InlineListObjects
        Parameters:
        listOfListObjects - received from ReportObject resolver
        columnToDisplayBy - No idea - I'm just making checkstyle happy.
        showLinksToObjects - No idea - I'm just making checkstyle happy.
        path - No idea - I'm just making checkstyle happy.
        lineLength - No idea - I'm just making checkstyle happy.
    • Method Detail

      • getItems

        public java.util.Set<InlineListObject> getItems()
        Returns:
        a set of InlineListObjects
      • getLength

        public java.lang.Integer getLength()
        Returns:
        the length of the strings in this list combined, delimiters included!
      • getSize

        public int getSize()
        Returns:
        a size of the collection so we can determine if we are outputting a last item in the JSP etc.
      • getShowLinksToObjects

        public java.lang.Boolean getShowLinksToObjects()
        Returns:
        are we to show links to the objects'? report page? the JSP asks...
      • getLineLength

        public java.lang.Integer getLineLength()
        Returns:
        total character length (spaces, commas included) to show
        See Also:
        JavaScript (jQuery) expects non set values to be "0"
      • getPath

        public java.lang.String getPath()
        Returns:
        String path so that ReportObject can resolve the actual Objects
      • setDescriptor

        public void setDescriptor​(FieldDescriptor fd)
        Set FieldDescriptor so we can work with placements
        Parameters:
        fd - FieldDescriptor set by ReportObject on init
      • getDescriptor

        public FieldDescriptor getDescriptor()
        Returns:
        FieldDecriptor
      • getPrefix

        public java.lang.String getPrefix()
        Returns:
        String of everything before the first dot
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object