copy.addSupportedProcessingEvent(eventDefRef.getQName());
}
for (EventDefinitionReference eventDefRef : source.getSupportedPublishingEvents())
{
copy.addSupportedPublishingEvent(eventDefRef.getQName());
}
for (SecurityRoleRef secRoleRef : source.getSecurityRoleRefs())
{
SecurityRoleRef copySecRoleRef = copy.addSecurityRoleRef(secRoleRef.getRoleName());