getMetadata().getMappedSuperclasses().add(mappedSuperclass.getMetadata());
return mappedSuperclass;
}
public NamedNativeQuery addNamedNativeQuery() {
NamedNativeQueryImpl query = new NamedNativeQueryImpl();
getMetadata().getNamedNativeQueries().add(query.getMetadata());
return query;
}