|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v3.sourcegen.DefinitionLoader
public class DefinitionLoader
Loads definitions for RIM classes, attributes, and data types from the RIM database. The definition objects are used to generate source code for RIM classes.
| Constructor Summary | |
|---|---|
DefinitionLoader(Connection conn)
Deprecated. Creates a new instance of DefinitionLoader |
|
| Method Summary | |
|---|---|
ComponentDefinition[] |
getComponentDefs(String className)
Deprecated. |
DataTypeDefinition |
getDataTypeDef(String className)
Deprecated. |
String |
getDTSuperClass(String dataType)
Deprecated. Looks up the superclass of the given RIM datatype, returns null if there isn't one. |
AttributeDefinition |
getRIMAttributeDef(String className,
String attributeName)
Deprecated. Creates an AttributeDefinition for the given attribute by looking up the required information in the DB. |
AttributeDefinition[] |
getRIMAttributes(String className)
Deprecated. Looks up a list of attributes for the given class and creates AttributeDefinitions by calling getRIMAttributeDef. |
ClassDefinition |
getRIMClassDef(String className)
Deprecated. Creates a ClassDefinition for the given RIM class by looking up the required information in the DB. |
String[] |
getRIMClassNames()
Deprecated. Looks up a list of RIM class names in the DB. |
String[] |
getRIMDataTypeNames()
Deprecated. Looks up a list of RIM data type names in the DB. |
String |
getRIMSuperClass(String className)
Deprecated. Looks up and returns this RIM class' superclass. |
static void |
main(String[] args)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefinitionLoader(Connection conn)
| Method Detail |
|---|
public String[] getRIMClassNames()
throws SQLException
SQLException
public String[] getRIMDataTypeNames()
throws SQLException
SQLException
public ClassDefinition getRIMClassDef(String className)
throws SQLException
SQLException
public AttributeDefinition[] getRIMAttributes(String className)
throws SQLException
SQLException
public AttributeDefinition getRIMAttributeDef(String className,
String attributeName)
throws SQLException
SQLException
public String getRIMSuperClass(String className)
throws SQLException
SQLException
public DataTypeDefinition getDataTypeDef(String className)
throws SQLException
SQLException
public ComponentDefinition[] getComponentDefs(String className)
throws SQLException
SQLException
public String getDTSuperClass(String dataType)
throws SQLException
SQLExceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||