cz.cmc.tcgui.datamanip
Interface Checker

All Known Implementing Classes:
DefaultChecker

public interface Checker

Title: interface Checker

Description: Interface for checking whether attribute changes may be passed to a TCObject

Copyright: Copyright (c) 2003

Company: CMC Computers


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
 

Method Detail

checkChanges

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

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

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