org.exolab.javasource

Class JComponentizedType

Known Direct Subclasses:
JArrayType, JCollectionType

public class JComponentizedType
extends JType

JType sub-class for componentized types, such as array as collections.
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttman
Since:
1.0.4

Field Summary

Fields inherited from class org.exolab.javasource.JType

BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, SHORT

Constructor Summary

JComponentizedType(String name, JType componentType, boolean useJava50)
Creates an instance of a componentized type, of type 'name'.

Method Summary

JType
getComponentType()
Returns the component type.
boolean
isUseJava50()
Indicates whether Java 5.0 is used.

Methods inherited from class org.exolab.javasource.JType

getLocalName, getName, isArray, isPrimitive, setName

Constructor Details

JComponentizedType

protected JComponentizedType(String name,
                             JType componentType,
                             boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
Parameters:
name - Type name for this componentized type.
componentType - Component type.
useJava50 - True if Java 5.0 should be used.

Method Details

getComponentType

public final JType getComponentType()
Returns the component type.
Returns:
The component type.

isUseJava50

public final boolean isUseJava50()
Indicates whether Java 5.0 is used.
Returns:
True if Java 5.0 is used.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com