/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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 org.apache.openejb.test.stateless;

import java.rmi.RemoteException;

import jakarta.ejb.EJBHome;
import jakarta.ejb.EJBMetaData;
import jakarta.ejb.EJBObject;
import jakarta.ejb.Handle;

import org.apache.openejb.test.object.ObjectGraph;
import org.apache.openejb.test.object.Color;

public interface RmiIiopStatelessObject extends jakarta.ejb.EJBObject {

    public String returnStringObject(String data) throws RemoteException;

    public String[] returnStringObjectArray(String[] data) throws RemoteException;

    public Character returnCharacterObject(Character data) throws RemoteException;

    public char returnCharacterPrimitive(char data) throws RemoteException;

    public Character[] returnCharacterObjectArray(Character[] data) throws RemoteException;

    public char[] returnCharacterPrimitiveArray(char[] data) throws RemoteException;

    public Boolean returnBooleanObject(Boolean data) throws RemoteException;

    public boolean returnBooleanPrimitive(boolean data) throws RemoteException;

    public Boolean[] returnBooleanObjectArray(Boolean[] data) throws RemoteException;

    public boolean[] returnBooleanPrimitiveArray(boolean[] data) throws RemoteException;

    public Byte returnByteObject(Byte data) throws RemoteException;

    public byte returnBytePrimitive(byte data) throws RemoteException;

    public Byte[] returnByteObjectArray(Byte[] data) throws RemoteException;

    public byte[] returnBytePrimitiveArray(byte[] data) throws RemoteException;

    public Short returnShortObject(Short data) throws RemoteException;

    public short returnShortPrimitive(short data) throws RemoteException;

    public Short[] returnShortObjectArray(Short[] data) throws RemoteException;

    public short[] returnShortPrimitiveArray(short[] data) throws RemoteException;

    public Integer returnIntegerObject(Integer data) throws RemoteException;

    public int returnIntegerPrimitive(int data) throws RemoteException;

    public Integer[] returnIntegerObjectArray(Integer[] data) throws RemoteException;

    public int[] returnIntegerPrimitiveArray(int[] data) throws RemoteException;

    public Long returnLongObject(Long data) throws RemoteException;

    public long returnLongPrimitive(long data) throws RemoteException;

    public Long[] returnLongObjectArray(Long[] data) throws RemoteException;

    public long[] returnLongPrimitiveArray(long[] data) throws RemoteException;

    public Float returnFloatObject(Float data) throws RemoteException;

    public float returnFloatPrimitive(float data) throws RemoteException;

    public Float[] returnFloatObjectArray(Float[] data) throws RemoteException;

    public float[] returnFloatPrimitiveArray(float[] data) throws RemoteException;

    public Double returnDoubleObject(Double data) throws RemoteException;

    public double returnDoublePrimitive(double data) throws RemoteException;

    public Double[] returnDoubleObjectArray(Double[] data) throws RemoteException;

    public double[] returnDoublePrimitiveArray(double[] data) throws RemoteException;

    public EJBHome returnEJBHome(EJBHome data) throws RemoteException;

    public EJBHome returnEJBHome() throws RemoteException;

    public ObjectGraph returnNestedEJBHome() throws RemoteException;

    public EJBHome[] returnEJBHomeArray(EJBHome[] data) throws RemoteException;

    public EJBObject returnEJBObject(EJBObject data) throws RemoteException;

    public EJBObject returnEJBObject() throws RemoteException;

    public ObjectGraph returnNestedEJBObject() throws RemoteException;

    public EJBObject[] returnEJBObjectArray(EJBObject[] data) throws RemoteException;

    public EJBMetaData returnEJBMetaData(EJBMetaData data) throws RemoteException;

    public EJBMetaData returnEJBMetaData() throws RemoteException;

    public ObjectGraph returnNestedEJBMetaData() throws RemoteException;

    public EJBMetaData[] returnEJBMetaDataArray(EJBMetaData[] data) throws RemoteException;

    public Handle returnHandle(Handle data) throws RemoteException;

    public Handle returnHandle() throws RemoteException;

    public ObjectGraph returnNestedHandle() throws RemoteException;

    public Handle[] returnHandleArray(Handle[] data) throws RemoteException;

    public ObjectGraph returnObjectGraph(ObjectGraph data) throws RemoteException;

    public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data) throws RemoteException;

    public Class returnClass(Class data) throws RemoteException;

    public Class[] returnClassArray(Class[] data) throws RemoteException;

    public Color returnColor(Color data) throws RemoteException;

    public Color returnColor() throws RemoteException;

    public ObjectGraph returnNestedColor() throws RemoteException;

    public Color[] returnColorArray(Color[] data) throws RemoteException;

}
