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 booleanequals(java.lang.Object obj)java.lang.StringgetName()TypegetNestedType()inthashCode()booleanisCollection()booleanisPrimitive()static TypenewArrayType(java.lang.String type, int dimensions)static TypenewCollectionType(java.lang.String collectionType, Type elementType)static TypenewSimpleType(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-