public class OmopValueWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
OmopValueWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
newRow() |
String |
writeBoolean(org.protempa.proposition.value.BooleanValue inValue) |
String |
writeBoolean(org.protempa.proposition.value.BooleanValue inValue,
Format inFormat) |
String |
writeDate(org.protempa.proposition.value.DateValue inValue) |
String |
writeDate(org.protempa.proposition.value.DateValue inValue,
Format inFormat) |
String |
writeFinish(org.protempa.proposition.TemporalProposition inProposition)
Writes the finish of a temporal proposition's interval using the value
of
TemporalProposition.getFinishFormattedShort(). |
String |
writeFinish(org.protempa.proposition.TemporalProposition inProposition,
Format inFormat)
Writes the finish of a temporal proposition's interval.
|
String |
writeId(org.protempa.proposition.Proposition inProposition) |
String |
writeInequality(org.protempa.proposition.value.InequalityNumberValue inValue) |
String |
writeInequality(org.protempa.proposition.value.InequalityNumberValue inValue,
Format inFormat) |
String |
writeInequalityNumber(org.protempa.proposition.value.InequalityNumberValue inValue) |
String |
writeInequalityNumber(org.protempa.proposition.value.InequalityNumberValue inValue,
Format inFormat) |
String |
writeLength(org.protempa.proposition.TemporalProposition inProposition)
Writes the length of a temporal proposition's interval using the value
of
TemporalProposition.getLengthFormattedShort(). |
String |
writeLength(org.protempa.proposition.TemporalProposition inProposition,
Format inFormat)
Writes the length of a temporal proposition's interval.
|
String |
writeLocalUniqueId(org.protempa.proposition.Proposition inProposition) |
String |
writeNominal(org.protempa.proposition.value.NominalValue inValue) |
String |
writeNominal(org.protempa.proposition.value.NominalValue inValue,
Format inFormat) |
String |
writeNull() |
String |
writeNumber(org.protempa.proposition.value.InequalityNumberValue inValue) |
String |
writeNumber(org.protempa.proposition.value.InequalityNumberValue inValue,
Format inFormat) |
String |
writeNumber(org.protempa.proposition.value.NumberValue inValue) |
String |
writeNumber(org.protempa.proposition.value.NumberValue inValue,
Format inFormat) |
String |
writeNumericalId(org.protempa.proposition.Proposition inProposition) |
String |
writeParameterValue(org.protempa.proposition.Parameter inProposition) |
String |
writeParameterValue(org.protempa.proposition.Parameter inProposition,
Format inFormat) |
String |
writePropertyValue(org.protempa.proposition.Proposition inProposition,
String inPropertyName) |
String |
writePropertyValue(org.protempa.proposition.Proposition inProposition,
String inPropertyName,
Format inFormat) |
String |
writeStart(org.protempa.proposition.TemporalProposition inProposition)
Writes the start of a temporal proposition's interval using the value of
TemporalProposition.getStartFormattedShort(). |
String |
writeStart(org.protempa.proposition.TemporalProposition inProposition,
Format inFormat)
Writes the start of a temporal proposition's interval.
|
String |
writeUniqueId(org.protempa.proposition.Proposition inProposition) |
String |
writeValue(org.protempa.proposition.value.Value inValue) |
String |
writeValue(org.protempa.proposition.value.Value inValue,
Format inFormat) |
public String writeNominal(org.protempa.proposition.value.NominalValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNominal(org.protempa.proposition.value.NominalValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNumber(org.protempa.proposition.value.NumberValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNumber(org.protempa.proposition.value.NumberValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeInequality(org.protempa.proposition.value.InequalityNumberValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeInequality(org.protempa.proposition.value.InequalityNumberValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNumber(org.protempa.proposition.value.InequalityNumberValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNumber(org.protempa.proposition.value.InequalityNumberValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeInequalityNumber(org.protempa.proposition.value.InequalityNumberValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeInequalityNumber(org.protempa.proposition.value.InequalityNumberValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeDate(org.protempa.proposition.value.DateValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeDate(org.protempa.proposition.value.DateValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeBoolean(org.protempa.proposition.value.BooleanValue inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeBoolean(org.protempa.proposition.value.BooleanValue inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeId(org.protempa.proposition.Proposition inProposition) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeUniqueId(org.protempa.proposition.Proposition inProposition) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeLocalUniqueId(org.protempa.proposition.Proposition inProposition) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNumericalId(org.protempa.proposition.Proposition inProposition) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeStart(org.protempa.proposition.TemporalProposition inProposition) throws OmopValueWriterException
TemporalProposition.getStartFormattedShort().inProposition - the temporal proposition.OmopValueWriterException - if an error occurred.public String writeStart(org.protempa.proposition.TemporalProposition inProposition, Format inFormat) throws OmopValueWriterException
TemporalProposition.getStartFormattedShort().inProposition - the temporal proposition.inFormat - the formatter.OmopValueWriterException - if an error occurred.public String writeFinish(org.protempa.proposition.TemporalProposition inProposition) throws OmopValueWriterException
TemporalProposition.getFinishFormattedShort().inProposition - the temporal proposition.OmopValueWriterException - if an error occurred.public String writeFinish(org.protempa.proposition.TemporalProposition inProposition, Format inFormat) throws OmopValueWriterException
TemporalProposition.getFinishFormattedShort().inProposition - the temporal proposition.inFormat - the formatter.OmopValueWriterException - if an error occurred.public String writeLength(org.protempa.proposition.TemporalProposition inProposition) throws OmopValueWriterException
TemporalProposition.getLengthFormattedShort().inProposition - the temporal proposition.OmopValueWriterException - if an error occurred.public String writeLength(org.protempa.proposition.TemporalProposition inProposition, Format inFormat) throws OmopValueWriterException
TemporalProposition.getLengthFormattedShort().inProposition - the temporal proposition.inFormat - the formatter.OmopValueWriterException - if an error occurred.public String writeParameterValue(org.protempa.proposition.Parameter inProposition) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeParameterValue(org.protempa.proposition.Parameter inProposition, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writePropertyValue(org.protempa.proposition.Proposition inProposition, String inPropertyName) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writePropertyValue(org.protempa.proposition.Proposition inProposition, String inPropertyName, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeValue(org.protempa.proposition.value.Value inValue) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeValue(org.protempa.proposition.value.Value inValue, Format inFormat) throws OmopValueWriterException
OmopValueWriterExceptionpublic String writeNull() throws OmopValueWriterException
OmopValueWriterExceptionpublic String newRow() throws OmopValueWriterException
OmopValueWriterExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019–2021 Emory University. All rights reserved.