public class PhoneNumberType extends AbstractStringType
| Modifier and Type | Field and Description |
|---|---|
static ConfigureInfo |
CONFIG |
static java.lang.String |
NAME |
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 |
|---|
PhoneNumberType() |
PhoneNumberType(CBOAttributeTypeI _base,
electric.xml.Element _parms) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAllowedChars() |
javax.swing.text.DocumentFilter |
getFilter(java.util.ArrayList inputFormats) |
java.lang.String |
getName() |
java.lang.Integer |
getStandardExpectedWidth() |
void |
setAllowedChars(java.lang.String $1) |
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,
boolean skipChecks)
Attempts to parse or transform the given string into a valid value (object) for this data type.
|
castToOwnType, checkConstraints, configure, formatAsInlineParameter, formatAsInlineParameter, getAsString, getCastorFieldType, getCastorSqlType, getDAUType, getExternalizePostfix, getJavaClass, getJavaCodeGen, getJdbcType, getMaxLength, getMinLength, getNonNullDefaultValue, getNRXCodeGen, getNullDefaultType, getPattern, getSqlType, hasAdditionalEtters, initMustMatchPatternDescriptionsBundleLookupPath, isMandatory, marshal, setMaxLength, setMinLength, unMarshalallowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, checkConstraints, compare, compareImpl, getAsString, getAsString, 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, stringToValueWithTypeTip, stringToValueWithTypeTip, stringToValueWithTypeTip, toXML, toXMLStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAdditionalEtters, applyAdditionalEtters, getAsUserFriendlyRawString, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForCodepublic static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public PhoneNumberType()
public PhoneNumberType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public java.lang.String getName()
public javax.swing.text.DocumentFilter getFilter(java.util.ArrayList inputFormats)
getFilter in interface CBOAttributeTypeIgetFilter in class CBOAbstractAttributeTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str)
throws ValueSettingException
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class AbstractStringTypestr - The String value to parse or convert.ValueSettingException - If parsing or conversion is not possible or if type constraints
are violated.public java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
boolean skipChecks)
throws ValueSettingException
AbstractStringTypestringToValueWithTypeTip in class AbstractStringTypestr - The String value to parse or convert.skipChecks - A flag indicating whether to skip type constraint checks.
Use with caution; typically set to true for performance reasons
in specific scenarios (e.g., speed search), but consider
potential consequences.ValueSettingException - If parsing or conversion is not possible or if type constraints
are violated (unless 'skipChecks' is set to true).public java.lang.Integer getStandardExpectedWidth()
getStandardExpectedWidth in interface CBOAttributeTypeIgetStandardExpectedWidth in class AbstractStringTypepublic java.lang.String getAllowedChars()
public void setAllowedChars(java.lang.String $1)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.