org.iqual.chaplin.msg
Class Message

java.lang.Object
  extended by org.iqual.chaplin.msg.Message

public class Message
extends Object

This class represents a message within a context.

Since:
Jun 4, 2009 8:15:02 PM
Author:
Zbynek Slajchrt

Constructor Summary
Message()
           
Message(RequestMethod requestMethod, boolean isTrace, Object source, String methodName, Class[] argumentTypes, Class returnType, boolean dynaSign, long minOccurs, long maxOccurs, Object[] arguments)
           
 
Method Summary
 Message createClone()
           
 Message createClone(Object[] newArguments)
           
 AggregationType getAggregationType()
           
 Object[] getArguments()
           
 Class[] getArgumentTypes()
           
 String getContext()
           
 MessageReceiver getDefaultReceiver()
           
 long getMaxOccurs()
           
 String getMethodName()
           
 long getMinOccurs()
           
 String getQualifiedMethodName()
           
 ReplyTransformer getReplyTransformer()
           
 RequestMethod getRequestMethod()
           
 Class getReturnType()
           
 MessageScope getScope()
           0 - the closest scope -1 - the top scope -n - the (n-1)-th scope bellow top scope n - the n-th scope above the closest scope
 Object getSource()
           
 boolean isDynaSign()
           
 boolean isTrace()
           
 void setAggregationType(AggregationType aggrType)
           
 void setArguments(Object[] arguments)
           
 void setArgumentTypes(Class[] argumentTypes)
           
 void setContext(String context)
           
 void setDefaultReceiver(MessageReceiver defaultReceiver)
           
 void setDynaSign(boolean dynaSign)
           
 void setMaxOccurs(long maxOccurs)
           
 void setMethodName(String methodName)
           
 void setMinOccurs(long minOccurs)
           
 void setReplyTransformer(ReplyTransformer transformer)
           
 void setRequestMethod(RequestMethod requestMethod)
           
 void setReturnType(Class returnType)
           
 void setScope(MessageScope scope)
           
 void setSource(Object source)
           
 void setTrace(boolean trace)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message()

Message

public Message(RequestMethod requestMethod,
               boolean isTrace,
               Object source,
               String methodName,
               Class[] argumentTypes,
               Class returnType,
               boolean dynaSign,
               long minOccurs,
               long maxOccurs,
               Object[] arguments)
Method Detail

isTrace

public boolean isTrace()

getRequestMethod

public RequestMethod getRequestMethod()

createClone

public Message createClone()

createClone

public Message createClone(Object[] newArguments)

getSource

public Object getSource()

getContext

public String getContext()

getMethodName

public String getMethodName()

getQualifiedMethodName

public String getQualifiedMethodName()

getArgumentTypes

public Class[] getArgumentTypes()

getReturnType

public Class getReturnType()

isDynaSign

public boolean isDynaSign()

getMinOccurs

public long getMinOccurs()

getMaxOccurs

public long getMaxOccurs()

getArguments

public Object[] getArguments()

setSource

public void setSource(Object source)

setContext

public void setContext(String context)

setMethodName

public void setMethodName(String methodName)

setArgumentTypes

public void setArgumentTypes(Class[] argumentTypes)

setReturnType

public void setReturnType(Class returnType)

setDynaSign

public void setDynaSign(boolean dynaSign)

setMinOccurs

public void setMinOccurs(long minOccurs)

setMaxOccurs

public void setMaxOccurs(long maxOccurs)

setArguments

public void setArguments(Object[] arguments)

setRequestMethod

public void setRequestMethod(RequestMethod requestMethod)

setTrace

public void setTrace(boolean trace)

getScope

public MessageScope getScope()

Returns:
the message scope

setScope

public void setScope(MessageScope scope)

setDefaultReceiver

public void setDefaultReceiver(MessageReceiver defaultReceiver)

getAggregationType

public AggregationType getAggregationType()

setAggregationType

public void setAggregationType(AggregationType aggrType)

getDefaultReceiver

public MessageReceiver getDefaultReceiver()

getReplyTransformer

public ReplyTransformer getReplyTransformer()

setReplyTransformer

public void setReplyTransformer(ReplyTransformer transformer)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 iquality.org. All Rights Reserved.