public class DoubleType extends NumberType
| Modifier and Type | Field and Description |
|---|---|
static ConfigureInfo |
CONFIG |
static java.lang.String |
NAME |
OQL_NUMBER_FORMATOQL_NULL_STRINGINDEX_TYPE_AUTO, INDEX_TYPE_BRIN, INDEX_TYPE_BRIN_FB_BTREE, INDEX_TYPE_BTREE, INDEX_TYPE_CUSTOM, INDEX_TYPE_GIN, INDEX_TYPE_GIN_FB_BTREE, INDEX_TYPE_NONE, INDEX_TYPE_TRIGRAM, INDEX_TYPES, INDEX_TYPES_HR, MARSHALLED_NULL_VALUE, NO_CUSTOM_INDEX_VERSION| Constructor and Description |
|---|
DoubleType() |
DoubleType(AttributeTypeI _base,
electric.xml.Element _parms) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
castToOwnType(java.lang.Object o)
do as much as possible to convert the given value to a Float
|
java.lang.String |
getCastorFieldType()
From the Castor docs:
"The field element includes an optional attribute called type which can be
used to specify the Java type of the field.
|
java.lang.String |
getCastorSqlType()
From the Castor docs:
"Castor JDO implements automatic type conversion between Java and SQL.
|
java.lang.String |
getExternalizePostfix()
Used for the Schema serialization/diffs and for the naming of the
read/write externalization methods (of which the standard set is defined in
de.ipcon.db.core.BO).
|
javax.swing.text.DocumentFilter |
getFilter(java.util.ArrayList inputFormats) |
java.lang.Class |
getJavaClass()
The not null type/Class of the field in the Java object (the MyTISM BO).
|
int |
getJdbcType()
Type/Class that the JDBC driver returns for the column/field.
|
java.lang.String |
getName() |
java.lang.String |
getSqlType()
SQL column type in the relational database.
|
java.lang.Integer |
getStandardExpectedWidth() |
boolean |
isMandatory() |
static void |
main(java.lang.String[] args) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str)
Tries to parse/transform the given string into a valid value (object) for
this type.
|
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String explicitFormat) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String explicitFormat,
java.util.Locale locale) |
java.lang.Object |
valueOf(java.lang.String s) |
checkConstraints, formatAsInlineParameter, getAltformat, getAsString, getAsString, getAsString, getAsString, getDAUType, getFormat, getMaxInclusiveLimit, getMinInclusiveLimit, getNonNullDefaultValue, getUnit, hasAdditionalEtters, marshal, setAltformat, setFormat, setMaxInclusiveLimit, setMinInclusiveLimit, setUnit, unMarshalallowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, checkConstraints, compare, compareImpl, configure, formatAsInlineParameter, getAsString, getBase, getBool, getCastorCollectionType, getCastorJavaClass, getComponentSqlType, getDef, getDefinition, getExpectedWidth, getFloat, getIndexType, getInt, getLong, getNullable, getPositiveInt, getUnique, hasCustomExternalization, hasSetBOLoaderHook, hasSetHook, isCore, isIndexed, marshal, nullable, setAsString, setAsString, setAsString, setBase, setDef, setExpectedWidth, setIndexType, setNullable, setUnique, stringToValue, stringToValue, stringToValue, stringToValue, stringToValueWithTypeTip, toXML, toXMLStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAdditionalEtters, applyAdditionalEtters, getAsUserFriendlyRawString, getCodeGenerator, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForClassAccessInCode, getJavaClassnameForCode, getNullDefaultType, hasCodeBuilderForScalarVirtualEtters, processAttributeTypeParameterspublic static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public DoubleType()
public DoubleType(AttributeTypeI _base, electric.xml.Element _parms)
public javax.swing.text.DocumentFilter getFilter(java.util.ArrayList inputFormats)
getFilter in interface AttributeTypeIgetFilter in class AbstractAttributeTypepublic java.lang.Object castToOwnType(java.lang.Object o)
castToOwnType in interface AttributeTypeIcastToOwnType in class AbstractAttributeTypepublic java.lang.Object valueOf(java.lang.String s)
valueOf in class NumberTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str)
throws ValueSettingException
NumberTypestringToValueWithTypeTip in interface AttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento)
throws ValueSettingException
stringToValueWithTypeTip in interface AttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String explicitFormat)
throws ValueSettingException
stringToValueWithTypeTip in interface AttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String explicitFormat,
java.util.Locale locale)
throws ValueSettingException
stringToValueWithTypeTip in interface AttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.String getName()
public java.lang.Class getJavaClass()
AttributeTypeIpublic java.lang.String getCastorFieldType()
AttributeTypeIpublic java.lang.String getCastorSqlType()
AttributeTypeIpublic java.lang.String getSqlType()
AttributeTypeIpublic int getJdbcType()
AttributeTypeIpublic java.lang.Integer getStandardExpectedWidth()
public java.lang.String getExternalizePostfix()
AttributeTypeIpublic static void main(java.lang.String[] args)
public boolean isMandatory()
isMandatory in interface AttributeTypeIisMandatory in class AbstractAttributeTypeCopyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.