return pluralAttributeElement.getCheck();
}
@Override
public Caching getCaching() {
final JaxbCacheElement cache = pluralAttributeElement.getCache();
if ( cache == null ) {
return null;
}
final String region = cache.getRegion() != null
? cache.getRegion()
: StringHelper.qualify( container().getPath(), getName() );
final AccessType accessType = Enum.valueOf( AccessType.class, cache.getUsage() );
final boolean cacheLazyProps = !"non-lazy".equals( cache.getInclude() );
return new Caching( region, accessType, cacheLazyProps );
}