In the method
public DataObject search(AbstractQueryItem query) in
class DiscovererMediator only basic dataobject
properties are returned in the componentdescription.
This might be good as long as you don't want a
component's attributes from the componentdescription.
To solve this change the line
DataObject doComp = comp.getBasicDataObject();
to
DataObject doComp = comp.toDataObject();
Furthermore to get the in and out attributes set
properly one also needs to add a line to the two
functions setInAttributes and setOutAttributes in the
class ComponentDescription (this might also be true for
the other set functions like setCallbacks etc. in the
same class).
In public Error setOutAttributes(DataObject data)
add this
atts.add(doAtt);
below the declarations of atts.
In public Error setInAttributes(DataObject data)
add this
Inatts.add(doInAtt);
below the declaration of Inatts
Logged In: YES
user_id=1113381
atts.add(doAtt);
should be
if (atts.isEmpty())
atts.add(doAtt);
and the same for Inatts