public class DefaultPrefetchAttributeMode extends Object implements AttributePrefetchMode
ServicelayerConstants.ATTRIBUTE_PREFETCH_MODE_FLAG property at the
the specified attribute descriptor.
If no value has been specified it calls ItemModelConverter.mustConvert(Type) in order to determine whether or
not to preLoad the model attribute.| Constructor and Description |
|---|
DefaultPrefetchAttributeMode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrefetched(AttributeDescriptor desc) |
protected boolean |
isPrefetchedAsDefault(AttributeDescriptor desc)
Called when no specific preFetch property has been found.
|
String |
toString() |
public boolean isPrefetched(AttributeDescriptor desc)
isPrefetched in interface AttributePrefetchModeprotected boolean isPrefetchedAsDefault(AttributeDescriptor desc)
ItemModelConverter.mustConvert(Type) in
order to determine whether or not to preLoad the model attribute.desc - the attribute descriptor to evaluateCopyright © 2017 SAP SE. All Rights Reserved.