Package org.eclnt.ccaddons.dof.util
Class DOFValueUtil
java.lang.Object
org.eclnt.ccaddons.dof.util.DOFValueUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
convertValueFromExternalValue
(DOFPropertyType propertyType, Object value) static Object
convertValueToExternalValue
(DOFPropertyType propertyType, Object value) static String
findTimeZone
(DOFPropertyType propertyType) Tokenize a string into its contained words using default string tokenizer.static Object
getExternalValueFromInstance
(DOFObject instance, DOFPropertyType propertyType) getFormatForProperty
(DOFPropertyType propertyType) static String
readKeyOfObject
(DOFObject object) static String
removeAllHtmlTags
(String html) static void
setExternalValueIntoInstance
(DOFObject instance, DOFPropertyType propertyType, Object value) static String
toDisplayString
(DOFPropertyType property, Object value) static Object
toObject
(DOFPropertyType property, String value) static String
toString
(DOFPropertyType property, Object value)
-
Constructor Details
-
DOFValueUtil
public DOFValueUtil()
-
-
Method Details
-
toObject
-
toString
-
toDisplayString
-
getFormatForProperty
public static DOFValueUtil.FormatForPropertyResponse getFormatForProperty(DOFPropertyType propertyType) -
findTimeZone
-
readKeyOfObject
-
setExternalValueIntoInstance
public static void setExternalValueIntoInstance(DOFObject instance, DOFPropertyType propertyType, Object value) -
convertValueFromExternalValue
-
convertValueToExternalValue
- Parameters:
value
- Value of theDOFObject
-instance.- Returns:
- SQL representation.
-
getExternalValueFromInstance
-
removeAllHtmlTags
-
getContainedWords
Tokenize a string into its contained words using default string tokenizer.
-