Class ClassFieldFinder
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.service.ClassFieldFinder
-
public class ClassFieldFinder extends java.lang.Object
Service to find a field value for a given class
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
TYPECODE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getTypeCode(java.lang.Class<?> clazz)
Return the type code of a given class; expect a class of type or extending fromItemModel
-
-
-
Field Detail
-
TYPECODE
protected static final java.lang.String TYPECODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeCode
public static java.lang.String getTypeCode(java.lang.Class<?> clazz)
Return the type code of a given class; expect a class of type or extending fromItemModel
- Parameters:
clazz
- - a class from which to extract the type code- Returns:
- the type code for the given class; null if the class does not define a type code field
-
-