jdk/src/share/classes/com/sun/pept/presentation/MessageStruct.java
changeset 24614 95a387d538e7
parent 24613 dbec02c24c7a
parent 24600 c84491c8dcc6
child 24615 74eb0778e4f2
equal deleted inserted replaced
24613:dbec02c24c7a 24614:95a387d538e7
     1 /*
       
     2  * Copyright (c) 2005, Oracle and/or its affiliates. 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.  Oracle designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22  * or visit www.oracle.com if you need additional information or have any
       
    23  * 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