|
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.ValueTypeCharacter
public class ValueTypeCharacter
A value type that represents a string.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType |
---|
ValueType.DataType |
Constructor Summary | |
---|---|
protected |
ValueTypeCharacter()
Constructs a VARCHAR2 value type. |
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 . |
int |
getMaximumLength()
Gets the maximum length. |
boolean |
isJavaTypeSupported(java.lang.Class javaType)
Checks whether the given Java type can be used to store values of this value type. |
boolean |
isNumericOnly()
Returns true if a value should only have numeric characters. |
boolean |
isUppercaseOnly()
Returns true if a value should only have uppercase characters. |
boolean |
isZeroFilled()
Returns true if a value should be left-padded with zeros. |
protected void |
setMaximumLength(int len)
Sets the maximum length. |
protected void |
setNumericOnly(boolean b)
Sets the numeric-only flag. |
protected void |
setUppercaseOnly(boolean b)
Sets the uppercase-only flag. |
protected void |
setZeroFilled(boolean b)
Sets the zero-filled flag. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType |
---|
getDataType, getToStringExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ValueTypeCharacter()
Method Detail |
---|
public boolean isJavaTypeSupported(java.lang.Class javaType)
isJavaTypeSupported
in class ValueType
javaType
- the Java type to be checked
public int getMaximumLength()
protected void setMaximumLength(int len)
len
- the maximum lengthpublic boolean isUppercaseOnly()
protected void setUppercaseOnly(boolean b)
b
- true if a value should only have uppercase characters.public boolean isNumericOnly()
protected void setNumericOnly(boolean b)
b
- true if a value should only have numeric characters.public boolean isZeroFilled()
protected void setZeroFilled(boolean b)
b
- true if a value should be left-padded with zeros.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
public java.lang.String toString()
toString
in class ValueType
|
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 |