org.objectweb.jorm.type.lib
Class PTypePAAH
java.lang.Object
|
+--org.objectweb.jorm.type.api.PType
|
+--org.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
Fields inherited from class org.objectweb.jorm.type.api.PType |
NOSIZE, TYPECODE_BIGDECIMAL, 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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
superTypes
protected PType[] superTypes
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.
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.