org.mybatis.generator.api.dom.java
Class FullyQualifiedJavaType
java.lang.Object
org.mybatis.generator.api.dom.java.FullyQualifiedJavaType
- All Implemented Interfaces:
- java.lang.Comparable<FullyQualifiedJavaType>
- Direct Known Subclasses:
- PrimitiveTypeWrapper
public class FullyQualifiedJavaType
- extends java.lang.Object
- implements java.lang.Comparable<FullyQualifiedJavaType>
- Author:
- Jeff Butler
Constructor Summary |
FullyQualifiedJavaType(java.lang.String fullTypeSpecification)
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 fullTypeSpecification)
- Use this constructor to construct a generic type with the specified type
parameters
- Parameters:
fullTypeSpecification
-
isExplicitlyImported
public boolean isExplicitlyImported()
- Returns:
- Returns the explicitlyImported.
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
- This method returns the fully qualified name - including any generic type
parameters
- Returns:
- Returns the fullyQualifiedName.
getImportList
public java.util.List<java.lang.String> getImportList()
- Returns a list of Strings that are the fully qualified names of this
type, and any generic type argument associated with this type.
getPackageName
public java.lang.String getPackageName()
- Returns:
- Returns the packageName.
getShortName
public java.lang.String getShortName()
- Returns:
- Returns the shortName - including any type arguments.
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()
getGeneratedCriteriaInstance
public static final FullyQualifiedJavaType getGeneratedCriteriaInstance()
compareTo
public int compareTo(FullyQualifiedJavaType other)
- Specified by:
compareTo
in interface java.lang.Comparable<FullyQualifiedJavaType>
addTypeArgument
public void addTypeArgument(FullyQualifiedJavaType type)