Lines 12-19 handle creating or updating the @address object.
第 12-19 行用于创建或更新 @address 对象。
Recapping the action, you validated the ZIP code, created the XML request to call the web service, parsed the XML response, and put the city and state fields in the @address object.
现在简要重述一下刚才的操作,您验证了邮政区码,创建了调用Webservices 的XML请求,解析了 XML响应并将城市和州字段放入了 @address对象。
Return a String representation of this address object.
返回地址对象的字符串形式。
The Address class is tightly coupled with the implementation classes that know how to format the Address object.
address类与知道如何格式化address对象的实现类紧密耦合。
If the Address object is never used during the Employee object life cycle, then the Address query never needs to execute.
如果在Employee对象的生命周期内没有使用Address对象,就不需要执行address查询。
When accessed for the first time, the proxy asks the Hibernate session to query the Address object and then defer all future calls directly to the queried instance.
当首次访问这个代理实例时,代理要求Hibernate会话查询Address对象,以后的所有调用都直接交给查询到的实例。
When accessed for the first time, the proxy asks the Hibernate session to query the Address object and then defer all future calls directly to the queried instance.
当首次访问这个代理实例时,代理要求Hibernate会话查询Address对象,以后的所有调用都直接交给查询到的实例。
应用推荐