org.exolab.javasource

Class JComponentizedType

public class JComponentizedType extends JType

JType sub-class for componentized types, such as array as collections.

Since: 1.0.4

Constructor Summary
JComponentizedType(String name, JType componentType, boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
Method Summary
JTypegetComponentType()
Returns the component type.
booleanisUseJava50()
Indicates whether Java 5.0 is used.

Constructor Detail

JComponentizedType

public 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 Detail

getComponentType

public JType getComponentType()
Returns the component type.

Returns: the component type.

isUseJava50

public boolean isUseJava50()
Indicates whether Java 5.0 is used.

Returns: True if Java 5.0 is used

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