static Ent_NetworkLocation newNetLocation(String code)
    {
        Ent_Location location = newLocation(code);

        Ent_NetworkLocation nl = new Ent_NetworkLocation();
        nl.location = location;

        location.networkLocations = new java.util.HashSet<Ent_NetworkLocation>();

        Ent_NetworkLocation sub = new Ent_NetworkLocation();
        sub.location = newLocation(code + "-sub");

        location.networkLocations.add(sub);
        location.sub = sub;

        return nl;
    }
The fields are filtered dependending on the Tag annotation {@link Tag#groupFilter()}.

@author David Yu
@created Feb 11, 2013
protostuff-runtime/src/test/java/io/protostuff/runtime/FilterFieldsByGroupTest.java