📄 abstractperson.java
字号:
package net.sf.oxmled.mapping.sample.base;
import java.util.HashSet;
import java.util.Set;
import net.sf.oxmled.mapping.annotation.XMLAttribute;
import net.sf.oxmled.mapping.service.IConvertCastUtil;
/**
* AbstractPerson generated by MyEclipse Persistence Tools
*/
public abstract class AbstractPerson implements java.io.Serializable {
// Fields
@XMLAttribute(castMethod=IConvertCastUtil.castWrappedLong)
private Long id;
@XMLAttribute
private String number;
@XMLAttribute
private String name;
private Byte type;
private Set licenseTags = new HashSet(0);
// Constructors
/** default constructor */
public AbstractPerson() {
}
/** minimal constructor */
public AbstractPerson(String number, Byte type) {
this.number = number;
this.type = type;
}
/** full constructor */
public AbstractPerson(String number, String name, Byte type, Set licenseTags) {
this.number = number;
this.name = name;
this.type = type;
this.licenseTags = licenseTags;
}
// Property accessors
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getNumber() {
return this.number;
}
public void setNumber(String number) {
this.number = number;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Byte getType() {
return this.type;
}
public void setType(Byte type) {
this.type = type;
}
public Set getLicenseTags() {
return this.licenseTags;
}
public void setLicenseTags(Set licenseTags) {
this.licenseTags = licenseTags;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -