public class ObjectUtil extends Object
| Constructor and Description |
|---|
ObjectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends BO> |
fromType(String typeName) |
static <T extends BaseTO> |
fromTypeTO(String type) |
static <T extends BO> |
fromUuid(String uuid) |
static <T extends BaseTO> |
fromUuidTO(String uuid) |
static <E> Optional<E> |
getRandom(Collection<E> e) |
static <T> T |
initBOByType(Class<T> type) |
static <T> BO |
initBOByType(ObjectTypeEnum type) |
static BO |
initBOByType(String _type) |
static String |
toJason(Object obj) |
public static <T> T initBOByType(Class<T> type) throws ServiceException
ServiceExceptionpublic static BO initBOByType(String _type) throws ServiceException
ServiceExceptionpublic static <T> BO initBOByType(ObjectTypeEnum type) throws ServiceException
ServiceExceptionpublic static <E> Optional<E> getRandom(Collection<E> e)
Copyright © 2018. All rights reserved.