public class StringType extends AbstractStringType
Modifier and Type | Field and Description |
---|---|
static ConfigureInfo |
CONFIG |
static java.lang.String |
NAME |
OQL_NULL_STRING
INDEX_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 |
---|
StringType() |
StringType(CBOAttributeTypeI _base,
electric.xml.Element _parms) |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
java.lang.Boolean |
getMakeLowerCase() |
java.lang.Boolean |
getMakeUpperCase() |
java.lang.String |
getMustMatch() |
java.lang.String |
getName() |
java.util.regex.Pattern |
getPattern() |
void |
setMakeLowerCase(java.lang.Boolean $2) |
void |
setMakeUpperCase(java.lang.Boolean $1) |
void |
setMustMatch(java.lang.String $3) |
void |
setPattern(java.util.regex.Pattern $4) |
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, formatAsInlineParameter, formatAsInlineParameter, getAsString, getCastorFieldType, getCastorSqlType, getDAUType, getExternalizePostfix, getJavaClass, getJavaCodeGen, getJdbcType, getMaxLength, getMinLength, getNonNullDefaultValue, getNRXCodeGen, getNullDefaultType, getSqlType, getStandardExpectedWidth, hasAdditionalEtters, initMustMatchPatternDescriptionsBundleLookupPath, isMandatory, marshal, setMaxLength, setMinLength, unMarshal
allowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, checkConstraints, compare, compareImpl, getAsString, getAsString, getAsString, getBase, getBool, getCastorCollectionType, getCastorJavaClass, getComponentSqlType, getDef, getDefinition, getExpectedWidth, getFilter, 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, toXMLString
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyAdditionalEtters, applyAdditionalEtters, getAsUserFriendlyRawString, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForCode
public static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public StringType()
public StringType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public java.lang.String getName()
public void configure()
configure
in interface CBOAttributeTypeI
configure
in class AbstractStringType
public java.lang.Object stringToValueWithTypeTip(java.lang.String typeName, java.lang.String str) throws ValueSettingException
stringToValueWithTypeTip
in interface CBOAttributeTypeI
stringToValueWithTypeTip
in class AbstractStringType
str
- 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
AbstractStringType
stringToValueWithTypeTip
in class AbstractStringType
str
- 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.Boolean getMakeUpperCase()
public void setMakeUpperCase(java.lang.Boolean $1)
public java.lang.Boolean getMakeLowerCase()
public void setMakeLowerCase(java.lang.Boolean $2)
public java.lang.String getMustMatch()
public void setMustMatch(java.lang.String $3)
public java.util.regex.Pattern getPattern()
getPattern
in class AbstractStringType
public void setPattern(java.util.regex.Pattern $4)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.