Class JMapType
java.lang.Object
org.codehaus.modello.plugin.java.javasource.JType
org.codehaus.modello.plugin.java.javasource.JComponentizedType
org.codehaus.modello.plugin.java.javasource.JMapType
JType sub-class for maps.
- Since:
- 1.8
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance name of this map type.toString()
Returns the String representation of this JType, which is simply the name of this type.Methods inherited from class org.codehaus.modello.plugin.java.javasource.JComponentizedType
getComponentType, isUseJava50
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JType
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
-
Field Details
-
_instanceName
Name of the actual map instance to be used, e.g. java.util.ArrayList.
-
-
Constructor Details
-
JMapType
Creates an instance of a map type, of type 'mapName'.- Parameters:
typeName
- Name of the map type interface.componentType
- Component type.useJava50
- True if Java 5.0 should be used.
-
JMapType
Creates an instance of a map type, of type 'mapName'.- Parameters:
typeName
- Name of the map type interface.instanceName
- Name of the actual map type instance.componentType
- Component type.useJava50
- True if Java 5.0 should be used.
-
-
Method Details
-
getInstanceName
Returns the instance name of this map type.- Returns:
- The instance name of this map type.
-
toString
Description copied from class:JType
Returns the String representation of this JType, which is simply the name of this type.
-