www.element4solution.com

e4s.db.dict.plugins
Class E4DBDictPlugInTypeReferenceChange

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.db.dict.plugins.E4DBDictPlugInTypeReferenceChange
All Implemented Interfaces:
AEP_DictionaryPlugIn

public class E4DBDictPlugInTypeReferenceChange
extends E4Object
implements AEP_DictionaryPlugIn

E4S Datadictionary Plugin. Change referential values for type declarations.

See Also:
E4ModuleDictionaryPlugInTypeRefChange

Nested Class Summary
static class E4DBDictPlugInTypeReferenceChange.TypeChanger
           
 
Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4DBDictPlugInTypeReferenceChange()
           
 
Method Summary
static java.lang.String _getSVNVersionString()
           
 void add(E4DBDictPlugInTypeReferenceChange.TypeChanger tc)
           
 void changed(E4DBTable table)
          This function will be called whenever a table has become changed.
 void changed(E4DBType type)
          This function will be called whenever a type has become changed.
 void changed(E4DBView view)
          This function will be called whenever a view has become changed.
 void deleted(E4DBTable table)
          This function will be called whenever a table has become deleted.
 void deleted(E4DBType type)
          This function will be called whenever a type has become deleted.
 void deleted(E4DBType type, boolean additional)
           
 void deleted(E4DBView view)
          This function will be called whenever a view has become deleted.
 E4DBDictPlugInTypeReferenceChange.TypeChanger findType(E4DBColumnType type)
           
 void fromXml(java.lang.StringBuffer xml, boolean is_e4s_system_dict)
          Read in specific information from the data-dictionaries XML container which will be done when the E4S application starts up.
 void generate(E4DBType type)
           
 void generateAll()
           
 void generateTable_Modify(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Object(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Select(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateTable_Vector(E4DBTable table, E4DBJavaGeneratorPrintStream out)
           
 void generateType(E4DBType type, E4DBJavaGeneratorPrintStream pType)
           
 void generateView(E4DBView view, E4DBJavaGeneratorPrintStream out)
           
 E4DBDictPlugInTypeReferenceChange.TypeChanger[] getChangers()
           
 E4Method getMethod()
          Provide a method for the plug in that can be selected in the dictionary's menu.
 E4Label_Intf getPlugInName()
          Provide a name for the plug in that will be shown in the dictionary's menu.
 void init(E4DBDict dict)
          Initialize by giving the datadictionary information to that plugin
 void toXml(E4PrintStream pstr, boolean is_e4s_system_dict)
          Write out specific information to the data-dictionaries XML container which will be done when something changes within a table.
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

E4DBDictPlugInTypeReferenceChange

public E4DBDictPlugInTypeReferenceChange()
Method Detail

toXml

public void toXml(E4PrintStream pstr,
                  boolean is_e4s_system_dict)
Description copied from interface: AEP_DictionaryPlugIn
Write out specific information to the data-dictionaries XML container which will be done when something changes within a table.

Specified by:
toXml in interface AEP_DictionaryPlugIn
Parameters:
pstr - an opened XML stream
See Also:
#fromXml(String)

fromXml

public void fromXml(java.lang.StringBuffer xml,
                    boolean is_e4s_system_dict)
Description copied from interface: AEP_DictionaryPlugIn
Read in specific information from the data-dictionaries XML container which will be done when the E4S application starts up.

Specified by:
fromXml in interface AEP_DictionaryPlugIn
Parameters:
xml - the ready read-in XML content for this plugin only.
See Also:
#toXml(e4s.util.E4PrintStream)

init

public void init(E4DBDict dict)
Initialize by giving the datadictionary information to that plugin

Specified by:
init in interface AEP_DictionaryPlugIn
Parameters:
dict - the data dictionary

getChangers

public E4DBDictPlugInTypeReferenceChange.TypeChanger[] getChangers()

getMethod

public E4Method getMethod()
Description copied from interface: AEP_DictionaryPlugIn
Provide a method for the plug in that can be selected in the dictionary's menu.

Specified by:
getMethod in interface AEP_DictionaryPlugIn
Returns:
a E4Method representing a function call or null if this plug in does not need any menu entry.
See Also:
#getName()

getPlugInName

public E4Label_Intf getPlugInName()
Description copied from interface: AEP_DictionaryPlugIn
Provide a name for the plug in that will be shown in the dictionary's menu.

Specified by:
getPlugInName in interface AEP_DictionaryPlugIn
Returns:
a String representing a name.
See Also:
AEP_DictionaryPlugIn.getMethod()

changed

public void changed(E4DBTable table)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a table has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
table - the changed table

changed

public void changed(E4DBView view)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a view has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
view - the changed view

changed

public void changed(E4DBType type)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a type has become changed.

Specified by:
changed in interface AEP_DictionaryPlugIn
Parameters:
type - the changed type

deleted

public void deleted(E4DBTable table)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a table has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
table - the changed table

deleted

public void deleted(E4DBView view)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a view has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
view - the changed view

deleted

public void deleted(E4DBType type)
Description copied from interface: AEP_DictionaryPlugIn
This function will be called whenever a type has become deleted.

Specified by:
deleted in interface AEP_DictionaryPlugIn
Parameters:
type - the changed type

deleted

public void deleted(E4DBType type,
                    boolean additional)

generateAll

public void generateAll()
                 throws E4DBException
Throws:
E4DBException

generate

public void generate(E4DBType type)

findType

public E4DBDictPlugInTypeReferenceChange.TypeChanger findType(E4DBColumnType type)

add

public void add(E4DBDictPlugInTypeReferenceChange.TypeChanger tc)

generateTable_Select

public void generateTable_Select(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Select in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Modify

public void generateTable_Modify(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Modify in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Object

public void generateTable_Object(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Object in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateTable_Vector

public void generateTable_Vector(E4DBTable table,
                                 E4DBJavaGeneratorPrintStream out)
                          throws E4DBException
Specified by:
generateTable_Vector in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateView

public void generateView(E4DBView view,
                         E4DBJavaGeneratorPrintStream out)
                  throws E4DBException
Specified by:
generateView in interface AEP_DictionaryPlugIn
Throws:
E4DBException

generateType

public void generateType(E4DBType type,
                         E4DBJavaGeneratorPrintStream pType)
                  throws E4DBException
Specified by:
generateType in interface AEP_DictionaryPlugIn
Throws:
E4DBException

_getSVNVersionString

public static java.lang.String _getSVNVersionString()

www.element4solution.com