Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## xjavadoc
Class ReturnType

    java.lang.Object
      xjavadoc.AbstractType
          xjavadoc.ReturnType

All Implemented Interfaces:
  Type

class ReturnType
extends AbstractType

Implementation of Type for method return types.

Version:
  $Revision: 1.3 $
Author:
  Aslak Hellesøy

Constructor Summary
`ReturnType(MethodImpl method)`

Method Summary
`boolean` | `equals(Object o)`
`int` | `getDimension()` Returns the dimension as an int
`String` | `getDimensionAsString()` Returns the dimension as a String, "", "[]", "[][]" etc.
`XClass` | `getType()` Get type
`void` | `setDimension(int dimension)`
`void` | `setType(String typeString)`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ReturnType

    public ReturnType(MethodImpl method)

Method Detail

### getDimensionAsString

    public String getDimensionAsString()

  Description copied from interface: `Type`
  Returns the dimension as a String, "", "[]", "[][]" etc.

  Returns:
    dimension as a String

### getType

    public XClass getType()

  Description copied from interface: `Type`
  Get type

  Returns:
    type

### getDimension

    public int getDimension()

  Description copied from interface: `Type`
  Returns the dimension as an int

  Returns:
    dimension as an int

### setDimension

    public void setDimension(int dimension)

### setType

    public void setType(String typeString)

### equals

    public boolean equals(Object o)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2004 XDoclet Team. All Rights Reserved.