bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/ApplicationManagement.java
private Bwprocess getBWProcess(String nameAttribute, Bw parent) {
		Bwprocesses bwProcesses = getBWProcesses(parent);
		
		if (bwProcesses != null) {
			for (Bwprocess bwProcess : bwProcesses.getBwprocess()) {
				if (bwProcess.getName().equals(nameAttribute)) {
					return bwProcess;
				}
			}
		} else {
			bwProcesses = new Bwprocesses();
			parent.getRest().add(bwProcesses);
		}
		
		Bwprocess bwProcess = new Bwprocess();
		bwProcess.setName(nameAttribute);
		bwProcesses.getBwprocess().add(bwProcess);
		
		return bwProcess;
	}
private Bwprocess getBWProcess(String nameAttribute, Bw parent) {
		Bwprocesses bwProcesses = getBWProcesses(parent);
		
		if (bwProcesses != null) {
			for (Bwprocess bwProcess : bwProcesses.getBwprocess()) {
				if (bwProcess.getName().equals(nameAttribute)) {
					return bwProcess;
				}
			}
		} else {
			bwProcesses = new Bwprocesses();
			parent.getRest().add(bwProcesses);
		}
		
		Bwprocess bwProcess = new Bwprocess();
		bwProcess.setName(nameAttribute);
		bwProcesses.getBwprocess().add(bwProcess);
		
		return bwProcess;
	}
private Bwprocess getBWProcess ( String nameAttribute , Bw parent ) { Bwprocesses bwProcesses = getBWProcesses ( parent ) ; if ( bwProcesses != null ) { for ( Bwprocess bwProcess : bwProcesses . getBwprocess ( ) ) { if ( bwProcess . getName ( ) . equals ( nameAttribute ) ) { return bwProcess ; } } } else { bwProcesses = new Bwprocesses ( ) ; parent . getRest ( ) . add ( bwProcesses ) ; } Bwprocess bwProcess = new Bwprocess ( ) ; bwProcess . setName ( nameAttribute ) ; bwProcesses . getBwprocess ( ) . add ( bwProcess ) ; return bwProcess ; }
/application/services/bw/bwprocesses/bwprocess
/ application / services / bw / bwprocesses / bwprocess