public class StudyFormatter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
_MAX_COL |
protected com.fasterxml.jackson.databind.JsonNode |
columns |
protected Logger |
logger |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
Constructor and Description |
---|
StudyFormatter() |
StudyFormatter(String configFile) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignTitle(com.fasterxml.jackson.databind.node.ObjectNode config,
com.fasterxml.jackson.databind.node.ObjectNode defaultConfig,
String value) |
int |
format(ProtocolApplication<Protocol,String,String,Object,String> pa,
IStudyPrinter printer) |
String |
format(SubstanceProperty property,
IValue value) |
String |
format(SubstanceProperty property,
MultiValue<IValue> value) |
String |
format(SubstanceProperty property,
Object value) |
String |
format(SubstanceProperty property,
String value) |
void |
formatCategoryHeader(String category,
IStudyPrinter printer) |
protected void |
formatParams(StringBuilder b,
com.fasterxml.jackson.databind.node.ObjectNode conditions,
PropertyAnnotations pannotations) |
protected String |
formatValue(EffectRecord<String,Object,String> effect) |
protected String |
formatValue(Value effect) |
com.fasterxml.jackson.databind.node.ObjectNode |
getCategoryConfig(Protocol._categories category) |
com.fasterxml.jackson.databind.node.ObjectNode |
getCitationConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getConditionsConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getEffectsConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getEndpointConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getGuidelineConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getInterpretationConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getInterpretationResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getInterpretationResultCriteria(com.fasterxml.jackson.databind.node.ObjectNode column) |
int |
getOrder(com.fasterxml.jackson.databind.node.ObjectNode config) |
com.fasterxml.jackson.databind.node.ObjectNode |
getOwnerConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getParametersConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getProtocolConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
com.fasterxml.jackson.databind.node.ObjectNode |
getTextResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column) |
boolean |
inMatrix(com.fasterxml.jackson.databind.node.ObjectNode config) |
boolean |
isVisible(com.fasterxml.jackson.databind.node.ObjectNode config) |
protected void |
printConditions(int row,
IParams params,
com.fasterxml.jackson.databind.node.ObjectNode config,
IStudyPrinter printer,
ReliabilityParams._r_flags flag) |
protected Logger logger
protected com.fasterxml.jackson.databind.JsonNode columns
public static final int _MAX_COL
protected com.fasterxml.jackson.databind.ObjectMapper mapper
public StudyFormatter()
public StudyFormatter(String configFile)
public String format(SubstanceProperty property, Object value) throws Exception
Exception
public String format(SubstanceProperty property, String value) throws Exception
Exception
protected void formatParams(StringBuilder b, com.fasterxml.jackson.databind.node.ObjectNode conditions, PropertyAnnotations pannotations)
public com.fasterxml.jackson.databind.node.ObjectNode getCategoryConfig(Protocol._categories category)
public com.fasterxml.jackson.databind.node.ObjectNode getConditionsConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getParametersConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getProtocolConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getEffectsConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getInterpretationConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getInterpretationResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getInterpretationResultCriteria(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getGuidelineConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getCitationConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getOwnerConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getEndpointConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public com.fasterxml.jackson.databind.node.ObjectNode getTextResultConfig(com.fasterxml.jackson.databind.node.ObjectNode column)
public boolean inMatrix(com.fasterxml.jackson.databind.node.ObjectNode config)
public boolean isVisible(com.fasterxml.jackson.databind.node.ObjectNode config)
public int getOrder(com.fasterxml.jackson.databind.node.ObjectNode config)
public String format(SubstanceProperty property, IValue value) throws Exception
Exception
public String format(SubstanceProperty property, MultiValue<IValue> value) throws Exception
Exception
protected void assignTitle(com.fasterxml.jackson.databind.node.ObjectNode config, com.fasterxml.jackson.databind.node.ObjectNode defaultConfig, String value)
public void formatCategoryHeader(String category, IStudyPrinter printer) throws Exception
Exception
public int format(ProtocolApplication<Protocol,String,String,Object,String> pa, IStudyPrinter printer) throws Exception
Exception
protected String formatValue(EffectRecord<String,Object,String> effect)
protected void printConditions(int row, IParams params, com.fasterxml.jackson.databind.node.ObjectNode config, IStudyPrinter printer, ReliabilityParams._r_flags flag)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.