cz.cmc.tcgui.datadef
Class TCObject

java.lang.Object
  extended bycz.cmc.tcgui.datadef.TCEntry
      extended bycz.cmc.tcgui.datadef.TCObject
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
TCClass, TCFilter, TCGraphConstants.NullDataDefTCObject, TCQdisc

public abstract class TCObject
extends TCEntry

Abstract parent for TCQdisc, TCClass and TCFilter implementing their common functionality.


Field Summary
protected  AttributeEntry attributeEntry
          Main group containing all Attributes and sub AttributeEntries (AttributeEntries) of this TCObject.
static Checker DEFAULT_CHECKER
          Default checker
protected  Editor editor
          Editor for this TCObject definition
protected  Exporter exporter
          Exporter for this TCObject definition
protected  Generator generator
          Generator for this TCObject definition
protected  Checker checker
          Checker for this TCObject definition
 
Fields inherited from class cz.cmc.tcgui.datadef.TCEntry
description, id, label, name
 
Constructor Summary
TCObject()
          Creates new TCObject.
TCObject(String id, String name, String label)
          Creates new TCObject with given id, name and label
 
Method Summary
 AttributeEntry getAttributeEntry()
          Returns the attributeEntry of this TCObject.
 Editor getEditor()
           
 Exporter getExporter()
           
 Generator getGenerator()
           
 Checker getChecker()
           
 void setAttributeEntry(AttributeEntry attributeEntry)
          Sets the attributeEntry of this TCObject.
 void setEditor(Editor editor)
          Sets Editor associated with this TCObject definition
 void setExporter(Exporter exporter)
          Sets Exporter associated with this TCObject definition
 void setGenerator(Generator generator)
          Sets Generator associated with this TCObject definition
 void setChecker(Checker checker)
          Sets Checker associated with this TCObject definition
 
Methods inherited from class cz.cmc.tcgui.datadef.TCEntry
clone, getDescription, getID, getLabel, getName, setDescription, setID, setLabel, setName, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeEntry

protected AttributeEntry attributeEntry
Main group containing all Attributes and sub AttributeEntries (AttributeEntries) of this TCObject.


DEFAULT_CHECKER

public static final Checker DEFAULT_CHECKER
Default checker


generator

protected Generator generator
Generator for this TCObject definition


checker

protected Checker checker
Checker for this TCObject definition


editor

protected Editor editor
Editor for this TCObject definition


exporter

protected Exporter exporter
Exporter for this TCObject definition

Constructor Detail

TCObject

public TCObject()
Creates new TCObject.


TCObject

public TCObject(String id,
                String name,
                String label)
Creates new TCObject with given id, name and label

Parameters:
id - id of the TCObject
name - name of the TCObject
label - human-readable label of the TCObject
Method Detail

setAttributeEntry

public void setAttributeEntry(AttributeEntry attributeEntry)
Sets the attributeEntry of this TCObject.

Parameters:
attributeEntry - new AttributeEntry to be set
See Also:
attributeEntry

getAttributeEntry

public AttributeEntry getAttributeEntry()
Returns the attributeEntry of this TCObject.

Returns:
the AttributeEntry object
See Also:
attributeEntry

getGenerator

public Generator getGenerator()
Returns:
Generator associated with this TCObject definition

setGenerator

public void setGenerator(Generator generator)
Sets Generator associated with this TCObject definition


getChecker

public Checker getChecker()
Returns:
Checker associated with this TCObject definition

setChecker

public void setChecker(Checker checker)
Sets Checker associated with this TCObject definition


getEditor

public Editor getEditor()
Returns:
Editor associated with this TCObject definition

setEditor

public void setEditor(Editor editor)
Sets Editor associated with this TCObject definition


getExporter

public Exporter getExporter()
Returns:
Exporter associated with this TCObject definition

setExporter

public void setExporter(Exporter exporter)
Sets Exporter associated with this TCObject definition