public class IdHelper extends Object
| Constructor and Description |
|---|
IdHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
cleanId(Class id) |
static String |
cleanId(String id) |
static boolean |
equalsCleanId(Class one,
Class two) |
static <BeanType extends IdDto> |
exists(Collection<BeanType> source,
String id) |
static <BeanType extends IdDto> |
findById(Collection<BeanType> source,
String id) |
static String |
getDtoShortName(Class<?> dataType) |
static String |
getDtoSimplifiedName(Class<?> dataType) |
static String |
getEntityShortName(String id) |
static String |
getEntitySimplifiedName(Class<?> dataType) |
static String |
getEntitySimplifiedName(String dataType) |
static boolean |
isData(Class type) |
static boolean |
isReferential(Class type) |
static boolean |
isReferentialFromPackageName(String packageName) |
static <BeanType extends IdDto> |
newIdPredicate(String id) |
public static boolean isReferential(Class type)
public static boolean isReferentialFromPackageName(String packageName)
public static boolean isData(Class type)
public static <BeanType extends IdDto> BeanType findById(Collection<BeanType> source, String id)
public static <BeanType extends IdDto> boolean exists(Collection<BeanType> source, String id)
Copyright © 2017–2018 IRD. All rights reserved.