public final class TypeConversionSettings extends Object
Constructor and Description |
---|
TypeConversionSettings() |
Modifier and Type | Method and Description |
---|---|
Object |
getAllowDataTruncation()
Get the allowDataTruncation property: Whether to allow data truncation when converting the data.
|
Object |
getCulture()
Get the culture property: The culture used to convert data from/to string.
|
Object |
getDateTimeFormat()
Get the dateTimeFormat property: The format for DateTime values.
|
Object |
getDateTimeOffsetFormat()
Get the dateTimeOffsetFormat property: The format for DateTimeOffset values.
|
Object |
getTimeSpanFormat()
Get the timeSpanFormat property: The format for TimeSpan values.
|
Object |
getTreatBooleanAsNumber()
Get the treatBooleanAsNumber property: Whether to treat boolean values as numbers.
|
TypeConversionSettings |
setAllowDataTruncation(Object allowDataTruncation)
Set the allowDataTruncation property: Whether to allow data truncation when converting the data.
|
TypeConversionSettings |
setCulture(Object culture)
Set the culture property: The culture used to convert data from/to string.
|
TypeConversionSettings |
setDateTimeFormat(Object dateTimeFormat)
Set the dateTimeFormat property: The format for DateTime values.
|
TypeConversionSettings |
setDateTimeOffsetFormat(Object dateTimeOffsetFormat)
Set the dateTimeOffsetFormat property: The format for DateTimeOffset values.
|
TypeConversionSettings |
setTimeSpanFormat(Object timeSpanFormat)
Set the timeSpanFormat property: The format for TimeSpan values.
|
TypeConversionSettings |
setTreatBooleanAsNumber(Object treatBooleanAsNumber)
Set the treatBooleanAsNumber property: Whether to treat boolean values as numbers.
|
public Object getAllowDataTruncation()
public TypeConversionSettings setAllowDataTruncation(Object allowDataTruncation)
allowDataTruncation
- the allowDataTruncation value to set.public Object getTreatBooleanAsNumber()
public TypeConversionSettings setTreatBooleanAsNumber(Object treatBooleanAsNumber)
treatBooleanAsNumber
- the treatBooleanAsNumber value to set.public Object getDateTimeFormat()
public TypeConversionSettings setDateTimeFormat(Object dateTimeFormat)
dateTimeFormat
- the dateTimeFormat value to set.public Object getDateTimeOffsetFormat()
public TypeConversionSettings setDateTimeOffsetFormat(Object dateTimeOffsetFormat)
dateTimeOffsetFormat
- the dateTimeOffsetFormat value to set.public Object getTimeSpanFormat()
public TypeConversionSettings setTimeSpanFormat(Object timeSpanFormat)
timeSpanFormat
- the timeSpanFormat value to set.public Object getCulture()
public TypeConversionSettings setCulture(Object culture)
culture
- the culture value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.