/*
 * Copyright 2009 IHE International (http://www.ihe.net)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.ihe.xcpd.resp.action;

import javax.ejb.Local;

/**
 * @author Abderrazek Boufahja > INRIA Rennes IHE development Project
 *
 */
@Local
public interface MapperManagerLocal {
    
    public String getRequestV3();
    public void setRequestV3(String requestV3);
    public String getRequestV2();
    public void setRequestV2(String requestV2);
    public String getResponseV3();
    public void setResponseV3(String responseV3);
    public void setInitialV3(String initialV3);
    public String getInitialV3();
    public void setResponseV2(String responseV2);
    public String getResponseV2();
    public void setValidRequest(boolean validRequest);
    public boolean isValidRequest();
    
    public void transformV3ToV2() throws Exception;
    public void transformV2ToV3() throws Exception;
    public void validateV3Request();
    public void validateV3Request(String request);
	
	public void destroy();
}
