Class DefaultAttributeDescriptorModelHelperService
- java.lang.Object
-
- de.hybris.platform.cms2.servicelayer.services.impl.DefaultAttributeDescriptorModelHelperService
-
- All Implemented Interfaces:
AttributeDescriptorModelHelperService
public class DefaultAttributeDescriptorModelHelperService extends java.lang.Object implements AttributeDescriptorModelHelperService
Default implementation ofAttributeDescriptorModelHelperService
-
-
Constructor Summary
Constructors Constructor Description DefaultAttributeDescriptorModelHelperService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getAttributeClass(AttributeDescriptorModel attributeDescriptor)Will return: the actual class of the property if this is not aParameterizedTypethe class of the generic type of the class of the property if this is aParameterizedTypejava.lang.Class<?>getDeclaringEnclosingTypeClass(AttributeDescriptorModel attributeDescriptor)Will return the actual class of the declaring enclosing type of this propertyprotected TypeServicegetTypeService()voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
getAttributeClass
public java.lang.Class<?> getAttributeClass(AttributeDescriptorModel attributeDescriptor)
Description copied from interface:AttributeDescriptorModelHelperServiceWill return:- the actual class of the property if this is not a
ParameterizedType - the class of the generic type of the class of the property if this is a
ParameterizedType
- Specified by:
getAttributeClassin interfaceAttributeDescriptorModelHelperService- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
- the actual class of the property if this is not a
-
getDeclaringEnclosingTypeClass
public java.lang.Class<?> getDeclaringEnclosingTypeClass(AttributeDescriptorModel attributeDescriptor)
Description copied from interface:AttributeDescriptorModelHelperServiceWill return the actual class of the declaring enclosing type of this property- Specified by:
getDeclaringEnclosingTypeClassin interfaceAttributeDescriptorModelHelperService- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
-
setTypeService
public void setTypeService(TypeService typeService)
-
getTypeService
protected TypeService getTypeService()
-
-