jdk/src/share/classes/com/sun/pept/presentation/MessageStruct.java
changeset 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
0:fd16c54261b3 2:90ce3da70b43
       
     1 /*
       
     2  * Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
       
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4  *
       
     5  * This code is free software; you can redistribute it and/or modify it
       
     6  * under the terms of the GNU General Public License version 2 only, as
       
     7  * published by the Free Software Foundation.  Sun designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Sun in the LICENSE file that accompanied this code.
       
    10  *
       
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14  * version 2 for more details (a copy is included in the LICENSE file that
       
    15  * accompanied this code).
       
    16  *
       
    17  * You should have received a copy of the GNU General Public License version
       
    18  * 2 along with this work; if not, write to the Free Software Foundation,
       
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20  *
       
    21  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
       
    22  * CA 95054 USA or visit www.sun.com if you need additional information or
       
    23  * have any questions.
       
    24  */
       
    25 
       
    26 /** Java interface "MessageStruct.java" generated from Poseidon for UML.
       
    27  *  Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
       
    28  *  Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
       
    29  */
       
    30 package com.sun.pept.presentation;
       
    31 
       
    32 import java.util.*;
       
    33 import java.lang.reflect.Method;
       
    34 /**
       
    35  * <p>
       
    36  *
       
    37  * @author Dr. Harold Carr
       
    38  * </p>
       
    39  */
       
    40 public interface MessageStruct {
       
    41 
       
    42   ///////////////////////////////////////
       
    43   //attributes
       
    44 
       
    45 
       
    46 /**
       
    47  * <p>
       
    48  * Represents ...
       
    49  * </p>
       
    50  */
       
    51     public static final int NORMAL_RESPONSE = 0;
       
    52 
       
    53 /**
       
    54  * <p>
       
    55  * Represents ...
       
    56  * </p>
       
    57  */
       
    58     public static final int CHECKED_EXCEPTION_RESPONSE = 1;
       
    59 
       
    60 /**
       
    61  * <p>
       
    62  * Represents ...
       
    63  * </p>
       
    64  */
       
    65     public static final int UNCHECKED_EXCEPTION_RESPONSE = 2;
       
    66 
       
    67 /**
       
    68  * <p>
       
    69  * Represents ...
       
    70  * </p>
       
    71  */
       
    72     public static final int REQUEST_RESPONSE_MEP = 1;
       
    73 
       
    74 /**
       
    75  * <p>
       
    76  * Represents ...
       
    77  * </p>
       
    78  */
       
    79     public static final int ONE_WAY_MEP = 2;
       
    80 
       
    81 /**
       
    82  * <p>
       
    83  * Represents ...
       
    84  * </p>
       
    85  */
       
    86     public static final int ASYNC_POLL_MEP = 3;
       
    87 
       
    88 /**
       
    89  * <p>
       
    90  * Represents ...
       
    91  * </p>
       
    92  */
       
    93     public static final int ASYNC_CALLBACK_MEP = 4;
       
    94 
       
    95   ///////////////////////////////////////
       
    96   // operations
       
    97 
       
    98 /**
       
    99  * <p>
       
   100  * Does ...
       
   101  * </p><p>
       
   102  *
       
   103  * @param data ...
       
   104  * </p><p>
       
   105  *
       
   106  * </p>
       
   107  */
       
   108     public void setData(Object[] data);
       
   109 /**
       
   110  * <p>
       
   111  * Does ...
       
   112  * </p><p>
       
   113  *
       
   114  * @return a Object[] with ...
       
   115  * </p>
       
   116  */
       
   117     public Object[] getData();
       
   118 /**
       
   119  * <p>
       
   120  * Does ...
       
   121  * </p><p>
       
   122  *
       
   123  * </p><p>
       
   124  *
       
   125  * @param name ...
       
   126  * </p><p>
       
   127  * @param value ...
       
   128  * </p>
       
   129  */
       
   130     public void setMetaData(Object name, Object value);
       
   131 /**
       
   132  * <p>
       
   133  * Does ...
       
   134  * </p><p>
       
   135  *
       
   136  * @return a Object with ...
       
   137  * </p><p>
       
   138  * @param name ...
       
   139  * </p>
       
   140  */
       
   141     public Object getMetaData(Object name);
       
   142 /**
       
   143  * <p>
       
   144  * Does ...
       
   145  * </p><p>
       
   146  *
       
   147  * </p><p>
       
   148  *
       
   149  * @param messageExchangePattern ...
       
   150  * </p>
       
   151  */
       
   152     public void setMEP(int messageExchangePattern);
       
   153 /**
       
   154  * <p>
       
   155  * Does ...
       
   156  * </p><p>
       
   157  *
       
   158  * @return a int with ...
       
   159  * </p>
       
   160  */
       
   161     public int getMEP();
       
   162 /**
       
   163  * <p>
       
   164  * Does ...
       
   165  * </p><p>
       
   166  *
       
   167  * @return a int with ...
       
   168  * </p>
       
   169  */
       
   170     public int getResponseType();
       
   171 /**
       
   172  * <p>
       
   173  * Does ...
       
   174  * </p><p>
       
   175  *
       
   176  * </p><p>
       
   177  *
       
   178  * @param responseType ...
       
   179  * </p>
       
   180  */
       
   181     public void setResponseType(int responseType);
       
   182 /**
       
   183  * <p>
       
   184  * Does ...
       
   185  * </p><p>
       
   186  *
       
   187  * @return a Object with ...
       
   188  * </p>
       
   189  */
       
   190     public Object getResponse();
       
   191 /**
       
   192  * <p>
       
   193  * Does ...
       
   194  * </p><p>
       
   195  *
       
   196  * </p><p>
       
   197  *
       
   198  * @param response ...
       
   199  * </p>
       
   200  */
       
   201     public void setResponse(Object response);
       
   202 /**
       
   203  * <p>
       
   204  * Does ...
       
   205  * </p><p>
       
   206  *
       
   207  * </p><p>
       
   208  *
       
   209  * @param method ...
       
   210  * </p>
       
   211  */
       
   212     public void setMethod(Method method);
       
   213 /**
       
   214  * <p>
       
   215  * Does ...
       
   216  * </p><p>
       
   217  *
       
   218  * @return a Method with ...
       
   219  * </p>
       
   220  */
       
   221     public Method getMethod();
       
   222 
       
   223 } // end MessageStruct