package org.ithang; @Deprecated public class ON { private String atLabel; private String btLabel; private ModelSQL host; public ON(ModelSQL _host,String btLabel){ this.host=_host; this.atLabel=host.getTableLabel(); this.btLabel=btLabel; host.getSQL().append(" on "); } public ModelSQL on(String afieldName,String bfieldName){ host.getSQL().append(atLabel).append(".").append(afieldName); host.getSQL().append("=").append(btLabel).append(".").append(bfieldName); return host; } }