1 57 58 package org.apache.wsif.providers.jca; 59 60 import javax.wsdl.*; 61 62 69 70 public class WSIFMessage_JCA extends org.apache.wsif.base.WSIFDefaultMessage implements javax.resource.cci.Record { 71 72 private static final long serialVersionUID = 1L; 73 public static final int INPUT_MESSAGE = 1; 74 public static final int OUTPUT_MESSAGE = 2; 75 public static final int FAULT_MESSAGE = 3; 76 77 protected String fieldRecordName = null; 78 protected String fieldRecordShortDescription = null; 79 80 protected Definition fieldDefinition = null; 81 protected Binding fieldBinding = null; 82 protected String fieldOperationName = null; 83 protected String fieldInputName = null; 84 protected String fieldOutputName = null; 85 protected int fieldMessageType = 0; 86 protected javax.resource.cci.InteractionSpec fieldInteractionSpec = null; 87 88 97 public WSIFMessage_JCA(Definition aDefinition, Binding aBinding, String aOperationName, String aInputName, String aOutputName, int aMessageType) { 98 super(); 99 this.fieldDefinition = aDefinition; 100 this.fieldBinding = aBinding; 101 this.fieldOperationName = aOperationName; 102 this.fieldInputName = aInputName; 103 this.fieldOutputName = aOutputName; 104 this.fieldMessageType = aMessageType; 105 } 106 107 111 public String getRecordName() { 112 return fieldRecordName; 113 } 114 115 118 public void setRecordName(String name) { 119 this.fieldRecordName = name; 120 } 121 122 125 public void setRecordShortDescription(String desription) { 126 this.fieldRecordShortDescription = desription; 127 } 128 129 133 public String getRecordShortDescription() { 134 return fieldRecordShortDescription; 135 } 136 137 140 public Object clone()throws CloneNotSupportedException { 141 throw new CloneNotSupportedException (); 142 } 143 147 public void setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec) { 148 fieldInteractionSpec = interactionSpec; 149 } 150 151 } | Popular Tags |