org.apache.xbean.spring.generator
Class Type

java.lang.Object
  extended by org.apache.xbean.spring.generator.Type

public class Type
extends Object

Since:
1.0
Author:
Dain Sundstrom

Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 Type getNestedType()
           
 int hashCode()
           
 boolean isCollection()
           
 boolean isPrimitive()
           
static Type newArrayType(String type, int dimensions)
           
static Type newCollectionType(String collectionType, Type elementType)
           
static Type newSimpleType(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newSimpleType

public static Type newSimpleType(String name)

newArrayType

public static Type newArrayType(String type,
                                int dimensions)

newCollectionType

public static Type newCollectionType(String collectionType,
                                     Type elementType)

getName

public String getName()

getNestedType

public Type getNestedType()

isCollection

public boolean isCollection()

isPrimitive

public boolean isPrimitive()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.