Package org.intermine.web.logic.results
Class ReportObjectField
- java.lang.Object
-
- org.intermine.web.logic.results.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)
ConstructorReportObjectField(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 displayerjava.lang.String
getDisplayName()
Get the label to display in the webapp for this field.boolean
getDoNotTruncate()
boolean
getEscapeXml()
java.lang.String
getName()
Get field namejava.lang.String
getPathString()
Get a path string to fetch field descriptionsjava.lang.Object
getValue()
Get field valueboolean
getValueHasDisplayer()
Does the field have a custom displayer defined for the value?
-
-
-
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 namefieldName
- StringfieldValue
- ObjectfieldDisplayerPage
- StringdoNotTruncate
- boolescapeXml
- 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 namefieldName
- StringfieldValue
- ObjectfieldDisplayerPage
- StringdoNotTruncate
- boolescapeXml
- boollabel
- 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
-
-