public class DatetimeType extends CBOAbstractAttributeType
| 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 |
|---|
DatetimeType() |
DatetimeType(CBOAttributeTypeI _base,
electric.xml.Element _parms) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConstraints(java.lang.Object value)
Checks if the given value (object) matches the constraints (limits,
etc. - if any) set for this type.
|
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 |
getAltformat() |
java.lang.String |
getAsString(java.lang.Object o) |
java.lang.String |
getAsString(java.lang.Object o,
java.lang.Object parento) |
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) |
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.String |
getFormat() |
java.lang.Class |
getJavaClass()
The not null type/Class of the field in the Java object (the MyTISM BO).
|
int |
getJdbcType()
Type/Class that the JDBC driver returns for the column/field.
|
java.util.Date |
getMaxInclusiveLimit() |
java.util.Date |
getMinInclusiveLimit() |
java.lang.String |
getName() |
java.lang.String |
getNullString() |
java.lang.String |
getSqlType()
SQL column type in the relational database.
|
java.lang.Integer |
getStandardExpectedWidth() |
void |
handleMaxInclusiveLimitA(java.lang.String a) |
void |
handleMinInclusiveLimitA(java.lang.String a) |
long |
initNow(java.lang.String str) |
boolean |
isMandatory() |
java.lang.String |
marshal(java.lang.Object o) |
void |
setAltformat(java.lang.String $10) |
void |
setFormat(java.lang.String $9) |
void |
setNullString(java.lang.String $11) |
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,
java.lang.Object parento) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale) |
java.lang.Object |
stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone) |
java.lang.Object |
unMarshal(java.lang.String s) |
allowsValue, applyCustomExternalization, applySetBOLoaderHook, applySetHook, castToNumber, castToOwnType, checkConstraints, compare, formatAsInlineParameter, getBase, getBool, getCastorCollectionType, getCastorJavaClass, getComponentSqlType, getDef, getDefinition, getExpectedWidth, getFilter, getFloat, getIndexType, getInt, getLong, getNullable, getPositiveInt, getUnique, hasAdditionalEtters, hasCustomExternalization, hasSetBOLoaderHook, hasSetHook, isCore, isIndexed, marshal, nullable, setAsString, setAsString, setAsString, setBase, setDef, setExpectedWidth, setIndexType, setNullable, setUnique, stringToValue, stringToValue, stringToValue, stringToValue, toXML, toXMLStringequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAdditionalEtters, applyAdditionalEtters, getHumanReadableIndexType, getJavaClassFQNForImport, getJavaClassnameForCode, getJavaCodeGen, getNonNullDefaultValue, getNRXCodeGen, getNullDefaultTypepublic static final java.lang.String NAME
public static final ConfigureInfo CONFIG
public DatetimeType()
public DatetimeType(CBOAttributeTypeI _base, electric.xml.Element _parms)
public void handleMinInclusiveLimitA(java.lang.String a)
public void handleMaxInclusiveLimitA(java.lang.String a)
public java.util.Date getMinInclusiveLimit()
public java.util.Date getMaxInclusiveLimit()
public long initNow(java.lang.String str)
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 getAsString(java.lang.Object o,
java.lang.Object parento)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat)
throws java.lang.IllegalArgumentException
getAsString in interface CBOAttributeTypeIgetAsString in class CBOAbstractAttributeTypejava.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
throws java.lang.IllegalArgumentException
getAsString in interface CBOAttributeTypeIgetAsString in class CBOAbstractAttributeTypejava.lang.IllegalArgumentExceptionpublic java.lang.String getAsString(java.lang.Object o,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone)
throws java.lang.IllegalArgumentException
getAsString in interface CBOAttributeTypeIgetAsString in class CBOAbstractAttributeTypejava.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)
public java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento)
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class CBOAbstractAttributeTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat)
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class CBOAbstractAttributeTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale)
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class CBOAbstractAttributeTypepublic java.lang.Object stringToValueWithTypeTip(java.lang.String typeName,
java.lang.String str,
java.lang.Object parento,
java.lang.String displayFormat,
java.util.Locale locale,
java.util.TimeZone timeZone)
stringToValueWithTypeTip in interface CBOAttributeTypeIstringToValueWithTypeTip in class CBOAbstractAttributeTypepublic void checkConstraints(java.lang.Object value)
throws ValueSettingException
checkConstraints in interface CBOAttributeTypeIcheckConstraints in class CBOAbstractAttributeTypeValueSettingExceptionpublic 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 java.lang.String getFormat()
public void setFormat(java.lang.String $9)
public java.lang.String getAltformat()
public void setAltformat(java.lang.String $10)
public java.lang.String getNullString()
public void setNullString(java.lang.String $11)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.