Class Type
- java.lang.Object
-
- org.apache.xbean.spring.generator.Type
-
public class Type extends java.lang.Object
- Since:
- 1.0
- Version:
- $Id$
- Author:
- Dain Sundstrom
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getName()
Type
getNestedType()
int
hashCode()
boolean
isCollection()
boolean
isPrimitive()
static Type
newArrayType(java.lang.String type, int dimensions)
static Type
newCollectionType(java.lang.String collectionType, Type elementType)
static Type
newSimpleType(java.lang.String name)
-
-
-
Method Detail
-
newSimpleType
public static Type newSimpleType(java.lang.String name)
-
newArrayType
public static Type newArrayType(java.lang.String type, int dimensions)
-
newCollectionType
public static Type newCollectionType(java.lang.String collectionType, Type elementType)
-
getName
public java.lang.String getName()
-
getNestedType
public Type getNestedType()
-
isCollection
public boolean isCollection()
-
isPrimitive
public boolean isPrimitive()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-