org.objectweb.medor.type.lib
Class QTypeTuple
This class defines the extension of PType for Tuples.
QTypeTuple(PType[] types, PTypeSpace typespace) - It constructs the types that represent tuples.
|
boolean | isa(PType pt) - Checks whether the current QTypeTuple is a subtype of another PType.
|
TYPECODE_TUPLE
public static final short TYPECODE_TUPLE
- 101
attributeTypes
protected PType[] attributeTypes
QTypeTuple
public QTypeTuple(PType[] types,
PTypeSpace typespace)
It constructs the types that represent tuples.
types
- The array of PTypes for the tuple attributes.typespace
- The type space to which the constructed PType belongs.
isa
public boolean isa(PType pt)
Checks whether the current QTypeTuple is a subtype of another PType.
The other PType must be a QTypeTuple.
- isa in interface QType
pt
- The other PType to be compared to.
- It return true if this PType conforms to the one passed as
parameter.