org.apache.ibatis.abator.api.dom.java
Class FullyQualifiedJavaType
java.lang.Object
org.apache.ibatis.abator.api.dom.java.FullyQualifiedJavaType
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- JavaWildcardType, PrimitiveTypeWrapper
public class FullyQualifiedJavaType
- extends java.lang.Object
- implements java.lang.Comparable
- Author:
- Jeff Butler
Constructor Summary |
FullyQualifiedJavaType(java.lang.String fullyQualifiedName)
Use this constructor to construct a generic type with the specified
type parameters |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FullyQualifiedJavaType
public FullyQualifiedJavaType(java.lang.String fullyQualifiedName)
- Use this constructor to construct a generic type with the specified
type parameters
- Parameters:
fullyQualifiedName
-
isExplicitlyImported
public boolean isExplicitlyImported()
- Returns:
- Returns the explicitlyImported.
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
- This method returns the fully qualified name that is suitable
for an import statement (i.e. - without the genercs specified)
- Returns:
- Returns the fullyQualifiedName.
getPackageName
public java.lang.String getPackageName()
- Returns:
- Returns the packageName.
getShortName
public java.lang.String getShortName()
- Returns:
- Returns the shortName.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isPrimitive
public boolean isPrimitive()
- Returns:
- Returns the primitive.
getPrimitiveTypeWrapper
public PrimitiveTypeWrapper getPrimitiveTypeWrapper()
- Returns:
- Returns the wrapperClass.
getIntInstance
public static final FullyQualifiedJavaType getIntInstance()
getNewMapInstance
public static final FullyQualifiedJavaType getNewMapInstance()
getNewListInstance
public static final FullyQualifiedJavaType getNewListInstance()
getNewHashMapInstance
public static final FullyQualifiedJavaType getNewHashMapInstance()
getNewArrayListInstance
public static final FullyQualifiedJavaType getNewArrayListInstance()
getNewIteratorInstance
public static final FullyQualifiedJavaType getNewIteratorInstance()
getStringInstance
public static final FullyQualifiedJavaType getStringInstance()
getBooleanPrimitiveInstance
public static final FullyQualifiedJavaType getBooleanPrimitiveInstance()
getObjectInstance
public static final FullyQualifiedJavaType getObjectInstance()
getDateInstance
public static final FullyQualifiedJavaType getDateInstance()
getCriteriaInstance
public static final FullyQualifiedJavaType getCriteriaInstance()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
addTypeArgument
public void addTypeArgument(FullyQualifiedJavaType type)