|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.ddl.DFEntities
public final class DFEntities
Common utilities related to DFEntity.
| Method Summary | |
|---|---|
static DFEntity |
createJChemEntity(DFSchema schema,
String entityName,
DFEnvironmentRW env)
A convenience method to create a new jchem base entity named `entityName' in a parent Schema. |
static DFEntity |
createStandardEntity(DFSchema schema,
String entityName,
DFEnvironmentRW env)
A convenience method to create a new standard database entity named `entityName' in a parent Schema. |
static boolean |
isJChemEntity(DFEntity entity)
Is this entity JChem type? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isJChemEntity(DFEntity entity)
entity - Entity to be tested
public static DFEntity createJChemEntity(DFSchema schema,
String entityName,
DFEnvironmentRW env)
DFNewType to look up appropriate code that creates the entity.
If the DFNewType cannot be found, the method throws UnsupportedOperationException.
If the new type does not support the required options, it will throw IllegalArgumentException
for the requested entity type.
schema - The parent schemaentityName - The name for the new entityenv - The execution environment with a valid DDL lock
public static DFEntity createStandardEntity(DFSchema schema,
String entityName,
DFEnvironmentRW env)
DFNewType to look up appropriate code that creates the entity.
If the DFNewType cannot be found, the method throws UnsupportedOperationException.
If the new type does not support the required options, it will throw IllegalArgumentException
for the requested entity type.
schema - The parent schemaentityName - The name for the new entityenv - The execution environment with a valid DDL lock
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||