|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.xmlschema.transform.XMLSchemaTransform
public class XMLSchemaTransform
| Constructor Summary | |
|---|---|
XMLSchemaTransform(Schema s1)
Creates a new instance of XMLSchemaTransform |
|
| Method Summary | |
|---|---|
Schema |
addKey(XSDOMObject pk,
XSDOMObject pkParent)
|
Schema |
addKeyRef(XSDOMObject fk,
XSDOMObject pk,
XSDOMObject pkParent,
XSDOMObject fkParent)
Methods to add extra AutoMed schemes from the JTree Add an xmlSchema:keyRef construct to AutoMed from the JTree. |
Schema |
addNestTransform(java.lang.String parentName,
java.lang.String oldParentName,
XSDOMObject extentObject,
XSDOMObject childNode)
Automed transforations to nest an element inside another one, replacing an fk element in the process |
SchemaObject |
getKey(XSDOMObject pk,
XSDOMObject pkParent)
|
Schema |
hdmToRelational()
Transform the HDM elements in this schema into XMLSchema elements |
void |
hdmToXML()
Transform the HDM elements in this schema into XMLSchema elements |
Schema |
hdmToXMLSchema()
Transform the HDM elements in this schema into XMLSchema elements |
static boolean |
isBaseType(java.lang.String typeString)
|
Schema |
removeNestTransform(java.lang.String parentName,
java.lang.String childElementName,
java.lang.String newChildName,
java.lang.String newParent)
|
void |
setSchema(Schema s)
Set the schema to transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLSchemaTransform(Schema s1)
throws NotFoundException
NotFoundException| Method Detail |
|---|
public void setSchema(Schema s)
public static boolean isBaseType(java.lang.String typeString)
public Schema hdmToXMLSchema()
throws NotFoundException,
IntegrityException,
TypeMismatchException
NotFoundException
IntegrityException
TypeMismatchException
public void hdmToXML()
throws AutoMedException
AutoMedException
public Schema hdmToRelational()
throws AutoMedException
AutoMedException
public Schema addKeyRef(XSDOMObject fk,
XSDOMObject pk,
XSDOMObject pkParent,
XSDOMObject fkParent)
throws IntegrityException,
TypeMismatchException,
NotFoundException
IntegrityException
TypeMismatchException
NotFoundException
public SchemaObject getKey(XSDOMObject pk,
XSDOMObject pkParent)
throws IntegrityException,
TypeMismatchException,
NotFoundException
IntegrityException
TypeMismatchException
NotFoundException
public Schema addKey(XSDOMObject pk,
XSDOMObject pkParent)
throws IntegrityException,
TypeMismatchException,
NotFoundException
IntegrityException
TypeMismatchException
NotFoundException
public Schema addNestTransform(java.lang.String parentName,
java.lang.String oldParentName,
XSDOMObject extentObject,
XSDOMObject childNode)
throws IntegrityException,
TypeMismatchException,
NotFoundException
IntegrityException
TypeMismatchException
NotFoundException
public Schema removeNestTransform(java.lang.String parentName,
java.lang.String childElementName,
java.lang.String newChildName,
java.lang.String newParent)
throws IntegrityException,
TypeMismatchException,
NotFoundException
IntegrityException
TypeMismatchException
NotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||