mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-25 05:40:55 +00:00
* EOControl/EOAndQualifier.m,
* EOControl/EOKeyComparisonQualifier.m, * EOControl/EOKeyValueQualifier.m, * EOControl/EOOrQualifier.m: ([-description]) Make qualifiers user presentable like in WO. (-[debugDescription]): New deprecated method for old descriptions. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ae3f10933
commit
a4764b2aaa
5 changed files with 68 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2005-10-02 David Ayers <d.ayers@inode.at>
|
||||||
|
|
||||||
|
* EOControl/EOAndQualifier.m,
|
||||||
|
* EOControl/EOKeyComparisonQualifier.m,
|
||||||
|
* EOControl/EOKeyValueQualifier.m,
|
||||||
|
* EOControl/EOOrQualifier.m: ([-description]) Make qualifiers
|
||||||
|
user presentable like in WO.
|
||||||
|
(-[debugDescription]): New deprecated method for old description.
|
||||||
|
|
||||||
2005-08-25 Manuel Guesdon <mguesdon@orange-concept.com>
|
2005-08-25 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||||
|
|
||||||
* EOAccess/EOSQLQualifier.m: change in EOAndQualifier and
|
* EOAccess/EOSQLQualifier.m: change in EOAndQualifier and
|
||||||
|
|
|
@ -231,7 +231,19 @@ RCS_ID("$Id$")
|
||||||
return nil;//TODO
|
return nil;//TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) description
|
- (NSString *) description
|
||||||
|
{
|
||||||
|
NSString *dscr;
|
||||||
|
|
||||||
|
dscr = [NSString stringWithFormat: @"(%@)",
|
||||||
|
[_qualifiers componentsJoinedByString: @" AND "]];
|
||||||
|
|
||||||
|
return dscr;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Deprecated debug description. Expect it to be removed.
|
||||||
|
*/
|
||||||
|
- (NSString *) debugDescription
|
||||||
{
|
{
|
||||||
NSString *dscr;
|
NSString *dscr;
|
||||||
|
|
||||||
|
|
|
@ -236,6 +236,22 @@ RCS_ID("$Id$")
|
||||||
* Returns a human readable representation of the receiver.
|
* Returns a human readable representation of the receiver.
|
||||||
*/
|
*/
|
||||||
- (NSString *) description
|
- (NSString *) description
|
||||||
|
{
|
||||||
|
NSString *selectorString;
|
||||||
|
selectorString = [isa stringForOperatorSelector: _selector];
|
||||||
|
if (selectorString == nil)
|
||||||
|
{
|
||||||
|
selectorString = NSStringFromSelector(_selector);
|
||||||
|
}
|
||||||
|
return [NSString stringWithFormat:@"(%@ %@ %@)",
|
||||||
|
_leftKey,
|
||||||
|
selectorString,
|
||||||
|
_rightKey];
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Deprecated debug description. Expect it to be removed.
|
||||||
|
*/
|
||||||
|
- (NSString *) debugDescription
|
||||||
{
|
{
|
||||||
NSString *selectorString;
|
NSString *selectorString;
|
||||||
selectorString = [isa stringForOperatorSelector: _selector];
|
selectorString = [isa stringForOperatorSelector: _selector];
|
||||||
|
|
|
@ -310,6 +310,22 @@ RCS_ID("$Id$")
|
||||||
* Returns a human readable representation of the receiver.
|
* Returns a human readable representation of the receiver.
|
||||||
*/
|
*/
|
||||||
- (NSString *) description
|
- (NSString *) description
|
||||||
|
{
|
||||||
|
NSString *selectorString;
|
||||||
|
selectorString = [isa stringForOperatorSelector: _selector];
|
||||||
|
if (selectorString == nil)
|
||||||
|
{
|
||||||
|
selectorString = NSStringFromSelector(_selector);
|
||||||
|
}
|
||||||
|
return [NSString stringWithFormat:@"(%@ %@ '%@')",
|
||||||
|
_key,
|
||||||
|
selectorString,
|
||||||
|
_value];
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Deprecated debug description. Expect it to be removed.
|
||||||
|
*/
|
||||||
|
- (NSString *) debugDescription
|
||||||
{
|
{
|
||||||
NSString *selectorString;
|
NSString *selectorString;
|
||||||
selectorString = [isa stringForOperatorSelector: _selector];
|
selectorString = [isa stringForOperatorSelector: _selector];
|
||||||
|
|
|
@ -216,7 +216,20 @@ RCS_ID("$Id$")
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) description
|
- (NSString *) description
|
||||||
|
{
|
||||||
|
NSString *dscr;
|
||||||
|
|
||||||
|
dscr = [NSString stringWithFormat: @"(%@)",
|
||||||
|
[_qualifiers componentsJoinedByString: @" OR "]];
|
||||||
|
|
||||||
|
return dscr;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated debug description. Expect it to be removed.
|
||||||
|
*/
|
||||||
|
- (NSString *)debugDescription
|
||||||
{
|
{
|
||||||
NSString *dscr;
|
NSString *dscr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue