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
JType sub-class for collections.
- Since:
- 1.0.4
- Version:
- $Revision$ $Date$
- Author:
- Werner Guttman
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJCollectionType
(String typeName, String instanceName, JType componentType, boolean useJava50) Creates an instance of a collection type, of type 'collectionName'.JCollectionType
(String typeName, JType componentType, boolean useJava50) Creates an instance of a collection type, of type 'collectionName'. -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance name of this collection type.toString()
Returns the String representation of this JType.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
-
Constructor Details
-
JCollectionType
Creates an instance of a collection type, of type 'collectionName'.- Parameters:
typeName
- Name of the collection type interface.componentType
- Component type.useJava50
- True if Java 5.0 should be used.
-
JCollectionType
public JCollectionType(String typeName, String instanceName, JType componentType, boolean useJava50) 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.useJava50
- True if Java 5.0 should be used.
-
-
Method Details