List<StubPropertyMetaData> stubProps = jbpcref.getStubProperties();
if (stubProps != null)
{
for (StubPropertyMetaData stubProp : stubProps)
{
UnifiedStubPropertyMetaData prop = new UnifiedStubPropertyMetaData();
prop.setPropName(stubProp.getPropName());
prop.setPropValue(stubProp.getPropValue());
result.addStubProperty(prop);
}
}
List<CallPropertyMetaData> callProps = jbpcref.getCallProperties();
if (callProps != null)
{
for (CallPropertyMetaData callProp : callProps)
{
UnifiedCallPropertyMetaData prop = new UnifiedCallPropertyMetaData();
prop.setPropName(callProp.getPropName());
prop.setPropValue(callProp.getPropValue());
result.addCallProperty(prop);
}
}
}
return result;