Hirmke Michael schreef:
Hi,
good to know, but nevertheless it misses all the attributes of
aux classes assigned to a class. Right?
Correct, but formally the attributes are only allowed after you
add the aux class. So the trick would be to ask for all aux
classes of your class
Hi,
>> good to know, but nevertheless it misses all the attributes of
>> aux classes assigned to a class. Right?
> Correct, but formally the attributes are only allowed after you
> add the aux class. So the trick would be to ask for all aux
> classes of your class using the ditcontentrule query
Hirmke Michael schreef:
Hi,
Looking at the source code of schema.pm
my $sup = $elem->{sup} or next;
push @oc, @$sup;
it already walks the superclasses.
So to get all possible attributes for a class, just ask for
all "must"
and "may" attributes for a class.
good to know, but
Hi,
> Looking at the source code of schema.pm
>
>
> my $sup = $elem->{sup} or next;
> push @oc, @$sup;
>
>
> it already walks the superclasses.
>
> So to get all possible attributes for a class, just ask for
> all "must"
> and "may" attributes for a class.
good to know, but nevertheless i
Looking at the source code of schema.pm
my $sup = $elem->{sup} or next;
push @oc, @$sup;
it already walks the superclasses.
So to get all possible attributes for a class, just ask for all "must"
and "may" attributes for a class.
Cheers,
Hans
Chris Ridd schreef:
On 10/3/06 2:18, Hirmk
On 10/3/06 2:18, Hirmke Michael <[EMAIL PROTECTED]> wrote:
> Thx for your answer.
> Though it is not, what I wanted to hear, I have to live with this fact.
Recently a new method was added to Schema.pm that determines an attribute's
syntax by looking through the supertypes. I think it would be rea
Hi,
> From: Chris Ridd [mailto:[EMAIL PROTECTED]
[...]
> > and auxiliary classes? Do I really have to query the class,
> then query for
> > the next superior class, then query for the attributes of
> this class and so
> > on?
>
> Yes.
8-(
[...]
> It should return all of the *allowed* auxilia
On 8/3/06 4:40, Hirmke Michael <[EMAIL PROTECTED]> wrote:
> Hi *,
>
> what is the best/preferred method for retrieving *all* possible attributes
> for an object including all the attributes of both of it's classes superior
> and auxiliary classes? Do I really have to query the class, then query f