Interface AttributeDescriptorModelHelperService
-
- All Known Implementing Classes:
DefaultAttributeDescriptorModelHelperService
public interface AttributeDescriptorModelHelperServiceHelper service to hold convenience methods related to handlingAttributeDescriptorModel
-
-
Method Summary
All Methods Instance Methods Abstract 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 property
-
-
-
Method Detail
-
getAttributeClass
java.lang.Class<?> getAttributeClass(AttributeDescriptorModel attributeDescriptor)
Will 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
- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
- the actual class of the property if this is not a
-
getDeclaringEnclosingTypeClass
java.lang.Class<?> getDeclaringEnclosingTypeClass(AttributeDescriptorModel attributeDescriptor)
Will return the actual class of the declaring enclosing type of this property- Parameters:
attributeDescriptor- theAttributeDescriptorModelto inspect- Returns:
- a Class
-
-