...
All data objects should be placed under com.crm.dataobject.* named packages and extend either com.crm.dataobject.CRMDO or any of its subclasses.
Expand |
---|
title | Creating CRMDOBankBranch.java |
---|
|
Code Block |
---|
theme | Eclipse |
---|
language | java |
---|
title | CRMDOBankBranch.java |
---|
firstline | 1 |
---|
| package com.crm.dataobject.accounts;
import java.util.Set;
import com.crm.dataobject.CRMDO;
/**
*
* table="BANKBRANCHES"
*
*/
public class CRMDOBankBranch extends CRMDO {
private static final long serialVersionUID = 1L;
private CRMDOBank bank;
private Set<CRMDOPaymentPreference> paymentPreferences;
public CRMDOBank getBank() {
return bank;
}
public void setBank(CRMDOBank bank) {
setChange("bank", this.bank, bank);
this.bank = bank;
}
public Set<CRMDOPaymentPreference> getPaymentPreferences() {
return paymentPreferences;
}
public void setPaymentPreferences(Set<CRMDOPaymentPreference> paymentPreferences) {
setChange("paymentPreferences", this.paymentPreferences,
paymentPreferences);
this.paymentPreferences = paymentPreferences;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
}
|
|
...