Different behaviour of reference cotributors

Hi all,

I have 2  interfaces in DOM model ,   reference contributors registered on attributes with @Referencing and one of them is working,
while other is not  ( classic issue ;) )

This one is working:


@Namespace(ApdlConstants.EBIMODULE_NAMESPACE_URI)
public interface Link_in extends DomElement {


.............


     /**
      * Returns the value of the receiver child.
      * @return the value of the receiver child.
      */
     @NotNull
    @Referencing(LinkInReferenceConverter.class)
     GenericAttributeValue<String> getReceiver();



While This one does not:

@Namespace(ApdlConstants.EBIMODULE_NAMESPACE_URI)
public interface In_message extends DomElement {

    /**
     * event to fire on message deilevery.  shall be kind of in message event
     *
     * @return the value of the bind_to child.
     */
    @NotNull
    @Referencing(InMessageReferenceConverter.class)
    GenericAttributeValue<String> getBind_to();




Both are found and processed via DOM-Model, and first sample provides link to second sample.   Apparently I'm overlooking something very simple.
1 comment

Problem solved:

Apparently


GenericAttributeValue<String> getBind_to();


was not recognised  by DOM as xml attribute value named "bind_to".  Annotation helps:


    @Attribute("bind_to")
    GenericAttributeValue<String> getBind_to();

0

Please sign in to leave a comment.