public class BooleanType extends CBOAbstractAttributeType
| Modifier and Type | Field and Description |
|---|---|
static ConfigureInfo |
CONFIG |
static java.lang.String |
defaultNoString |
static java.lang.String |
defaultYesString |
static java.lang.String |
L10N_KEY_UNSUPPORTED_TYPE |
static java.lang.String |
L10N_KEY_USER_FRIENDLY_FALSE |
static java.lang.String |
L10N_KEY_USER_FRIENDLY_NULL |
static java.lang.String |
L10N_KEY_USER_FRIENDLY_TRUE |
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 |
|---|
BooleanType() |
BooleanType(CBOAttributeTypeI _base,
electric.xml.Element _parms) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareImpl(java.lang.Object o1,
java.lang.Object o2) |
void |
configure() |
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 |
getAsString(java.lang.Object o) |
java.lang.String |
getAsUserFriendlyRawString(java.lang.Object o) |
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 |
getDAUType()
User-friendly l10n-ed name for the type, to be used for user interaction.
|
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).
|
java.lang.Class |
getJavaClass()
The not null type/Class of the field in the Java object (the MyTISM BO).
|
AttributeTypeCodeGen<JavaMethodGen,JavaClassGen,BooleanType> |
getJavaCodeGen(java.lang.String attrName) |
int |
getJdbcType()
Type/Class that the JDBC driver returns for the column/field.
|
java.lang.String |
getName() |
java.lang.String |
getNonNullDefaultValue() |
java.lang.String |
getNoString() |
java.lang.String |
getNoWords() |
AttributeTypeCodeGen<nrxmethod,nrxgen,BooleanType> |
getNRXCodeGen(java.lang.String attrName) |
java.lang.String |
getSqlType()
SQL column type in the relational database.
|
java.lang.Integer |
getStandardExpectedWidth() |
java.lang.String |
getYesString() |
java.lang.String |
getYesWords() |
boolean |
hasAdditionalEtters() |
boolean |
isMandatory() |
java.lang.String |
marshal(java.lang.Object o) |
void |
setNoString(java.lang.String $4) |
void |
setNoWords(java.lang.String $2) |
void |
setYesString(java.lang.String $3) |
void |
setYesWords(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 |
unMarshal(java.lang.String s) |
allowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, castToOwnType, checkConstraints, checkConstraints, compare, formatAsInlineParameter, 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, toXMLStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAdditionalEtters, applyAdditionalEtters, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForCode, getNullDefaultTypepublic static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public static final java.lang.String defaultYesString
public static final java.lang.String defaultNoString
public static final java.lang.String L10N_KEY_USER_FRIENDLY_TRUE
public static final java.lang.String L10N_KEY_USER_FRIENDLY_FALSE
public static final java.lang.String L10N_KEY_USER_FRIENDLY_NULL
public static final java.lang.String L10N_KEY_UNSUPPORTED_TYPE
public BooleanType()
public BooleanType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public java.lang.String getName()
public void configure()
configure in interface CBOAttributeTypeIconfigure in class CBOAbstractAttributeTypepublic java.lang.String getAsString(java.lang.Object o)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getAsUserFriendlyRawString(java.lang.Object o)
public 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.String marshal(java.lang.Object o)
public java.lang.Object unMarshal(java.lang.String s)
public java.lang.Class getJavaClass()
CBOAttributeTypeIpublic java.lang.String getCastorFieldType()
CBOAttributeTypeIpublic java.lang.String getCastorSqlType()
CBOAttributeTypeIpublic java.lang.String getSqlType()
CBOAttributeTypeIpublic java.lang.String getDAUType()
CBOAttributeTypeIpublic int getJdbcType()
CBOAttributeTypeIpublic java.lang.Integer getStandardExpectedWidth()
public java.lang.String getExternalizePostfix()
CBOAttributeTypeIpublic boolean isMandatory()
isMandatory in interface CBOAttributeTypeIisMandatory in class CBOAbstractAttributeTypepublic int compareImpl(java.lang.Object o1,
java.lang.Object o2)
compareImpl in class CBOAbstractAttributeTypepublic boolean hasAdditionalEtters()
hasAdditionalEtters in interface CBOAttributeTypeIhasAdditionalEtters in class CBOAbstractAttributeTypepublic AttributeTypeCodeGen<JavaMethodGen,JavaClassGen,BooleanType> getJavaCodeGen(java.lang.String attrName)
public AttributeTypeCodeGen<nrxmethod,nrxgen,BooleanType> getNRXCodeGen(java.lang.String attrName)
public java.lang.String getNonNullDefaultValue()
public java.lang.String getYesWords()
public void setYesWords(java.lang.String $1)
public java.lang.String getNoWords()
public void setNoWords(java.lang.String $2)
public java.lang.String getYesString()
public void setYesString(java.lang.String $3)
public java.lang.String getNoString()
public void setNoString(java.lang.String $4)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.