|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType oracle.apps.fnd.applcore.flex.runtime.util.common.ValueTypeUtilDate oracle.apps.fnd.applcore.flex.runtime.util.common.ValueTypeDate
public class ValueTypeDate
A value type that represents a date.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType |
---|
ValueType.DataType |
Constructor Summary | |
---|---|
protected |
ValueTypeDate()
Constructs a value type DATE. |
Method Summary | |
---|---|
java.lang.String |
formatDefaultValue(java.lang.String defaultValue,
java.lang.Class targetJavaType)
Formats the default value so that the formatted String can be parsed at runtime into an object that can be applied to the target attribute. |
java.lang.String |
getFormatString()
Gets the format string that can be recognized by oracle.apps.fnd.applcore.oaext.model.FlexfieldValueConverter . |
java.lang.String |
getParseMethodName()
Gets the full name of the static parse method. |
java.lang.String |
getToStringExpression(java.lang.Class objType,
java.lang.String objName)
Gets the "toString" expression for the given object reference. |
boolean |
isJavaTypeSupported(java.lang.Class javaType)
Checks whether the given Java type can be used to store values of this value type. |
java.util.Date |
parse(java.lang.String s)
Parses the given string and returns a date. |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueTypeUtilDate |
---|
getMaximum, getMinimum, setMaximum, setMinimum |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType |
---|
getDataType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ValueTypeDate()
Method Detail |
---|
public boolean isJavaTypeSupported(java.lang.Class javaType)
isJavaTypeSupported
in class ValueType
javaType
- the Java type to be checked
public java.util.Date parse(java.lang.String s)
parse
in class ValueTypeUtilDate
s
- the string to be parsed
public java.lang.String getParseMethodName()
getParseMethodName
in class ValueTypeUtilDate
public java.lang.String getToStringExpression(java.lang.Class objType, java.lang.String objName)
getToStringExpression
in class ValueType
objType
- the java type of the objectobjName
- the name of the object
public java.lang.String formatDefaultValue(java.lang.String defaultValue, java.lang.Class targetJavaType)
formatDefaultValue
in class ValueType
defaultValue
- the default value from the metadatatargetJavaType
- the Java type of the target attribute
public java.lang.String getFormatString()
oracle.apps.fnd.applcore.oaext.model.FlexfieldValueConverter
.
getFormatString
in class ValueType
FlexfieldValueConverter
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |