uk.ac.ic.doc.automed.gui
Class GraphicSchemaObject

java.lang.Object
  extended by uk.ac.ic.doc.automed.gui.GraphicSchemaObject

public class GraphicSchemaObject
extends java.lang.Object


Constructor Summary
GraphicSchemaObject(uk.ac.ic.doc.automed.gui.GraphicManager manager, Schema finalSchema, SchemaObject schemaObject)
           
 
Method Summary
 boolean contains(java.awt.Point p)
           
 java.awt.Rectangle getBoundingBox()
           
 ConstructWithModelingProgram getConstruct()
           
 SchemaObject getGeneralConstruct()
           
 java.awt.Point getLocation()
           
 uk.ac.ic.doc.automed.gui.GraphicManager getManager()
           
 SchemaObject getReferencedConstruct()
           
 SchemaObject[] getReferencedConstructs()
           
 SchemaObject getReferencedField()
           
 SchemaObject getReferencedTable()
           
 uk.ac.ic.doc.automed.gui.SchemaShape getShape()
           
 SchemaObject[] getSpecialConstructs()
           
 SchemaObject getTableForeignKeyPoints()
           
 SchemaObject getTableWithForeignKey()
           
 java.lang.String getValue()
           
 boolean isPrimaryKeyForeignKey()
           
 void setLocation(java.awt.Point p)
           
 uk.ac.ic.doc.automed.gui.SchemaShape setShape(uk.ac.ic.doc.automed.gui.SchemaShape shape)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphicSchemaObject

public GraphicSchemaObject(uk.ac.ic.doc.automed.gui.GraphicManager manager,
                           Schema finalSchema,
                           SchemaObject schemaObject)
Method Detail

setLocation

public void setLocation(java.awt.Point p)

getLocation

public java.awt.Point getLocation()

getReferencedTable

public SchemaObject getReferencedTable()
                                throws AutoRepException,
                                       AutoMedException,
                                       DSRException,
                                       SchemaTransformationRepositoryException,
                                       java.sql.SQLException,
                                       java.io.IOException,
                                       MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getReferencedField

public SchemaObject getReferencedField()
                                throws AutoRepException,
                                       AutoMedException,
                                       DSRException,
                                       SchemaTransformationRepositoryException,
                                       java.sql.SQLException,
                                       java.io.IOException,
                                       MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getTableWithForeignKey

public SchemaObject getTableWithForeignKey()
                                    throws AutoRepException,
                                           AutoMedException,
                                           DSRException,
                                           SchemaTransformationRepositoryException,
                                           java.sql.SQLException,
                                           java.io.IOException,
                                           MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getTableForeignKeyPoints

public SchemaObject getTableForeignKeyPoints()
                                      throws AutoRepException,
                                             AutoMedException,
                                             DSRException,
                                             SchemaTransformationRepositoryException,
                                             java.sql.SQLException,
                                             java.io.IOException,
                                             MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

isPrimaryKeyForeignKey

public boolean isPrimaryKeyForeignKey()
                               throws AutoRepException,
                                      AutoMedException,
                                      DSRException,
                                      SchemaTransformationRepositoryException,
                                      java.sql.SQLException,
                                      java.io.IOException,
                                      MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getSpecialConstructs

public SchemaObject[] getSpecialConstructs()
                                    throws AutoRepException,
                                           AutoMedException,
                                           DSRException,
                                           SchemaTransformationRepositoryException,
                                           java.sql.SQLException,
                                           java.io.IOException,
                                           MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getGeneralConstruct

public SchemaObject getGeneralConstruct()
                                 throws AutoRepException,
                                        AutoMedException,
                                        DSRException,
                                        SchemaTransformationRepositoryException,
                                        java.sql.SQLException,
                                        java.io.IOException,
                                        MDRException
Throws:
AutoRepException
AutoMedException
DSRException
SchemaTransformationRepositoryException
java.sql.SQLException
java.io.IOException
MDRException

getReferencedConstructs

public SchemaObject[] getReferencedConstructs()
                                       throws AutoRepException
Throws:
AutoRepException

getReferencedConstruct

public SchemaObject getReferencedConstruct()
                                    throws AutoRepException
Throws:
AutoRepException

getValue

public java.lang.String getValue()

getBoundingBox

public java.awt.Rectangle getBoundingBox()

contains

public boolean contains(java.awt.Point p)

getConstruct

public ConstructWithModelingProgram getConstruct()

setShape

public uk.ac.ic.doc.automed.gui.SchemaShape setShape(uk.ac.ic.doc.automed.gui.SchemaShape shape)

getShape

public uk.ac.ic.doc.automed.gui.SchemaShape getShape()

getManager

public uk.ac.ic.doc.automed.gui.GraphicManager getManager()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object