}
public int compareTo (Object peer_) throws ClassCastException {
if (!(peer_ instanceof SetMaxChildrenRequest)) {
throw new ClassCastException("Comparing different types of records.");
}
SetMaxChildrenRequest peer = (SetMaxChildrenRequest) peer_;
int ret = 0;
ret = path.compareTo(peer.path);
if (ret != 0) return ret;
ret = (max == peer.max)? 0 :((max<peer.max)?-1:1);
if (ret != 0) return ret;