Skip to Navigation | Skip to Content

Ref_impl_Java mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: getParent() allways null in ArchetypeSlot nodes?


Hi Koray,

Basically, the current AOM is made modifiable in order to combine
constraints coming both from archetypes and templates, a procedure
sometimes known as 'flattening'. The result of that is all definitions
and constraints are represented in one big 'archetype' structure in
the form of AOM. The major benefit of doing that is that with some
small changes, the current archetype (AOM-based) tools/components will
be able to support openEHR templates.

Cheers,
Rong

2010/1/26 Koray Atalag <k.atalag@auckland.ac.nz>:
> Hi Rong, I’d be very interested in your approach to solve 
> immutability issue. Could you pls. comment what sort of relationship 
> does that have with templates?
>
>
>
> Cheers,
>
>
>
> -koray
>
>
>
> From: ref_impl_java-bounces@chime.ucl.ac.uk 
> [mailto:ref_impl_java-bounces@chime.ucl.ac.uk] On Behalf Of pablo 
> pazos
> Sent: Wednesday, 27 January 2010 6:41 a.m.
> To: Rong Chen
> Cc: ref impl java
> Subject: RE: getParent() allways null in ArchetypeSlot nodes?
>
>
>
> Great!
>
>
>
> Please let me know when the update is available.
>
>
>
> Thank you,
>
> Pablo.
>
>
>> Date: Tue, 26 Jan 2010 09:22:20 +0100
>> Subject: Re: getParent() allways null in ArchetypeSlot nodes?
>> From: rong.acode@gmail.com
>> To: pazospablo@hotmail.com
>> CC: ref_impl_java@openehr.org
>>
>> Hi again,
>>
>> Sorry for the delay. The parent attribute is not set in the current
>> adl-parser due to immutability of the AOM. But this will change
>> quickly. In fact, I am at the moment developing a modifiable AOM
>> implementation in relation to openEHR template support. These changes
>> will be uploaded to the openEHR repository once they are more
>> stabilized and tested.
>>
>> Cheers,
>> Rong
>>
>> 2010/1/17 pablo pazos <pazospablo@hotmail.com>:
>> > Hi,
>> > I've a problem with my slots in archetypes, when I do a 
>> > slot.getParent(), to
>> > get the parent CAttribute of this node, I get always null.
>> >
>> > Any ideas?
>> > Cheers,
>> > Pablo Pazos.
>> >
>> >
>> > ________________________________
>> > Windows Live Hotmail: Your friends can get your Facebook updates, 
>> > right from
>> > Hotmail®.
>
>
>
> ________________________________
>
> Keep your friends updated— even when you’re not signed in.
>
> _______________________________________________
> Ref_impl_java mailing list
> Ref_impl_java@openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_java
>
>

_______________________________________________
Ref_impl_java mailing list
Ref_impl_java@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_java