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 ObjectconvertValueFromExternalValue(DOFPropertyType propertyType, Object value) static ObjectconvertValueToExternalValue(DOFPropertyType propertyType, Object value) static StringfindTimeZone(DOFPropertyType propertyType) Tokenize a string into its contained words using default string tokenizer.static ObjectgetExternalValueFromInstance(DOFObject instance, DOFPropertyType propertyType) getFormatForProperty(DOFPropertyType propertyType) static StringreadKeyOfObject(DOFObject object) static StringremoveAllHtmlTags(String html) static voidsetExternalValueIntoInstance(DOFObject instance, DOFPropertyType propertyType, Object value) static StringtoDisplayString(DOFPropertyType property, Object value) static ObjecttoObject(DOFPropertyType property, String value) static StringtoString(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.
-