|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.ejb21.jorm.JormType
public class JormType
This class contains several methods to manipulate a PType.
Constructor Summary | |
---|---|
JormType()
|
Method Summary | |
---|---|
static short |
getCodingType(Class c,
boolean isPkField)
It retrieves a coding type either a Class |
static short |
getCodingType(int typeCode)
It converts a type code into a coding type. |
static short |
getCodingType(org.objectweb.jorm.type.api.PType pt)
It converts a PType into a coding type. |
static org.objectweb.jorm.type.api.PType |
getPType(Class cl,
boolean isPkField)
This method converts a java.lang.Class into a jorm PType. |
static String |
getPTypeDef(Class cl,
boolean isPkField)
This method converts a java.lang.Class into a jorm PType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JormType()
Method Detail |
---|
public static org.objectweb.jorm.type.api.PType getPType(Class cl, boolean isPkField)
cl
- is a java.lang.ClassisPkField
- true if this is for a field of the primary key, false otherwise
public static String getPTypeDef(Class cl, boolean isPkField)
cl
- is a java.lang.ClassisPkField
- true if this is for a field of the primary key, false otherwise
public static short getCodingType(Class c, boolean isPkField) throws org.objectweb.jorm.naming.api.PExceptionNaming
the
- ClassisPkField
- true if this is for a field of the primary key, false otherwise
org.objectweb.jorm.naming.api.PExceptionNaming
- when the class specified is not support in
the jorm naming.public static short getCodingType(org.objectweb.jorm.type.api.PType pt) throws org.objectweb.jorm.naming.api.PExceptionNaming
a
- PType
org.objectweb.jorm.naming.api.PExceptionNaming
- when the PType specified is not support in
the jorm naming.public static short getCodingType(int typeCode) throws org.objectweb.jorm.naming.api.PExceptionNaming
a
- type code of a PType
org.objectweb.jorm.naming.api.PExceptionNaming
- when the type code specified is not support in
the jorm naming.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |