* @return the stub.
*/
public GaWorkloadEventStub getWorkloadEventStub() {
Stereotype stereotype = activity.getApplicableStereotype(GaWorkloadEventDecorator.QUALIFIED_NAME);
GaWorkloadEventDecorator decorator = null;
try {
decorator = (GaWorkloadEventDecorator) getFactory().getDecorator(stereotype);
} catch (ClassNotFoundException e) {} // cannot happen
catch (InvalidContextException e) {} // cannot happen
return (GaWorkloadEventStub) decorator.getStub(activity);
}