org.objectweb.jorm.type.lib
Class PTypePAAH

java.lang.Object
  extended byorg.objectweb.jorm.type.api.PType
      extended byorg.objectweb.jorm.type.lib.PTypePAAH
All Implemented Interfaces:
java.io.Serializable

public class PTypePAAH
extends PType

This implementation of the PTypeconsiders that this is the PType which conatains its ancestor. The PAAH letters mean PType As Ancestor Holder.

Author:
Serialized Form

Field Summary
protected  PType[] superTypes
           
 
Fields inherited from class org.objectweb.jorm.type.api.PType
NOSIZE, TYPECODE_BIGDECIMAL, TYPECODE_BIGINTEGER, TYPECODE_BOOLEAN, TYPECODE_BYTE, TYPECODE_BYTEARRAY, TYPECODE_CHAR, TYPECODE_CHARARRAY, TYPECODE_DATE, TYPECODE_DOUBLE, TYPECODE_FLOAT, TYPECODE_INT, TYPECODE_LONG, TYPECODE_OBJBOOLEAN, TYPECODE_OBJBYTE, TYPECODE_OBJCHAR, TYPECODE_OBJDOUBLE, TYPECODE_OBJFLOAT, TYPECODE_OBJINT, TYPECODE_OBJLONG, TYPECODE_OBJSHORT, TYPECODE_REFERENCE, TYPECODE_SERIALIZED, TYPECODE_SHORT, TYPECODE_STRING
 
Constructor Summary
PTypePAAH(java.lang.String classname, PTypeSpace typespace, PType[] supertypes)
          It constructs the types that represent JORM classes.
 
Method Summary
 boolean belongsToInherited(PType pt)
          Verifies if a PType belongs to those inherited by this PType.
 PType[] getInheritedPType()
          It retrieves the PType directly inherited by a PType representing a JORM class.
 
Methods inherited from class org.objectweb.jorm.type.api.PType
equals, getCodingName, getJavaName, getJormName, getNestedPType, getProgName, getPTypeSpace, getSubTypes, getTypeCode, isa
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

superTypes

protected PType[] superTypes
Constructor Detail

PTypePAAH

public PTypePAAH(java.lang.String classname,
                 PTypeSpace typespace,
                 PType[] supertypes)
It constructs the types that represent JORM classes.

Parameters:
classname - The name of the class for which a PType must be constructed.
typespace - The type space to which the constructed PType belongs.
supertypes - The super types of that class.
Method Detail

getInheritedPType

public PType[] getInheritedPType()
It retrieves the PType directly inherited by a PType representing a JORM class.

Overrides:
getInheritedPType in class PType
Returns:
The array of directly inherited PType.

belongsToInherited

public boolean belongsToInherited(PType pt)
Verifies if a PType belongs to those inherited by this PType.