ter.API
Class TypeClass

java.lang.Object
  |
  +--ter.API.TypeClass

public class TypeClass
extends java.lang.Object

Title: TypeClass

Description: gets the real name of a class which is an array

Copyright: Copyright (c) 2003

Company: UNSA

Version:
1.0
Author:
Jerôme GAHIDE - Lucas CHARBIT - Gabriel ZERBIB - Xavier GALBOIS

Constructor Summary
TypeClass(java.lang.String name, java.lang.Class cl, int theDimension)
          Default constructor
 
Method Summary
 java.lang.Class getCl()
          get the Class object
 int getDimension()
          gets the dimension of class contained (O if it isn't an array)
 java.lang.String getName()
          gets the real name of the contained class
 boolean isArray()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeClass

public TypeClass(java.lang.String name,
                 java.lang.Class cl,
                 int theDimension)
Default constructor

Parameters:
name - the real name of the class
cl - the class
theDimension - the dimension of the array (O if it isn't an array)
Method Detail

getCl

public java.lang.Class getCl()
get the Class object

Returns:
the Class object

isArray

public boolean isArray()
Returns:
true if the contained class is an array false either

getDimension

public int getDimension()
gets the dimension of class contained (O if it isn't an array)

Returns:
the dimension

getName

public java.lang.String getName()
gets the real name of the contained class

Returns:
the name