public class FieldReportCSV extends Object implements Comparable<FieldReportCSV>
This class also knows how to get a data from a elasticsearch document - this class is like a reflection elasticsearch field.
Constructor and Description |
---|
FieldReportCSV(DocumentTypeField documentType)
Create a field by {link DocumentTypeField}
|
FieldReportCSV(String requestFieldCode)
Constructor that receive a param field.
|
FieldReportCSV(UserAttribute userAttribute)
Create a field by {link UserAttribute}
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FieldReportCSV o) |
String |
getDocumentValue(MonitorUserDocument doc)
Return the value in elasticsearch document that FieldReportCSV represents.
|
String |
getLabel(ServiceConfig serviceConfig)
Whill return self label field localized by service resource string
|
String |
getRequestFieldCode()
Return a code request for this field.
|
public FieldReportCSV(String requestFieldCode)
requestFieldCode
- can be "_userAttribue_:public FieldReportCSV(DocumentTypeField documentType)
documentType
- the source metainfo for field.public FieldReportCSV(UserAttribute userAttribute)
userAttribute
- the source metainfo for field.public String getLabel(ServiceConfig serviceConfig) throws PortalException
serviceConfig
- source of resource string.PortalException
public String getDocumentValue(MonitorUserDocument doc)
doc
- public String getRequestFieldCode()
public int compareTo(FieldReportCSV o)
compareTo
in interface Comparable<FieldReportCSV>
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.