TZDefaultIdentifierConvertor Class Reference

Implements a default Case Sensitive/Unsensitive identifier convertor. More...

Inheritance diagram for TZDefaultIdentifierConvertor:

TZAbstractObject IZIdentifierConvertor TInterfacedObject IZObject

List of all members.

Public Member Functions

IZInterface Clone ()
 Clones an object instance.
Boolean Equals (const IZInterface Value)
string ExtractQuote (const string Value)
 Extracts the quote from the idenfitier string.
LongInt Hash ()
 Gets a unique hash for this object.
Boolean InstanceOf (const TGUID IId)
 Checks is this object implements a specified interface.
Boolean IsCaseSensitive (const string Value)
 Checks is the string case sensitive.
Boolean IsQuoted (const string Value)
 Checks is the string quoted.
string Quote (const string Value)
 Quotes the identifier string.
string ToString ()
 Converts this object into the string representation.
 TZDefaultIdentifierConvertor (IZDatabaseMetadata Metadata)
 Constructs this default identifier convertor object.

Protected Member Functions

Boolean IsLowerCase (const string Value)
 Checks is the specified string in lower case.
Boolean IsSpecialCase (const string Value)
 Checks is the specified string in special case.
Boolean IsUpperCase (const string Value)
 Checks is the specified string in upper case.

Protected Attributes

IZDatabaseMetadata Metadata

Private Attributes

IZDatabaseMetadata FMetadata


Detailed Description

Implements a default Case Sensitive/Unsensitive identifier convertor.

Definition at line 981 of file ZDbcMetadata.pas.


Constructor & Destructor Documentation

TZDefaultIdentifierConvertor::TZDefaultIdentifierConvertor ( IZDatabaseMetadata  Metadata  ) 

Constructs this default identifier convertor object.

Parameters:
Metadata a database metadata interface.

Definition at line 5596 of file ZDbcMetadata.pas.


Member Function Documentation

IZInterface TZAbstractObject::Clone (  )  [inherited]

Clones an object instance.

Returns:
a clonned object instance.

Reimplemented from IZObject.

Reimplemented in TZCollection, TZUnmodifiableCollection, TZHashMap, TZStack, and TZAnyValue.

Definition at line 474 of file ZClasses.pas.

Boolean TZAbstractObject::Equals ( const IZInterface  Value  )  [inherited]

Reimplemented in TZAnyValue.

string TZDefaultIdentifierConvertor::ExtractQuote ( const string  Value  ) 

Extracts the quote from the idenfitier string.

Parameters:
an identifier string.
Returns:
a extracted and processed string.

Reimplemented from IZIdentifierConvertor.

Definition at line 5749 of file ZDbcMetadata.pas.

LongInt TZAbstractObject::Hash (  )  [inherited]

Gets a unique hash for this object.

Returns:
a unique hash for this object.

Reimplemented from IZObject.

Definition at line 462 of file ZClasses.pas.

Boolean TZAbstractObject::InstanceOf ( const TGUID  IId  )  [inherited]

Checks is this object implements a specified interface.

Parameters:
IId an interface id.
Returns:
True if this object support the interface.

Reimplemented from IZObject.

Definition at line 488 of file ZClasses.pas.

Boolean TZDefaultIdentifierConvertor::IsCaseSensitive ( const string  Value  ) 

Checks is the string case sensitive.

Returns:
True if the string case sensitive.

Reimplemented from IZIdentifierConvertor.

Definition at line 5688 of file ZDbcMetadata.pas.

Boolean TZDefaultIdentifierConvertor::IsLowerCase ( const string  Value  )  [protected]

Checks is the specified string in lower case.

Parameters:
an identifier string.
Returns:
True is the identifier string in lower case.

Definition at line 5611 of file ZDbcMetadata.pas.

Boolean TZDefaultIdentifierConvertor::IsQuoted ( const string  Value  ) 

Checks is the string quoted.

Returns:
True is the string quoted.

Reimplemented from IZIdentifierConvertor.

Definition at line 5727 of file ZDbcMetadata.pas.

Boolean TZDefaultIdentifierConvertor::IsSpecialCase ( const string  Value  )  [protected]

Checks is the specified string in special case.

Parameters:
an identifier string.
Returns:
True is the identifier string in mixed case.

Definition at line 5661 of file ZDbcMetadata.pas.

Boolean TZDefaultIdentifierConvertor::IsUpperCase ( const string  Value  )  [protected]

Checks is the specified string in upper case.

Parameters:
an identifier string.
Returns:
True is the identifier string in upper case.

Definition at line 5636 of file ZDbcMetadata.pas.

string TZDefaultIdentifierConvertor::Quote ( const string  Value  ) 

Quotes the identifier string.

Parameters:
an identifier string.
Returns:
a quoted string.

Reimplemented from IZIdentifierConvertor.

Definition at line 5775 of file ZDbcMetadata.pas.

string TZAbstractObject::ToString (  )  [inherited]

Converts this object into the string representation.

Returns:
a string representation for this object.

Reimplemented from IZObject.

Reimplemented in TZCollection, TZUnmodifiableCollection, TZStack, and TZAnyValue.

Definition at line 501 of file ZClasses.pas.


Member Data Documentation

Definition at line 986 of file ZDbcMetadata.pas.

See also:
FMetadata For reading

FMetadata For writing

Definition at line 990 of file ZDbcMetadata.pas.


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:51 2009 for zeoslib by  doxygen 1.5.7.1