Class JCollectionType
- java.lang.Object
-
- org.codehaus.modello.plugin.java.javasource.JType
-
- org.codehaus.modello.plugin.java.javasource.JComponentizedType
-
- org.codehaus.modello.plugin.java.javasource.JCollectionType
-
public final class JCollectionType extends JComponentizedType
JType sub-class for collections.- Since:
- 1.0.4
- Version:
- $Revision$ $Date$
- Author:
- Werner Guttman
-
-
Constructor Summary
Constructors Constructor Description JCollectionType(java.lang.String typeName, java.lang.String instanceName, JType componentType)Creates an instance of a collection type, of type 'collectionName'.JCollectionType(java.lang.String typeName, JType componentType)Creates an instance of a collection type, of type 'collectionName'.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInstanceName()Returns the instance name of this collection type.java.lang.StringtoString()Returns the String representation of this JType.-
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 Detail
-
JCollectionType
public JCollectionType(java.lang.String typeName, JType componentType)Creates an instance of a collection type, of type 'collectionName'.- Parameters:
typeName- Name of the collection type interface.componentType- Component type.
-
JCollectionType
public JCollectionType(java.lang.String typeName, java.lang.String instanceName, JType componentType)Creates an instance of a collection type, of type 'collectionName'.- Parameters:
typeName- Name of the collection type interface.instanceName- Name of the actual collection type instance.componentType- Component type.
-
-