cz.cmc.tcgui.datamanip
Class DefaultChecker

java.lang.Object
  extended bycz.cmc.tcgui.datamanip.DefaultChecker
All Implemented Interfaces:
Checker

public class DefaultChecker
extends Object
implements Checker

Title: class DefaultChecker

Description: Default implementation of the Checker interface

Copyright: Copyright (c) 2003

Company: CMC Computers


Constructor Summary
DefaultChecker()
           
 
Method Summary
 boolean checkConnection(TCExport tce, TCObject tco1, TCObject tco2)
          Checks whether objkects tco1 and tco2 may be connected
 boolean checkChanges(TCExport tce, TCObject tco, Map changes)
          Checks whether changes may be passed to the TCObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChecker

public DefaultChecker()
Method Detail

checkChanges

public boolean checkChanges(TCExport tce,
                            TCObject tco,
                            Map changes)
Checks whether changes may be passed to the TCObject

Specified by:
checkChanges in interface Checker
Parameters:
tce - TCExport instance for accessing the schema
tco - TCObject to pass changes to
changes - change map to be passed
Returns:
true if the change map is applicaple to the Generator

checkConnection

public boolean checkConnection(TCExport tce,
                               TCObject tco1,
                               TCObject tco2)
Checks whether objkects tco1 and tco2 may be connected

Specified by:
checkConnection in interface Checker
Parameters:
tce - TCExport instance for accessing the schema
tco1 - source TCObject to connect
tco2 - target TCObject to connect
Returns:
true if the connection is applicable to the Generator