|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.ws.wsdl.model.MessageReference
public class MessageReference
Reference to a message within an operation. Since messages may be referenced as input, output, or fault messages, the appropriate type is tracked by this class, along with the actual message.
| Field Summary | |
|---|---|
static int |
FAULT_REFERENCE
Reference to message as fault. |
static int |
INPUT_REFERENCE
Reference to message as input. |
private Message |
m_message
Actual message. |
private java.lang.String |
m_name
Name for this reference. |
private int |
m_usage
Type of message reference. |
static int |
OUTPUT_REFERENCE
Reference to message as output. |
| Constructor Summary | |
|---|---|
private |
MessageReference(int usage)
Internal constructor used with JiBX binding. |
|
MessageReference(int usage,
Message msg)
Constructor from part and element names. |
| Method Summary | |
|---|---|
private static MessageReference |
faultReferenceFactory()
Factory for creating fault message reference templates. |
Message |
getMessage()
Get referenced message. |
java.lang.String |
getName()
Get name for this reference. |
private static MessageReference |
inputReferenceFactory()
Factory for creating input message reference templates. |
boolean |
isFault()
Check if reference is to message as fault. |
boolean |
isInput()
Check if reference is to message as input. |
boolean |
isOutput()
Check if reference is to message as output. |
private static MessageReference |
outputReferenceFactory()
Factory for creating output message reference templates. |
void |
setName(java.lang.String name)
Set name for this reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INPUT_REFERENCE
public static final int OUTPUT_REFERENCE
public static final int FAULT_REFERENCE
private int m_usage
private java.lang.String m_name
private Message m_message
| Constructor Detail |
|---|
private MessageReference(int usage)
usage - reference type code
public MessageReference(int usage,
Message msg)
usage - reference type codemsg - referenced message| Method Detail |
|---|
public boolean isInput()
true if input reference, false if notpublic boolean isOutput()
true if output reference, false if notpublic boolean isFault()
true if fault reference, false if notpublic java.lang.String getName()
public void setName(java.lang.String name)
name - public Message getMessage()
private static MessageReference inputReferenceFactory()
private static MessageReference outputReferenceFactory()
private static MessageReference faultReferenceFactory()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||