Class DefaultAttributeDescriptorModelHelperService
java.lang.Object
de.hybris.platform.cms2.servicelayer.services.impl.DefaultAttributeDescriptorModelHelperService
- All Implemented Interfaces:
AttributeDescriptorModelHelperService
public class DefaultAttributeDescriptorModelHelperService
extends Object
implements AttributeDescriptorModelHelperService
Default implementation of
AttributeDescriptorModelHelperService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>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 aParameterizedTypeClass<?>getDeclaringEnclosingTypeClass(AttributeDescriptorModel attributeDescriptor) Will return the actual class of the declaring enclosing type of this propertyprotected TypeServicevoidsetTypeService(TypeService typeService)
-
Constructor Details
-
DefaultAttributeDescriptorModelHelperService
public DefaultAttributeDescriptorModelHelperService()
-
-
Method Details
-
getAttributeClass
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
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
-
getTypeService
-