public class UserProfileUtils
extends java.lang.Object
UserProfile instances.| Constructor and Description |
|---|
UserProfileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static UserProfile |
convertMapToUserProfile(java.util.Map<java.lang.String,java.lang.Object> map)
Convert a Map to a
UserProfile instance. |
static boolean |
isValidUserProfileMap(java.util.Map<java.lang.String,java.lang.Object> map)
Validate whether a
Map<String, Object> can be transformed into a UserProfile. |
public static boolean isValidUserProfileMap(@Nonnull
java.util.Map<java.lang.String,java.lang.Object> map)
Map<String, Object> can be transformed into a UserProfile.map - The map to check.UserProfile.
False if the map cannot be converted.public static UserProfile convertMapToUserProfile(@Nonnull java.util.Map<java.lang.String,java.lang.Object> map)
UserProfile instance.map - The map to construct the UserProfile from.UserProfile instance.