e4s.db.dict
Class E4DBTypes
java.lang.Object
e4s.util.E4Object
e4s.db.dict.E4DBTypes
public class E4DBTypes
- extends E4Object
Part of the datadictionary: information for all user defined datatypes.
- Since:
- JDK 1.4
- See Also:
E4DBType,
E4Long,
E4String,
E4StringImage,
E4DBTypeUsage
| 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 |
XML_TAG_TYPES
public static final java.lang.String XML_TAG_TYPES
- See Also:
- Constant Field Values
E4DBTypes
public E4DBTypes()
getAll
public E4DBType[] getAll()
size
public int size()
elementAt
public E4DBType elementAt(int i)
getSortedTypes
public E4DBType[] getSortedTypes()
throws E4DBException
- Throws:
E4DBException
getSortedTypes
public E4DBType[] getSortedTypes(java.lang.String packagename)
throws E4DBException
- Throws:
E4DBException
getSortedTypes
public E4DBType[] getSortedTypes(java.lang.String packagename,
java.lang.Class clazz)
throws E4DBException
- Throws:
E4DBException
getAllPackages
public java.lang.String[] getAllPackages()
throws java.lang.Exception
- Throws:
java.lang.Exception
findType
public E4DBType findType(E4DBColumnType name)
remove
public void remove(E4DBColumnType name)
add
public void add(E4DBType type)
toXml
public boolean toXml(java.lang.String sPackage,
E4PrintStream pstr)
throws java.lang.Exception
- Writs the current database object into the given XML stream.
- Parameters:
pstr - a stream, opened in write mode
- Throws:
java.lang.Exception- See Also:
E4DBDict.readDictionary()
isReservedName
public static boolean isReservedName(E4DBColumnType name)
isReservedName
public static boolean isReservedName(java.lang.String name)
- Check, if a name is a reserved keyword.
- Parameters:
name - the string to be checked.
- Returns:
- true if name is a reserved keyword in Java (e.g. "while")
or SQL ({link e4s.db.dict.E4DBDatabase#isReservedName(String)}).
- See Also:
E4DBDatabase.isReservedName(String)
DEBUG
public void DEBUG()
typeSelection
public E4SelectValues typeSelection(boolean add_blank)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasTypes
public boolean hasTypes(java.lang.String sPackage)
throws E4DBException
- Throws:
E4DBException
hasTypes
public boolean hasTypes(java.lang.String sPackage,
boolean check_system)
throws E4DBException
- Throws:
E4DBException
_getSVNVersionString
public static java.lang.String _getSVNVersionString()
- Get version info string from subversion.
- Returns:
- the version info string.
- See Also:
E4Util.getRevisionCodeFromSVN(Class)