for (String dispatcherValue : dispatcherTypesValue.asEnumArray()) { dispatchers.add(DispatcherType.valueOf(dispatcherValue));
private Set<CascadeType> determineCascadeTypes(AnnotationInstance associationAnnotation) { Set<CascadeType> cascadeTypes = new HashSet<CascadeType>(); AnnotationValue cascadeValue = associationAnnotation.value( "cascade" ); if ( cascadeValue != null ) { String[] cascades = cascadeValue.asEnumArray(); for ( String s : cascades ) { cascadeTypes.add( Enum.valueOf( CascadeType.class, s ) ); } } return cascadeTypes; }
private Set<CascadeType> determineCascadeTypes(AnnotationInstance associationAnnotation) { Set<CascadeType> cascadeTypes = new HashSet<CascadeType>(); AnnotationValue cascadeValue = associationAnnotation.value( "cascade" ); if ( cascadeValue != null ) { String[] cascades = cascadeValue.asEnumArray(); for ( String s : cascades ) { cascadeTypes.add( Enum.valueOf( CascadeType.class, s ) ); } } return cascadeTypes; }
String[] cascadeTypes = cascadeValue.asEnumArray(); boolean hasPersistDefined = false; for ( String type : cascadeTypes ) {
String[] cascadeTypes = cascadeValue.asEnumArray(); boolean hasPersistDefined = false; for ( String type : cascadeTypes ) {
for (String dispatcherValue : dispatcherTypesValue.asEnumArray()) { dispatchers.add(DispatcherType.valueOf(dispatcherValue));
for (String dispatcherValue : dispatcherTypesValue.asEnumArray()) { dispatchers.add(DispatcherType.valueOf(dispatcherValue));