com.thoughtworks.qdox.model
Class Type

java.lang.Object
  extended bycom.thoughtworks.qdox.model.Type
All Implemented Interfaces:
Comparable, Serializable

public class Type
extends Object
implements Comparable, Serializable

See Also:
Serialized Form

Field Summary
static Type[] EMPTY_ARRAY
           
 
Constructor Summary
Type(String fullName)
           
Type(String fullName, int dimensions)
           
Type(String name, int dimensions, JavaClassParent javaClassParent)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 int getDimensions()
           
 JavaClass getJavaClass()
           
 JavaClassParent getJavaClassParent()
           
 String getValue()
           
 int hashCode()
           
 boolean isA(Type type)
           
 boolean isArray()
           
 boolean isResolved()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final Type[] EMPTY_ARRAY
Constructor Detail

Type

public Type(String name,
            int dimensions,
            JavaClassParent javaClassParent)

Type

public Type(String fullName,
            int dimensions)

Type

public Type(String fullName)
Method Detail

getJavaClassParent

public JavaClassParent getJavaClassParent()

getValue

public String getValue()

isResolved

public boolean isResolved()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable
See Also:
Comparable.compareTo(Object)

isArray

public boolean isArray()

getDimensions

public int getDimensions()

toString

public String toString()

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getJavaClass

public JavaClass getJavaClass()

isA

public boolean isA(Type type)
Since:
1.3


Copyright © 2002-2003 ThoughtWorks, Inc. All Rights Reserved.