weborb.inspection
Class MethodDescriptor

java.lang.Object
  extended by weborb.inspection.MethodDescriptor
All Implemented Interfaces:
IInspectionConstants, INamedType, IUseDirectFieldAccess

public class MethodDescriptor
extends java.lang.Object
implements INamedType, IInspectionConstants, IUseDirectFieldAccess

MethodDescriptor MethodDescriptor class describes a method in a service inspection response. A method descriptor contains a collection of argument descriptors. A method descriptor must be added to an instance of ServiceDescriptor using ServiceDescriptor.addMethod()

Author:
Midnight Coders, LLC

Field Summary
 ArgumentDescriptor[] arguments
           
 java.lang.String description
           
 java.lang.String name
           
 java.lang.String returns
           
 java.lang.String version
           
 
Fields inherited from interface weborb.inspection.IInspectionConstants
ARGUMENTMETADATA, FUNCTIONMETADATA, SERVICEMETADATA
 
Constructor Summary
MethodDescriptor()
           
 
Method Summary
 void addArgument(ArgumentDescriptor argument)
          Add an argument for this method
 java.lang.String getTypeName()
          This method is not intended for public use.
 void setDescription(java.lang.String description)
          Set method description
 void setMethodName(java.lang.String name)
          Set method name
 void setReturnType(java.lang.String returnType)
          Set return type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

version

public java.lang.String version

arguments

public ArgumentDescriptor[] arguments

returns

public java.lang.String returns

description

public java.lang.String description
Constructor Detail

MethodDescriptor

public MethodDescriptor()
Method Detail

setMethodName

public void setMethodName(java.lang.String name)
Set method name

Parameters:
name -

setDescription

public void setDescription(java.lang.String description)
Set method description

Parameters:
description -

setReturnType

public void setReturnType(java.lang.String returnType)
Set return type

Parameters:
returnType -

addArgument

public void addArgument(ArgumentDescriptor argument)
Add an argument for this method

Parameters:
argument -

getTypeName

public java.lang.String getTypeName()
This method is not intended for public use. It is required in this class for the implementation of INamedType

Specified by:
getTypeName in interface INamedType
Returns:
String name of the type


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.