Package org.conical.common.bbl.util
Class DataFormats
java.lang.Object
org.conical.common.bbl.util.DataFormats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFullName(Name name) Easy way to take the components of a Name and combine them into a human-readable single string.static StringnullSafeUpper(String value) Returns the uppercase value of the passed value, or null if null is passed in.
-
Constructor Details
-
DataFormats
public DataFormats()
-
-
Method Details
-
getFullName
Easy way to take the components of a Name and combine them into a human-readable single string. This is in the format "first middle last suffix.description", omitting empty or null fields.- Parameters:
name- Name object- Returns:
- full name as string
-
nullSafeUpper
Returns the uppercase value of the passed value, or null if null is passed in.- Parameters:
value- value to be uppercased- Returns:
- uppercase value or null
-