Class JComponentizedType
- java.lang.Object
-
- org.codehaus.modello.plugin.java.javasource.JType
-
- org.codehaus.modello.plugin.java.javasource.JComponentizedType
-
- Direct Known Subclasses:
JArrayType
,JCollectionType
,JMapType
public class JComponentizedType extends JType
JType sub-class for componentized types, such as array as collections.- Since:
- 1.0.4
- Version:
- $Revision$ $Date$
- Author:
- Werner Guttman
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JComponentizedType(java.lang.String name, JType componentType)
Creates an instance of a componentized type, of type 'name'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JType
getComponentType()
Returns the component type.-
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JType
changePackage, createArray, getLocalName, getName, isArray, isPrimitive, toString
-
-
-
-
Constructor Detail
-
JComponentizedType
protected JComponentizedType(java.lang.String name, JType componentType)
Creates an instance of a componentized type, of type 'name'.- Parameters:
name
- Type name for this componentized type.componentType
- Component type.
-
-
Method Detail
-
getComponentType
public final JType getComponentType()
Returns the component type.- Overrides:
getComponentType
in classJType
- Returns:
- The component type.
-
-