All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.cfg.reveng.utils.RevengUtils Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
package org.hibernate.cfg.reveng.utils;

import org.hibernate.cfg.reveng.AssociationInfo;

public class RevengUtils {
	
	public static AssociationInfo createAssociationInfo(			
			String cascade, 
			String fetch, 
			Boolean insert, 
			Boolean update) {
		return new AssociationInfo() {
			@Override
			public String getCascade() {
				return cascade;
			}
			@Override
			public String getFetch() {
				return fetch;
			}
			@Override
			public Boolean getUpdate() {
				return update;
			}
			@Override
			public Boolean getInsert() {
				return insert;
			}
			
		};
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy