address.java
来自「一个hibernate的自动测试框架源码」· Java 代码 · 共 66 行
JAVA
66 行
/*
* Copyright (c) 2005 Chris Richardson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.chrisrichardson.ormunit.hibernate.tests;
public class Address {
private int id;
protected String street1;
protected String street2;
protected String city;
protected String state;
protected String zip;
Address() {
}
public Address(String street1, String street2,
String city, String state, String zip) {
this.street1 = street1;
this.street2 = street2;
this.city = city;
this.state = state;
this.zip = zip;
}
public String getCity() {
return city;
}
public String getState() {
return state;
}
public String getStreet1() {
return street1;
}
public String getStreet2() {
return street2;
}
public String getZip() {
return zip;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?