MetaData Merging facility

View: New views
2 Messages — Rating Filter:   Alert me  

MetaData Merging facility

by SvS-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

In Rife you have meta data merging based on naming-convention.
I wonder if there any way i can merge metadata myself.
Imagine i have a class Clazz
public Clazz {
  public int id;
}

and then i want to add some meta data to it (i dont want my Clazz
inherit any classes).
I have another class, say ClazzSomethingOdd (not following the naming
convention) which will inherit MetaData  class. And then i want to
merge it into Clazz somehow. Is there any way  i can achieve this ?

Thanks in advance


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: MetaData Merging facility

by Geert Bevin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

That is not possible.

The design of the meta data merging is purely doing this on a name  
based fashion, so you have to name it ClazzMetaData.

HTH,

Geert

On 07 Nov 2007, at 02:35, SvS wrote:

>
> Hi all,
>
> In Rife you have meta data merging based on naming-convention.
> I wonder if there any way i can merge metadata myself.
> Imagine i have a class Clazz
> public Clazz {
>  public int id;
> }
>
> and then i want to add some meta data to it (i dont want my Clazz
> inherit any classes).
> I have another class, say ClazzSomethingOdd (not following the naming
> convention) which will inherit MetaData  class. And then i want to
> merge it into Clazz somehow. Is there any way  i can achieve this ?
>
> Thanks in advance
>
>
> >

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price
 
 
 
Google
rifers.org web