public abstract class AbstractAttributeType extends java.lang.Object implements AttributeTypeI
| 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, MARSHALLED_NULL_VALUE, NO_CUSTOM_INDEX_VERSION| Constructor and Description |
|---|
AbstractAttributeType(AttributeTypeI _base,
electric.xml.Element _parms) |
AbstractAttributeType(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) |
AttributeTypeI |
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
AttributeTypeI.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(AttributeTypeI $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 AbstractAttributeType(electric.xml.Element _parms)
public AbstractAttributeType(AttributeTypeI _base, electric.xml.Element _parms)
public void configure()
configure in interface AttributeTypeIpublic java.lang.Class getCastorJavaClass()
public java.lang.String getCastorCollectionType()
AttributeTypeIgetCastorCollectionType in interface AttributeTypeIpublic java.lang.String getComponentSqlType()
AttributeTypeIAttributeTypeI.getCastorCollectionType() with an explicit component type, then returns
the SQL column type the component.
Null, if not a collectionType.getComponentSqlType in interface AttributeTypeIpublic boolean isIndexed()
isIndexed in interface AttributeTypeIpublic boolean isCore()
isCore in interface AttributeTypeIpublic electric.xml.Element getDefinition()
getDefinition in interface AttributeTypeIpublic javax.swing.text.DocumentFilter getFilter(java.util.ArrayList inputFormats)
getFilter in interface AttributeTypeIpublic java.lang.Integer getExpectedWidth()
getExpectedWidth in interface AttributeTypeIpublic boolean isMandatory()
isMandatory in interface AttributeTypeIpublic boolean nullable()
public java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat)
getAsString in interface AttributeTypeIpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
getAsString in interface AttributeTypeIpublic 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 AttributeTypeIpublic java.lang.String formatAsInlineParameter(java.lang.String s,
java.lang.String queryQuotationMark)
AttributeTypeIformatAsInlineParameter in interface AttributeTypeIpublic java.lang.String formatAsInlineParameter(java.lang.String s)
AttributeTypeIformatAsInlineParameter in interface AttributeTypeIpublic java.lang.String marshal(java.lang.Object o,
CryptoHandlerI c)
marshal in interface AttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s)
stringToValue in interface AttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento)
stringToValue in interface AttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat)
stringToValue in interface AttributeTypeIpublic java.lang.Object stringToValue(java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
stringToValue in interface AttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento)
stringToValueWithTypeTip in interface AttributeTypeIpublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String s,
java.lang.Object parento,
java.lang.String displayFormat)
stringToValueWithTypeTip in interface AttributeTypeIpublic 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 AttributeTypeIpublic 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 AttributeTypeIpublic java.lang.Object setAsString(java.lang.String str)
throws ValueSettingException
setAsString in interface AttributeTypeIValueSettingExceptionpublic java.lang.Object setAsString(java.lang.String str,
boolean checkConstraints)
throws ValueSettingException
setAsString in interface AttributeTypeIValueSettingExceptionpublic java.lang.Object setAsString(java.lang.String str,
boolean checkConstraints,
java.lang.String typeName)
throws ValueSettingException
setAsString in interface AttributeTypeIValueSettingExceptionpublic void checkConstraints(java.lang.Object value)
throws ValueSettingException
checkConstraints in interface AttributeTypeIValueSettingExceptionpublic void checkConstraints(java.lang.Object value,
java.lang.String typeName)
throws ValueSettingException
checkConstraints in interface AttributeTypeIValueSettingExceptionpublic boolean allowsValue(java.lang.Object value)
allowsValue in interface AttributeTypeIpublic boolean hasCustomExternalization()
hasCustomExternalization in interface AttributeTypeIpublic void applyCustomExternalization(java.lang.String vn,
MethodGeneratorI exreadmeth,
MethodGeneratorI exwritemeth,
java.lang.String indentWrite)
applyCustomExternalization in interface AttributeTypeIpublic boolean hasSetBOLoaderHook()
hasSetBOLoaderHook in interface AttributeTypeIpublic void applySetBOLoaderHook(java.lang.String vn,
MethodGeneratorI setbolmeth)
applySetBOLoaderHook in interface AttributeTypeIpublic boolean hasSetHook()
hasSetHook in interface AttributeTypeIpublic boolean applySetHook(java.lang.String vn,
MethodGeneratorI setmeth)
applySetHook in interface AttributeTypeIpublic boolean hasAdditionalEtters()
hasAdditionalEtters in interface AttributeTypeIpublic java.lang.Object castToOwnType(java.lang.Object o)
castToOwnType in interface AttributeTypeIpublic 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 AttributeTypeIpublic 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 AttributeTypeIpublic void toXML(electric.xml.Element element,
java.lang.String name,
java.lang.Object value)
toXML in interface AttributeTypeIpublic 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 AttributeTypeIpublic void setDef(java.lang.String $4)
public int getIndexType()
getIndexType in interface AttributeTypeIpublic void setIndexType(int $5)
public java.lang.Boolean getUnique()
getUnique in interface AttributeTypeIpublic void setUnique(java.lang.Boolean $6)
public AttributeTypeI getBase()
getBase in interface AttributeTypeIpublic void setBase(AttributeTypeI $7)
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.