public abstract class NumberType extends CBOAbstractAttributeType
| Modifier and Type | Field and Description | 
|---|---|
| static ConfigureInfo | CONFIG | 
| static java.lang.String | OQL_NUMBER_FORMAT | 
OQL_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 | 
|---|
| NumberType() | 
| NumberType(CBOAttributeTypeI _base,
          electric.xml.Element _parms) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | checkConstraints(java.lang.Object value)Checks if the given value (object) matches the constraints (limits,
 etc. - if any) set for this type. | 
| java.lang.String | formatAsInlineParameter(java.lang.String s)Converts the passed String s to a String representation our OQL-query-engine can use in the query. | 
| java.lang.String | getAltformat() | 
| java.lang.String | getAsString(java.lang.Object o)Translates an object of it's own type to a String eventually using defined format attributes. | 
| java.lang.String | getAsString(java.lang.Object o,
           java.lang.Object parento) | 
| java.lang.String | getAsString(java.lang.Object o,
           java.lang.Object parento,
           java.lang.String explicitFormat) | 
| java.lang.String | getAsString(java.lang.Object o,
           java.lang.Object parento,
           java.lang.String explicitFormat,
           java.util.Locale locale) | 
| java.lang.String | getDAUType()User-friendly l10n-ed name for the type, to be used for user interaction. | 
| java.lang.String | getFormat() | 
| java.math.BigDecimal | getMaxInclusiveLimit() | 
| java.math.BigDecimal | getMinInclusiveLimit() | 
| java.lang.String | getNonNullDefaultValue() | 
| java.lang.String | getUnit() | 
| boolean | hasAdditionalEtters() | 
| java.lang.String | marshal(java.lang.Object o) | 
| void | setAltformat(java.lang.String $11) | 
| void | setFormat(java.lang.String $10) | 
| void | setMaxInclusiveLimit(java.math.BigDecimal $13) | 
| void | setMinInclusiveLimit(java.math.BigDecimal $12) | 
| void | setUnit(java.lang.String $14) | 
| 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 | unMarshal(java.lang.String s) | 
| abstract java.lang.Object | valueOf(java.lang.String s) | 
allowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, castToOwnType, checkConstraints, compare, compareImpl, configure, formatAsInlineParameter, getAsString, getBase, getBool, getCastorCollectionType, getCastorJavaClass, getComponentSqlType, getDef, getDefinition, getExpectedWidth, getFilter, getFloat, getIndexType, getInt, getLong, getNullable, getPositiveInt, getUnique, hasCustomExternalization, hasSetBOLoaderHook, hasSetHook, isCore, isIndexed, isMandatory, 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, getCastorFieldType, getCastorSqlType, getExternalizePostfix, getHumanReadableIndexType, getJavaClass, getJavaClassFQNForImport, getJavaClassnameForCode, getJavaCodeGen, getJdbcType, getName, getNRXCodeGen, getNullDefaultType, getSqlType, getStandardExpectedWidthpublic static final ConfigureInfo CONFIG
public static final java.lang.String OQL_NUMBER_FORMAT
public NumberType()
public NumberType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public java.lang.String getAsString(java.lang.Object o)
                             throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
                                    java.lang.Object parento)
                             throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
                                    java.lang.Object parento,
                                    java.lang.String explicitFormat)
                             throws java.lang.IllegalArgumentException
getAsString in interface CBOAttributeTypeIgetAsString in class CBOAbstractAttributeTypejava.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
                                    java.lang.Object parento,
                                    java.lang.String explicitFormat,
                                    java.util.Locale locale)
                             throws java.lang.IllegalArgumentException
getAsString in interface CBOAttributeTypeIgetAsString in class CBOAbstractAttributeTypejava.lang.IllegalArgumentExceptionpublic java.lang.String formatAsInlineParameter(java.lang.String s)
CBOAttributeTypeIformatAsInlineParameter in interface CBOAttributeTypeIformatAsInlineParameter in class CBOAbstractAttributeTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
                                                 java.lang.String str)
                                          throws ValueSettingException
ValueSettingExceptionpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
                                                 java.lang.String str,
                                                 java.lang.Object parento)
                                          throws ValueSettingException
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class CBOAbstractAttributeTypeValueSettingExceptionpublic 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 CBOAbstractAttributeTypeValueSettingExceptionpublic 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 CBOAbstractAttributeTypeValueSettingExceptionpublic void checkConstraints(java.lang.Object value)
                      throws ValueSettingException
checkConstraints in interface CBOAttributeTypeIcheckConstraints in class CBOAbstractAttributeTypeValueSettingExceptionpublic java.lang.String marshal(java.lang.Object o)
public java.lang.Object unMarshal(java.lang.String s)
public java.lang.String getDAUType()
CBOAttributeTypeIpublic boolean hasAdditionalEtters()
hasAdditionalEtters in interface CBOAttributeTypeIhasAdditionalEtters in class CBOAbstractAttributeTypepublic java.lang.String getNonNullDefaultValue()
public abstract java.lang.Object valueOf(java.lang.String s)
public java.lang.String getFormat()
public void setFormat(java.lang.String $10)
public java.lang.String getAltformat()
public void setAltformat(java.lang.String $11)
public java.math.BigDecimal getMinInclusiveLimit()
public void setMinInclusiveLimit(java.math.BigDecimal $12)
public java.math.BigDecimal getMaxInclusiveLimit()
public void setMaxInclusiveLimit(java.math.BigDecimal $13)
public java.lang.String getUnit()
public void setUnit(java.lang.String $14)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.