package traitement;
import java.util.*;

/**
 * 
 */
public class RequeteInterne extends Requete {

    private Etage etageDestination;
    public RequeteInterne(Etage etage) {
    	etageDestination=etage;
    }
	public Etage getEtageDestination() {
		return etageDestination;
	}
}

package ascenceur.traitement;

import java.util.*;

public class RequeteInterne implements Requete {

    private Etage etageDestination;
    
    public RequeteInterne(Etage etage) {
    	etageDestination=etage;
    }
    
	@Override
	public Etage getRequeteEtage() {
		// TODO Auto-generated method stub
		return etageDestination;
	}
}

Update RequeteInterne.java