public abstract class CBOAbstractAttributeType extends java.lang.Object implements CBOAttributeTypeI
| Modifier and Type | Field and Description |
|---|---|
static ConfigureInfo |
CONFIG |
static java.lang.String |
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 |
|---|
CBOAbstractAttributeType(CBOAttributeTypeI _base,
electric.xml.Element _parms) |
CBOAbstractAttributeType(electric.xml.Element _parms) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsValue(java.lang.Object value) |
void |
applyCustomExternalization(java.lang.String vn,
MethodGeneratorI exreadmeth,
MethodGeneratorI exwritemeth,
java.lang.String indentWrite) |
void |
applySetBOLoaderHook(java.lang.String vn,
MethodGeneratorI setbolmeth) |
boolean |
applySetHook(java.lang.String vn,
MethodGeneratorI setmeth) |
java.lang.Number |
castToNumber(java.lang.Object o)
do as much as possible to convert the given value to a Number
|
java.lang.Object |
castToOwnType(java.lang.Object o)
tries the best to convert a value of wrong type to the own one.
|
void |
checkConstraints(java.lang.Object value)
Checks if the given value (object) matches the constraints (limits,
etc. - if any) set for this type.
|
void |
checkConstraints(java.lang.Object value,
java.lang.String typeName)
Checks if the given value (object) matches the constraints (limits,
etc. - if any) set for this type.
|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
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 |
formatAsInlineParameter(java.lang.String s,
java.lang.String queryQuotationMark)
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.Object parento,
java.lang.String displayFormat) |
java.lang.String |
getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale) |
java.lang.String |
getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone) |
CBOAttributeTypeI |
getBase() |
static boolean |
getBool(netrexx.lang.Rexx s)
bool aus Rexx
|
java.lang.String |
getCastorCollectionType()
Type of the collection or null, if not a collectionfor generating the castor mapping file.
|
java.lang.Class |
getCastorJavaClass() |
java.lang.String |
getComponentSqlType()
If this is a
CBOAttributeTypeI.getCastorCollectionType() with an explicit component type, then returns
the SQL column type the component. |
java.lang.String |
getDef() |
electric.xml.Element |
getDefinition() |
java.lang.Integer |
getExpectedWidth() |
javax.swing.text.DocumentFilter |
getFilter(java.util.ArrayList inputFormats) |
static float |
getFloat(netrexx.lang.Rexx s)
float aus Rexx
|
int |
getIndexType() |
static int |
getInt(netrexx.lang.Rexx s)
int aus Rexx, ignoriert Nachkommastellen
|
static long |
getLong(netrexx.lang.Rexx s)
long aus Rexx
|
java.lang.Boolean |
getNullable() |
static int |
getPositiveInt(netrexx.lang.Rexx s)
int aus Rexx, ignoriert Nachkommastellen
|
java.lang.Boolean |
getUnique() |
boolean |
hasAdditionalEtters() |
boolean |
hasCustomExternalization() |
boolean |
hasSetBOLoaderHook() |
boolean |
hasSetHook() |
boolean |
isCore() |
boolean |
isIndexed() |
boolean |
isMandatory() |
java.lang.String |
marshal(java.lang.Object o,
CryptoHandlerI c) |
boolean |
nullable() |
java.lang.Object |
setAsString(java.lang.String str) |
java.lang.Object |
setAsString(java.lang.String str,
boolean checkConstraints) |
java.lang.Object |
setAsString(java.lang.String str,
boolean checkConstraints,
java.lang.String typeName) |
void |
setBase(CBOAttributeTypeI $7) |
void |
setDef(java.lang.String $4) |
void |
setExpectedWidth(java.lang.Integer $3) |
void |
setIndexType(int $5) |
void |
setNullable(java.lang.Boolean $2) |
void |
setUnique(java.lang.Boolean $6) |
java.lang.Object |
stringToValue(java.lang.String s) |
java.lang.Object |
stringToValue(java.lang.String s,
java.lang.Object parento) |
java.lang.Object |
stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat) |
java.lang.Object |
stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone) |
void |
toXML(electric.xml.Element element,
java.lang.String name,
java.lang.Object value) |
java.lang.String |
toXMLString(java.lang.String name,
java.lang.String value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAdditionalEtters, applyAdditionalEtters, getAsString, getAsUserFriendlyRawString, getCastorFieldType, getCastorSqlType, getDAUType, getExternalizePostfix, getHumanReadableIndexType, getJavaClass, getJavaClassFQNForImport, getJavaClassnameForCode, getJavaCodeGen, getJdbcType, getName, getNonNullDefaultValue, getNRXCodeGen, getNullDefaultType, getSqlType, getStandardExpectedWidth, marshal, stringToValueWithTypeTip, unMarshalpublic static final ConfigureInfo CONFIG
public static final java.lang.String OQL_NULL_STRING
public CBOAbstractAttributeType(electric.xml.Element _parms)
public CBOAbstractAttributeType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public void configure()
configure in interface CBOAttributeTypeIpublic java.lang.Class getCastorJavaClass()
public java.lang.String getCastorCollectionType()
CBOAttributeTypeIgetCastorCollectionType in interface CBOAttributeTypeIpublic java.lang.String getComponentSqlType()
CBOAttributeTypeICBOAttributeTypeI.getCastorCollectionType() with an explicit component type, then returns
the SQL column type the component.
Null, if not a collectionType.getComponentSqlType in interface CBOAttributeTypeIpublic boolean isIndexed()
isIndexed in interface CBOAttributeTypeIpublic boolean isCore()
isCore in interface CBOAttributeTypeIpublic electric.xml.Element getDefinition()
getDefinition in interface CBOAttributeTypeIpublic javax.swing.text.DocumentFilter getFilter(java.util.ArrayList inputFormats)
getFilter in interface CBOAttributeTypeIpublic java.lang.Integer getExpectedWidth()
getExpectedWidth in interface CBOAttributeTypeIpublic boolean isMandatory()
isMandatory in interface CBOAttributeTypeIpublic boolean nullable()
public java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat)
getAsString in interface CBOAttributeTypeIpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
getAsString in interface CBOAttributeTypeIpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone)
getAsString in interface CBOAttributeTypeIpublic java.lang.String formatAsInlineParameter(java.lang.String s,
java.lang.String queryQuotationMark)
CBOAttributeTypeIformatAsInlineParameter in interface CBOAttributeTypeIpublic java.lang.String formatAsInlineParameter(java.lang.String s)
CBOAttributeTypeIformatAsInlineParameter in interface CBOAttributeTypeIpublic java.lang.String marshal(java.lang.Object o,
CryptoHandlerI c)
marshal in interface CBOAttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s)
stringToValue in interface CBOAttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento)
stringToValue in interface CBOAttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat)
stringToValue in interface CBOAttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
stringToValue in interface CBOAttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento)
stringToValueWithTypeTip in interface CBOAttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat)
stringToValueWithTypeTip in interface CBOAttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
stringToValueWithTypeTip in interface CBOAttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone)
stringToValueWithTypeTip in interface CBOAttributeTypeIpublic java.lang.Object setAsString(java.lang.String str)
throws ValueSettingException
setAsString in interface CBOAttributeTypeIValueSettingExceptionpublic java.lang.Object setAsString(java.lang.String str,
boolean checkConstraints)
throws ValueSettingException
setAsString in interface CBOAttributeTypeIValueSettingExceptionpublic java.lang.Object setAsString(java.lang.String str,
boolean checkConstraints,
java.lang.String typeName)
throws ValueSettingException
setAsString in interface CBOAttributeTypeIValueSettingExceptionpublic void checkConstraints(java.lang.Object value)
throws ValueSettingException
checkConstraints in interface CBOAttributeTypeIValueSettingExceptionpublic void checkConstraints(java.lang.Object value,
java.lang.String typeName)
throws ValueSettingException
checkConstraints in interface CBOAttributeTypeIValueSettingExceptionpublic boolean allowsValue(java.lang.Object value)
allowsValue in interface CBOAttributeTypeIpublic boolean hasCustomExternalization()
hasCustomExternalization in interface CBOAttributeTypeIpublic void applyCustomExternalization(java.lang.String vn,
MethodGeneratorI exreadmeth,
MethodGeneratorI exwritemeth,
java.lang.String indentWrite)
applyCustomExternalization in interface CBOAttributeTypeIpublic boolean hasSetBOLoaderHook()
hasSetBOLoaderHook in interface CBOAttributeTypeIpublic void applySetBOLoaderHook(java.lang.String vn,
MethodGeneratorI setbolmeth)
applySetBOLoaderHook in interface CBOAttributeTypeIpublic boolean hasSetHook()
hasSetHook in interface CBOAttributeTypeIpublic boolean applySetHook(java.lang.String vn,
MethodGeneratorI setmeth)
applySetHook in interface CBOAttributeTypeIpublic boolean hasAdditionalEtters()
hasAdditionalEtters in interface CBOAttributeTypeIpublic java.lang.Object castToOwnType(java.lang.Object o)
castToOwnType in interface CBOAttributeTypeIpublic java.lang.Number castToNumber(java.lang.Object o)
public static int getInt(netrexx.lang.Rexx s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static long getLong(netrexx.lang.Rexx s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static int getPositiveInt(netrexx.lang.Rexx s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static float getFloat(netrexx.lang.Rexx s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static boolean getBool(netrexx.lang.Rexx s)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface CBOAttributeTypeIpublic int compareImpl(java.lang.Object o1,
java.lang.Object o2)
public java.lang.String toXMLString(java.lang.String name,
java.lang.String value)
toXMLString in interface CBOAttributeTypeIpublic void toXML(electric.xml.Element element,
java.lang.String name,
java.lang.Object value)
toXML in interface CBOAttributeTypeIpublic java.lang.Boolean getNullable()
public void setNullable(java.lang.Boolean $2)
public void setExpectedWidth(java.lang.Integer $3)
public java.lang.String getDef()
getDef in interface CBOAttributeTypeIpublic void setDef(java.lang.String $4)
public int getIndexType()
getIndexType in interface CBOAttributeTypeIpublic void setIndexType(int $5)
public java.lang.Boolean getUnique()
getUnique in interface CBOAttributeTypeIpublic void setUnique(java.lang.Boolean $6)
public CBOAttributeTypeI getBase()
getBase in interface CBOAttributeTypeIpublic void setBase(CBOAttributeTypeI $7)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.