org.mmbase.util.functions
Class ReturnType

java.lang.Object
  extended byorg.mmbase.util.functions.ReturnType

public class ReturnType
extends java.lang.Object

Description of the return type of certain function. This wraps a Class object but it has some extra members.

Since:
MMBase-1.7
Version:
$Id: ReturnType.java,v 1.2 2004/02/11 20:43:21 keesj Exp $
Author:
Daniel Ockeloen, Michiel Meeuwissen

Field Summary
static ReturnType VOID
           
static java.lang.Object VOID_VALUE
           
 
Constructor Summary
ReturnType(java.lang.Class type, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Map getSubTypes()
           
 java.lang.Class getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOID

public static final ReturnType VOID

VOID_VALUE

public static final java.lang.Object VOID_VALUE
Constructor Detail

ReturnType

public ReturnType(java.lang.Class type,
                  java.lang.String description)
Method Detail

getType

public java.lang.Class getType()
Returns:
The 'Class' object which this object is wrapping.

getDescription

public java.lang.String getDescription()
Returns:
A description of the return value. For documentation purposes.

getSubTypes

public java.util.Map getSubTypes()


MMBase build 1.7.1.20041002