protected FetchType buildSpecifiedFetch() { A annotation = this.getMappingAnnotation(); return (annotation == null) ? null : FetchType.fromJavaResourceModel(annotation.getFetch()); }
public void setSpecifiedFetch(FetchType fetch) { if (ObjectTools.notEquals(fetch, this.specifiedFetch)) { this.getAnnotationForUpdate().setFetch(FetchType.toJavaResourceModel(fetch)); this.setSpecifiedFetch_(fetch); } }