Class ReportObjectField


  • public class ReportObjectField
    extends java.lang.Object
    Object field, used in header the summary of ReportObject
    Author:
    Radek Stepan
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportObjectField​(java.lang.String objectType, java.lang.String fieldName, java.lang.Object fieldValue, java.lang.String fieldDisplayerPage, boolean doNotTruncate, boolean escapeXml)
      Constructor
      ReportObjectField​(java.lang.String objectType, java.lang.String fieldName, java.lang.Object fieldValue, java.lang.String fieldDisplayerPage, boolean doNotTruncate, boolean escapeXml, java.lang.String label)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDisplayerPage()
      Return path to a custom displayer
      java.lang.String getDisplayName()
      Get the label to display in the webapp for this field.
      boolean getDoNotTruncate()  
      boolean getEscapeXml()  
      java.lang.String getName()
      Get field name
      java.lang.String getPathString()
      Get a path string to fetch field descriptions
      java.lang.Object getValue()
      Get field value
      boolean getValueHasDisplayer()
      Does the field have a custom displayer defined for the value?
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportObjectField

        public ReportObjectField​(java.lang.String objectType,
                                 java.lang.String fieldName,
                                 java.lang.Object fieldValue,
                                 java.lang.String fieldDisplayerPage,
                                 boolean doNotTruncate,
                                 boolean escapeXml)
        Constructor
        Parameters:
        objectType - unqualified class name
        fieldName - String
        fieldValue - Object
        fieldDisplayerPage - String
        doNotTruncate - bool
        escapeXml - bool
      • ReportObjectField

        public ReportObjectField​(java.lang.String objectType,
                                 java.lang.String fieldName,
                                 java.lang.Object fieldValue,
                                 java.lang.String fieldDisplayerPage,
                                 boolean doNotTruncate,
                                 boolean escapeXml,
                                 java.lang.String label)
        Constructor
        Parameters:
        objectType - unqualified class name
        fieldName - String
        fieldValue - Object
        fieldDisplayerPage - String
        doNotTruncate - bool
        escapeXml - bool
        label - Meat-readable label.
    • Method Detail

      • getDisplayName

        public java.lang.String getDisplayName()
        Get the label to display in the webapp for this field. If there is no label, returns the name of the field instead.
        Returns:
        A human readable label.
      • getName

        public java.lang.String getName()
        Get field name
        Returns:
        String
      • getValue

        public java.lang.Object getValue()
        Get field value
        Returns:
        Object
      • getDoNotTruncate

        public boolean getDoNotTruncate()
        Returns:
        true if do not truncate
      • getEscapeXml

        public boolean getEscapeXml()
        Returns:
        true if escape xml
      • getDisplayerPage

        public java.lang.String getDisplayerPage()
        Return path to a custom displayer
        Returns:
        String
      • getValueHasDisplayer

        public boolean getValueHasDisplayer()
        Does the field have a custom displayer defined for the value?
        Returns:
        boolean
      • getPathString

        public java.lang.String getPathString()
        Get a path string to fetch field descriptions
        Returns:
        String