public class IntegerType 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, NO_CUSTOM_INDEX_VERSION| Constructor and Description |
|---|
IntegerType() |
IntegerType(CBOAttributeTypeI _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 an Integer
|
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() |
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, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForCode, getJavaCodeGen, getNRXCodeGen, getNullDefaultTypepublic static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public IntegerType()
public IntegerType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public javax.swing.text.DocumentFilter getFilter(java.util.ArrayList inputFormats)
getFilter in interface CBOAttributeTypeIgetFilter in class CBOAbstractAttributeTypepublic java.lang.Object castToOwnType(java.lang.Object o)
castToOwnType in interface CBOAttributeTypeIcastToOwnType in class CBOAbstractAttributeTypepublic 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 CBOAttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento)
throws ValueSettingException
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip 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 CBOAttributeTypeIstringToValueWithTypeTip 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 CBOAttributeTypeIstringToValueWithTypeTip in class NumberTypeValueSettingExceptionpublic java.lang.String getName()
public java.lang.Class getJavaClass()
CBOAttributeTypeIpublic java.lang.String getCastorFieldType()
CBOAttributeTypeIpublic java.lang.String getCastorSqlType()
CBOAttributeTypeIpublic java.lang.String getSqlType()
CBOAttributeTypeIpublic int getJdbcType()
CBOAttributeTypeIpublic java.lang.Integer getStandardExpectedWidth()
public java.lang.String getExternalizePostfix()
CBOAttributeTypeIpublic boolean isMandatory()
isMandatory in interface CBOAttributeTypeIisMandatory in class CBOAbstractAttributeTypeCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.