You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
825 lines
20 KiB
825 lines
20 KiB
/**
|
|
* Copyright (c) 2002 Sinosoft Co.,LTD.
|
|
* All right reserved.
|
|
*/
|
|
|
|
package com.sinosoft.lis.schema;
|
|
|
|
import com.sinosoft.persistence.Entity;
|
|
import com.sinosoft.lis.pubfun.FDate;
|
|
import com.sinosoft.persistence.Column;
|
|
import com.sinosoft.persistence.Id;
|
|
import com.sinosoft.persistence.Schema;
|
|
import com.sinosoft.persistence.Table;
|
|
import com.sinosoft.persistence.impl.SchemaHelper;
|
|
import com.sinosoft.utility.CErrors;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.experimental.Accessors;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* <p>ClassName: LPBnfSchema </p>
|
|
* <p>Description: DB层 Schema 类文件 </p>
|
|
* <p>Company: Sinosoft Co.,LTD </p>
|
|
*
|
|
* @author Makerx2
|
|
* @Database 新核心LIS7契约PDM
|
|
* @CreateDatetime 2024-12-11 13:53:58 779
|
|
*/
|
|
@Table(name = "LPBnf", desc = "LPBnf")
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Accessors(chain = true)
|
|
public class LPBnfSchema extends Entity implements Schema<LPBnfSchema>, Cloneable {
|
|
// @Field
|
|
/**
|
|
* 批单号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 0, name = "EdorNo", desc = "批单号", type = Schema.TYPE_STRING)
|
|
private String edorNo;
|
|
|
|
/**
|
|
* 批改类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 1, name = "EdorType", desc = "批改类型", type = Schema.TYPE_STRING)
|
|
private String edorType;
|
|
|
|
/**
|
|
* 合同号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 2, name = "ContNo", desc = "合同号码", type = Schema.TYPE_STRING)
|
|
private String contNo;
|
|
|
|
/**
|
|
* 保单号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 3, name = "PolNo", desc = "保单号码", type = Schema.TYPE_STRING)
|
|
private String polNo;
|
|
|
|
/**
|
|
* 被保人客户号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 4, name = "InsuredNo", desc = "被保人客户号码", type = Schema.TYPE_STRING)
|
|
private String insuredNo;
|
|
|
|
/**
|
|
* 受益人类别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 5, name = "BnfType", desc = "受益人类别", type = Schema.TYPE_STRING)
|
|
private String bnfType;
|
|
|
|
/**
|
|
* 受益人序号
|
|
*/
|
|
@Getter
|
|
@Id
|
|
@Column(index = 6, name = "BnfNo", desc = "受益人序号", type = Schema.TYPE_INT)
|
|
private int bnfNo;
|
|
|
|
/**
|
|
* 受益人级别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Id
|
|
@Column(index = 7, name = "BnfGrade", desc = "受益人级别", type = Schema.TYPE_STRING)
|
|
private String bnfGrade;
|
|
|
|
/**
|
|
* 与被保人关系
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 8, name = "RelationToInsured", desc = "与被保人关系", type = Schema.TYPE_STRING)
|
|
private String relationToInsured;
|
|
|
|
/**
|
|
* 受益份额
|
|
*/
|
|
@Getter
|
|
@Column(index = 9, name = "BnfLot", desc = "受益份额", type = Schema.TYPE_DOUBLE)
|
|
private double bnfLot;
|
|
|
|
/**
|
|
* 客户号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 10, name = "CustomerNo", desc = "客户号码", type = Schema.TYPE_STRING)
|
|
private String customerNo;
|
|
|
|
/**
|
|
* 客户姓名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 11, name = "Name", desc = "客户姓名", type = Schema.TYPE_STRING)
|
|
private String name;
|
|
|
|
/**
|
|
* 客户性别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 12, name = "Sex", desc = "客户性别", type = Schema.TYPE_STRING)
|
|
private String sex;
|
|
|
|
/**
|
|
* 客户出生日期
|
|
*/
|
|
@Column(index = 13, name = "Birthday", desc = "客户出生日期", type = Schema.TYPE_DATE)
|
|
private Date birthday;
|
|
|
|
/**
|
|
* 证件类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 14, name = "IDType", desc = "证件类型", type = Schema.TYPE_STRING)
|
|
private String iDType;
|
|
|
|
/**
|
|
* 证件号码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 15, name = "IDNo", desc = "证件号码", type = Schema.TYPE_STRING)
|
|
private String iDNo;
|
|
|
|
/**
|
|
* 操作员
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 16, name = "Operator", desc = "操作员", type = Schema.TYPE_STRING)
|
|
private String operator;
|
|
|
|
/**
|
|
* 入机日期
|
|
*/
|
|
@Column(index = 17, name = "MakeDate", desc = "入机日期", type = Schema.TYPE_DATE)
|
|
private Date makeDate;
|
|
|
|
/**
|
|
* 入机时间
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 18, name = "MakeTime", desc = "入机时间", type = Schema.TYPE_STRING)
|
|
private String makeTime;
|
|
|
|
/**
|
|
* 最后一次修改日期
|
|
*/
|
|
@Column(index = 19, name = "ModifyDate", desc = "最后一次修改日期", type = Schema.TYPE_DATE)
|
|
private Date modifyDate;
|
|
|
|
/**
|
|
* 最后一次修改时间
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 20, name = "ModifyTime", desc = "最后一次修改时间", type = Schema.TYPE_STRING)
|
|
private String modifyTime;
|
|
|
|
/**
|
|
* 通讯地址
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 21, name = "PostalAddress", desc = "通讯地址", type = Schema.TYPE_STRING)
|
|
private String postalAddress;
|
|
|
|
/**
|
|
* 通讯邮编
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 22, name = "ZipCode", desc = "通讯邮编", type = Schema.TYPE_STRING)
|
|
private String zipCode;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 23, name = "Remark", desc = "备注", type = Schema.TYPE_STRING)
|
|
private String remark;
|
|
|
|
/**
|
|
* 银行编码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 24, name = "BankCode", desc = "银行编码", type = Schema.TYPE_STRING)
|
|
private String bankCode;
|
|
|
|
/**
|
|
* 银行帐号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 25, name = "BankAccNo", desc = "银行帐号", type = Schema.TYPE_STRING)
|
|
private String bankAccNo;
|
|
|
|
/**
|
|
* 银行帐户名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 26, name = "AccName", desc = "银行帐户名", type = Schema.TYPE_STRING)
|
|
private String accName;
|
|
|
|
/**
|
|
* 证件有效期
|
|
*/
|
|
@Column(index = 27, name = "IDExpDate", desc = "证件有效期", type = Schema.TYPE_DATE)
|
|
private Date iDExpDate;
|
|
|
|
/**
|
|
* 手机
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 28, name = "Mobile", desc = "手机", type = Schema.TYPE_STRING)
|
|
private String mobile;
|
|
|
|
/**
|
|
* 管理机构
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 29, name = "ManageCom", desc = "管理机构", type = Schema.TYPE_STRING)
|
|
private String manageCom;
|
|
|
|
/**
|
|
* 公司代码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 30, name = "ComCode", desc = "公司代码", type = Schema.TYPE_STRING)
|
|
private String comCode;
|
|
|
|
/**
|
|
* 最后一次修改操作员
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 31, name = "ModifyOperator", desc = "最后一次修改操作员", type = Schema.TYPE_STRING)
|
|
private String modifyOperator;
|
|
|
|
/**
|
|
* 国籍
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 32, name = "NativePlace", desc = "国籍", type = Schema.TYPE_STRING)
|
|
private String nativePlace;
|
|
|
|
/**
|
|
* 户籍所在地
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 33, name = "RgtAddress", desc = "户籍所在地", type = Schema.TYPE_STRING)
|
|
private String rgtAddress;
|
|
|
|
/**
|
|
* 婚姻状况
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 34, name = "MarRiage", desc = "婚姻状况", type = Schema.TYPE_STRING)
|
|
private String marRiage;
|
|
|
|
/**
|
|
* 职业类别
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 35, name = "OccupationType", desc = "职业类别", type = Schema.TYPE_STRING)
|
|
private String occupationType;
|
|
|
|
/**
|
|
* 最高职业
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 36, name = "OccupationCode", desc = "最高职业", type = Schema.TYPE_STRING)
|
|
private String occupationCode;
|
|
|
|
/**
|
|
* 职业
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 37, name = "WorkType", desc = "职业", type = Schema.TYPE_STRING)
|
|
private String workType;
|
|
|
|
/**
|
|
* 兼职
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 38, name = "PluralityType", desc = "兼职", type = Schema.TYPE_STRING)
|
|
private String pluralityType;
|
|
|
|
/**
|
|
* 驾证类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 39, name = "LicenseType", desc = "驾证类型", type = Schema.TYPE_STRING)
|
|
private String licenseType;
|
|
|
|
/**
|
|
* 姓
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 40, name = "LastName", desc = "姓", type = Schema.TYPE_STRING)
|
|
private String lastName;
|
|
|
|
/**
|
|
* 名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 41, name = "FirstName", desc = "名", type = Schema.TYPE_STRING)
|
|
private String firstName;
|
|
|
|
/**
|
|
* 英文姓
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 42, name = "LastNameEn", desc = "英文姓", type = Schema.TYPE_STRING)
|
|
private String lastNameEn;
|
|
|
|
/**
|
|
* 英文名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 43, name = "FirstNameEn", desc = "英文名", type = Schema.TYPE_STRING)
|
|
private String firstNameEn;
|
|
|
|
/**
|
|
* 英文姓名
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 44, name = "NanmEn", desc = "英文姓名", type = Schema.TYPE_STRING)
|
|
private String nanmEn;
|
|
|
|
/**
|
|
* 语言
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 45, name = "Language", desc = "语言", type = Schema.TYPE_STRING)
|
|
private String language;
|
|
|
|
/**
|
|
* 电子邮箱
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 46, name = "Email", desc = "电子邮箱", type = Schema.TYPE_STRING)
|
|
private String email;
|
|
|
|
/**
|
|
* 固定电话
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 47, name = "Phone", desc = "固定电话", type = Schema.TYPE_STRING)
|
|
private String phone;
|
|
|
|
/**
|
|
* 是否城镇居民
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 48, name = "IsCity", desc = "是否城镇居民", type = Schema.TYPE_STRING)
|
|
private String isCity;
|
|
|
|
/**
|
|
* 地址号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 49, name = "AddressNo", desc = "地址号", type = Schema.TYPE_STRING)
|
|
private String addressNo;
|
|
|
|
/**
|
|
* 开户行所在省
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 50, name = "BankProvince", desc = "开户行所在省", type = Schema.TYPE_STRING)
|
|
private String bankProvince;
|
|
|
|
/**
|
|
* 是否长期
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 51, name = "IsLongValid", desc = "是否长期", type = Schema.TYPE_STRING)
|
|
private String isLongValid;
|
|
|
|
/**
|
|
* 是否拥有公费医疗和社保医疗保险
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 52, name = "IsSocialInsuFlag", desc = "是否拥有公费医疗和社保医疗保险", type = Schema.TYPE_STRING)
|
|
private String isSocialInsuFlag;
|
|
|
|
/**
|
|
* 居民类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 53, name = "ResidentsType", desc = "居民类型", type = Schema.TYPE_STRING)
|
|
private String residentsType;
|
|
|
|
/**
|
|
* 工作单位
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 54, name = "WorkCompName", desc = "工作单位", type = Schema.TYPE_STRING)
|
|
private String workCompName;
|
|
|
|
/**
|
|
* 是否有摩托车驾驶证
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 55, name = "Ismotorcyclelicense", desc = "是否有摩托车驾驶证", type = Schema.TYPE_STRING)
|
|
private String ismotorcyclelicense;
|
|
|
|
/**
|
|
* 个单客户号
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 56, name = "PerCusNo", desc = "个单客户号", type = Schema.TYPE_STRING)
|
|
private String perCusNo;
|
|
|
|
/**
|
|
* 人证相符标记
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 57, name = "PerCertConsist", desc = "人证相符标记", type = Schema.TYPE_STRING)
|
|
private String perCertConsist;
|
|
|
|
/**
|
|
* 实名查验标记
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 58, name = "RealNameCheck", desc = "实名查验标记", type = Schema.TYPE_STRING)
|
|
private String realNameCheck;
|
|
|
|
/**
|
|
* 证件有效期
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 59, name = "IDDateType", desc = "IDDateType", type = Schema.TYPE_STRING)
|
|
private String iDDateType;
|
|
|
|
/**
|
|
* 证件有效止期
|
|
*/
|
|
@Column(index = 60, name = "IDEndDate", desc = "证件有效止期", type = Schema.TYPE_DATE)
|
|
private Date iDEndDate;
|
|
|
|
/**
|
|
* 信托机构编码
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 61, name = "TrustComCode", desc = "信托机构编码", type = Schema.TYPE_STRING)
|
|
private String trustComCode;
|
|
|
|
/**
|
|
* 受益人属性
|
|
*/
|
|
@Getter
|
|
@Column(index = 62, name = "BnfAttribute", desc = "受益人属性", type = Schema.TYPE_INT)
|
|
private int bnfAttribute;
|
|
|
|
/**
|
|
* 证件有效期起期
|
|
*/
|
|
@Column(index = 63, name = "IDStartDate", desc = "证件有效期起期", type = Schema.TYPE_DATE)
|
|
private Date iDStartDate;
|
|
|
|
/**
|
|
* 变更类型
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 64, name = "ChangeType", desc = "变更类型", type = Schema.TYPE_STRING)
|
|
private String changeType;
|
|
|
|
/**
|
|
* 省
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 65, name = "Province", desc = "省", type = Schema.TYPE_STRING)
|
|
private String province;
|
|
|
|
/**
|
|
* 市
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 66, name = "City", desc = "市", type = Schema.TYPE_STRING)
|
|
private String city;
|
|
|
|
/**
|
|
* 县
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@Column(index = 67, name = "District", desc = "县", type = Schema.TYPE_STRING)
|
|
private String district;
|
|
|
|
|
|
public static final int FIELDNUM = 68; // 数据库表的字段个数
|
|
|
|
private transient FDate fDate = new FDate(); // 处理日期
|
|
|
|
public transient CErrors mErrors; // 错误信息
|
|
|
|
// @Constructor
|
|
public LPBnfSchema() {
|
|
mErrors = new CErrors();
|
|
}
|
|
|
|
// @Method
|
|
@Override
|
|
public Object clone() throws CloneNotSupportedException {
|
|
LPBnfSchema cloned = (LPBnfSchema) super.clone();
|
|
cloned.fDate = (FDate) fDate.clone();
|
|
cloned.mErrors = (CErrors) mErrors.clone();
|
|
SchemaHelper.cloneDate(cloned, this, this.getClass());
|
|
return cloned;
|
|
}
|
|
|
|
@Override
|
|
public String[] getPK() {
|
|
return SchemaHelper.getPK(this.getClass());
|
|
}
|
|
|
|
public LPBnfSchema setBnfNo(int aBnfNo) {
|
|
bnfNo = aBnfNo;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBnfNo(String aBnfNo) {
|
|
if (aBnfNo != null && !aBnfNo.equals("") && !aBnfNo.equals("null")) {
|
|
bnfNo = Integer.parseInt(aBnfNo);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBnfLot(double aBnfLot) {
|
|
bnfLot = aBnfLot;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBnfLot(String aBnfLot) {
|
|
if (aBnfLot != null && !aBnfLot.equals("") && !aBnfLot.equals("null")) {
|
|
bnfLot = Double.parseDouble(aBnfLot);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getBirthday() {
|
|
if (birthday != null)
|
|
return fDate.getString(birthday);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setBirthday(Date aBirthday) {
|
|
birthday = aBirthday;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBirthday(String aBirthday) {
|
|
if (aBirthday != null && !aBirthday.equals("") && !aBirthday.equals("null")) {
|
|
birthday = fDate.getDate(aBirthday);
|
|
} else {
|
|
birthday = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getMakeDate() {
|
|
if (makeDate != null)
|
|
return fDate.getString(makeDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setMakeDate(Date aMakeDate) {
|
|
makeDate = aMakeDate;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setMakeDate(String aMakeDate) {
|
|
if (aMakeDate != null && !aMakeDate.equals("") && !aMakeDate.equals("null")) {
|
|
makeDate = fDate.getDate(aMakeDate);
|
|
} else {
|
|
makeDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getModifyDate() {
|
|
if (modifyDate != null)
|
|
return fDate.getString(modifyDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setModifyDate(Date aModifyDate) {
|
|
modifyDate = aModifyDate;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setModifyDate(String aModifyDate) {
|
|
if (aModifyDate != null && !aModifyDate.equals("") && !aModifyDate.equals("null")) {
|
|
modifyDate = fDate.getDate(aModifyDate);
|
|
} else {
|
|
modifyDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getIDExpDate() {
|
|
if (iDExpDate != null)
|
|
return fDate.getString(iDExpDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setIDExpDate(Date aIDExpDate) {
|
|
iDExpDate = aIDExpDate;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setIDExpDate(String aIDExpDate) {
|
|
if (aIDExpDate != null && !aIDExpDate.equals("") && !aIDExpDate.equals("null")) {
|
|
iDExpDate = fDate.getDate(aIDExpDate);
|
|
} else {
|
|
iDExpDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getIDEndDate() {
|
|
if (iDEndDate != null)
|
|
return fDate.getString(iDEndDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setIDEndDate(Date aIDEndDate) {
|
|
iDEndDate = aIDEndDate;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setIDEndDate(String aIDEndDate) {
|
|
if (aIDEndDate != null && !aIDEndDate.equals("") && !aIDEndDate.equals("null")) {
|
|
iDEndDate = fDate.getDate(aIDEndDate);
|
|
} else {
|
|
iDEndDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBnfAttribute(int aBnfAttribute) {
|
|
bnfAttribute = aBnfAttribute;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setBnfAttribute(String aBnfAttribute) {
|
|
if (aBnfAttribute != null && !aBnfAttribute.equals("") && !aBnfAttribute.equals("null")) {
|
|
bnfAttribute = Integer.parseInt(aBnfAttribute);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public String getIDStartDate() {
|
|
if (iDStartDate != null)
|
|
return fDate.getString(iDStartDate);
|
|
else
|
|
return null;
|
|
}
|
|
|
|
public LPBnfSchema setIDStartDate(Date aIDStartDate) {
|
|
iDStartDate = aIDStartDate;
|
|
return this;
|
|
}
|
|
|
|
public LPBnfSchema setIDStartDate(String aIDStartDate) {
|
|
if (aIDStartDate != null && !aIDStartDate.equals("") && !aIDStartDate.equals("null")) {
|
|
iDStartDate = fDate.getDate(aIDStartDate);
|
|
} else {
|
|
iDStartDate = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
|
|
@Override
|
|
public LPBnfSchema setSchema(LPBnfSchema aLPBnfSchema) {
|
|
SchemaHelper.setSchema(aLPBnfSchema, this);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public LPBnfSchema getSchema() {
|
|
LPBnfSchema aLPBnfSchema = new LPBnfSchema();
|
|
aLPBnfSchema.setSchema(this);
|
|
return aLPBnfSchema;
|
|
}
|
|
|
|
@Override
|
|
public String encode() {
|
|
return SchemaHelper.encode(this);
|
|
}
|
|
|
|
@Override
|
|
public boolean decode(String strMessage) {
|
|
return SchemaHelper.decode(this, strMessage);
|
|
}
|
|
|
|
@Override
|
|
public String getV(String FCode) {
|
|
return SchemaHelper.getV(this, FCode);
|
|
}
|
|
|
|
@Override
|
|
public String getV(int nFieldIndex) {
|
|
return SchemaHelper.getV(this, nFieldIndex);
|
|
}
|
|
|
|
@Override
|
|
public boolean setV(String FCode, String FValue) {
|
|
return SchemaHelper.setV(this, FCode, FValue);
|
|
}
|
|
|
|
@Override
|
|
public int getFieldCount() {
|
|
return FIELDNUM;
|
|
}
|
|
|
|
@Override
|
|
public int getFieldIndex(String strFieldName) {
|
|
return SchemaHelper.getFieldIndex(this.getClass(), strFieldName);
|
|
}
|
|
|
|
@Override
|
|
public String getFieldName(int nFieldIndex) {
|
|
return SchemaHelper.getFieldName(this.getClass(), nFieldIndex);
|
|
}
|
|
|
|
@Override
|
|
public int getFieldType(String strFieldName) {
|
|
return SchemaHelper.getFieldType(this.getClass(), strFieldName);
|
|
}
|
|
|
|
@Override
|
|
public int getFieldType(int nFieldIndex) {
|
|
return SchemaHelper.getFieldType(this.getClass(), nFieldIndex);
|
|
}
|
|
}
|
|
|