org.exolab.javasource
Class JPrimitiveType
public final class JPrimitiveType
JType sub-class for java primitives.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
JPrimitiveType(String name, String wrapperName) - Creates a new JPrimitiveType for a primitive with the given name and wrapper name.
|
String | getWrapperName() - Return the name of the wrapper object for a primitive type, null for
non-primitive types.
|
String | toString() -
Returns the String representation of this JType.
|
JPrimitiveType
protected JPrimitiveType(String name,
String wrapperName)
Creates a new JPrimitiveType for a primitive with the given name and wrapper name.
This constructor is protected so it can only be used by the primitives defined at JType.
name
- The name of the type.wrapperName
- The name of the wrapper Object type for this primitive type.
getWrapperName
public String getWrapperName()
Return the name of the wrapper object for a primitive type, null for
non-primitive types.
- The name of the wrapper object for a primitive type, null for
non-primitive types.
toString
public String toString()
Returns the String representation of this JType.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com