org.jbpm.wire.descriptor
Class ArgDescriptor

java.lang.Object
  extended by org.jbpm.wire.descriptor.ArgDescriptor
All Implemented Interfaces:
java.io.Serializable

public class ArgDescriptor
extends java.lang.Object
implements java.io.Serializable

This class specifies an argument to be supplied to a method.

Author:
Tom Baeyens, Guillaume Porcher (documentation)
See Also:
ObjectDescriptor, InvokeOperation, SubscribeOperation, Serialized Form

Constructor Summary
ArgDescriptor()
           
 
Method Summary
 Descriptor getDescriptor()
          Gets the Descriptor used to construct the value given to the argument.
 java.lang.String getTypeName()
          Gets the name of the type of this argument if it is defined.
 void setDescriptor(Descriptor descriptor)
          Sets the Descriptor used to construct the value given to the argument.
 void setTypeName(java.lang.String typeName)
          Sets the name of the type of this argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgDescriptor

public ArgDescriptor()
Method Detail

getDescriptor

public Descriptor getDescriptor()
Gets the Descriptor used to construct the value given to the argument.


setDescriptor

public void setDescriptor(Descriptor descriptor)
Sets the Descriptor used to construct the value given to the argument.

Parameters:
descriptor -

getTypeName

public java.lang.String getTypeName()
Gets the name of the type of this argument if it is defined. If the type name is not defined, the type of the Descriptor is used.


setTypeName

public void setTypeName(java.lang.String typeName)
Sets the name of the type of this argument.

Parameters:
typeName -