address.java
来自「OR Mapping工具」· Java 代码 · 共 94 行
JAVA
94 行
package org.ephman.junit.generated;import java.sql.*;import java.util.*;// Do not edit!! generated classes/** Address <p> * XMLSource: /home/richieb/MyDevelopment/Abra-0.9/src/org/ephman/junit/test.xml * @version Thu Jun 30 15:12:42 EDT 2005 * @author generated by Dave Knull */public class Address extends org.ephman.abra.utils.Versioned implements java.io.Serializable { private String _transientInline; public String getTransientInline () { return this._transientInline; } public void setTransientInline (String foo) { this._transientInline = foo; } private String _street; public String getStreet () { return this._street; } public void setStreet (String foo) { this._street = foo; } private String _state; public String getState () { return this._state; } public void setState (String foo) { this._state = foo; } private int _oid; public int getOid () { return this._oid; } public void setOid (int foo) { this._oid = foo; } private String _city; public String getCity () { return this._city; } public void setCity (String foo) { this._city = foo; } public void initializeFromView (org.ephman.junit.generated.AddrView view) { this.setStreet (view.getStreet ()); this.setCity (view.getCity ()); } public org.ephman.junit.generated.AddrView createNormalView () { HashMap viewContext = new HashMap (); return this.createNormalView (viewContext); } public org.ephman.junit.generated.AddrView createNormalView (HashMap _viewContext) { org.ephman.junit.generated.AddrView foo = (org.ephman.junit.generated.AddrView)_viewContext.get (this); if (foo == null) { //not found foo = new org.ephman.junit.generated.AddrView (); _viewContext.put (this, foo); this.createNormalView (foo, _viewContext); } return foo; } protected void createNormalView (org.ephman.junit.generated.AddrView foo, HashMap _viewContext) { foo.setStreet (this.getStreet()); foo.setCity (this.getCity()); } /** the Default constructor for Address * use set... methods to fill in fields */ public Address () { super (); _transientInline = ""; _street = ""; _state = ""; _oid = 0; _city = ""; }} // end of Address
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?