public class DataUtils
extends java.lang.Object
Constructor and Description |
---|
DataUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
adjustNonNullValue(java.lang.String value) |
static <T> AssociationQualification |
createAssociationQualifier(QualifierResolver<T> resolver,
T item) |
static <T> PropertyQualifier |
createPropertyQualifier(PropertyQualifierResolver<T> resolver,
T item) |
static <T> Source |
createSource(SourceResolver<T> resolver,
T item) |
static <T extends Property> |
deepCloneProperty(T property) |
static <T> T |
deepCopy(T value)
Makes a deep copy of an Object -- assumes the Object to be copied has a Constructor
that accepts a String
Example: String stringCopy = new String(String originalString);.
|
public static <T extends Property> T deepCloneProperty(T property) throws java.lang.Exception
java.lang.Exception
public static <T> T deepCopy(T value) throws java.lang.Exception
value
- the valuejava.lang.Exception
- the exceptionpublic static java.lang.String adjustNonNullValue(java.lang.String value)
public static <T> PropertyQualifier createPropertyQualifier(PropertyQualifierResolver<T> resolver, T item)
public static <T> Source createSource(SourceResolver<T> resolver, T item)
public static <T> AssociationQualification createAssociationQualifier(QualifierResolver<T> resolver, T item)