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
- Author:
- Simone Tripodi
-
Field Summary
-
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
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JType
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
-
Constructor Details
-
JMapType
Creates an instance of a map type, of type 'mapName'.- Parameters:
typeName
- Name of the map type interface.componentType
- Component type.
-
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.
-
-
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.
-