/*
* Generated by XDoclet - Do not edit!
*/
package test.interfaces;
/**
* Value object for Customer.
*
* Notice, this object is used to represent the state of an
* Customer object. This value object
* Is not connected to the database in any way, it is just a normal object used
* as a container for data from an EJB.
*
* @xdoclet-generated at 16-04-05
* @copyright The XDoclet Team
* @author XDoclet
* @version 1.2.3
*/
public class CustomerValue
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
{
private float credit;
private boolean creditHasBeenSet = false;
private java.lang.String[][] array;
private boolean arrayHasBeenSet = false;
private byte[] image;
private boolean imageHasBeenSet = false;
private float tax;
private boolean taxHasBeenSet = false;
private java.lang.String id;
private boolean idHasBeenSet = false;
private java.lang.String name;
private boolean nameHasBeenSet = false;
private java.lang.String firstName;
private boolean firstNameHasBeenSet = false;
private java.lang.String phone;
private boolean phoneHasBeenSet = false;
private java.lang.String fax;
private boolean faxHasBeenSet = false;
private java.util.Collection AccountViews = wrapCollection(new java.util.ArrayList() );
private java.util.Collection ShippingAddressValues = wrapCollection(new java.util.ArrayList() );
private test.interfaces.CustomerPK primaryKey;
private int _version = 0;
public CustomerValue()
{
primaryKey = new test.interfaces.CustomerPK();
}
public CustomerValue( float credit,java.lang.String[][] array,byte[] image,float tax,java.lang.String id,java.lang.String name,java.lang.String firstName,java.lang.String phone,java.lang.String fax )
{
setCredit(credit);
setArray(array);
setImage(image);
setTax(tax);
setId(id);
setName(name);
setFirstName(firstName);
setPhone(phone);
setFax(fax);
primaryKey = new test.interfaces.CustomerPK(this.getId());
}
/**
* @deprecated use {@link #clone}
*/
public CustomerValue( CustomerValue otherValue )
{
this.credit = otherValue.credit;
creditHasBeenSet = true;
this.array = otherValue.array;
arrayHasBeenSet = true;
this.image = otherValue.image;
imageHasBeenSet = true;
this.tax = otherValue.tax;
taxHasBeenSet = true;
this.id = otherValue.id;
idHasBeenSet = true;
this.name = otherValue.name;
nameHasBeenSet = true;
this.firstName = otherValue.firstName;
firstNameHasBeenSet = true;
this.phone = otherValue.phone;
phoneHasBeenSet = true;
this.fax = otherValue.fax;
faxHasBeenSet = true;
this.AccountViews.addAll(otherValue.AccountViews);
this.ShippingAddressValues.addAll(otherValue.ShippingAddressValues);
primaryKey = new test.interfaces.CustomerPK(this.getId());
}
public test.interfaces.CustomerPK getPrimaryKey()
{
return primaryKey;
}
public void setPrimaryKey( test.interfaces.CustomerPK primaryKey)
{
// it's also nice to update PK object - just in case
// somebody would ask for it later...
this.primaryKey = primaryKey;
setId( primaryKey.id );
}
public float getCredit()
{
return this.credit;
}
public void setCredit( float credit )
{
this.credit = credit;
creditHasBeenSet = true;
}
public boolean creditHasBeenSet(){
return creditHasBeenSet;
}
public java.lang.String[][] getArray()
{
return this.array;
}
private void setArray( java.lang.String[][] array )
{
this.array = array;
arrayHasBeenSet = true;
}
public byte[] getImage()
{
return this.image;
}
private void setImage( byte[] image )
{
this.image = image;
imageHasBeenSet = true;
}
public float getTax()
{
return this.tax;
}
private void setTax( float tax )
{
this.tax = tax;
taxHasBeenSet = true;
}
public java.lang.String getId()
{
return this.id;
}
public void setId( java.lang.String id )
{
this.id = id;
idHasBeenSet = true;
primaryKey.setId(id);
}
public boolean idHasBeenSet(){
return idHasBeenSet;
}
public java.lang.String getName()
{
return this.name;
}
public void setName( java.lang.String name )
{
this.name = name;
nameHasBeenSet = true;
}
public boolean nameHasBeenSet(){
return nameHasBeenSet;
}
public java.lang.String getFirstName()
{
return this.firstName;
}
public void setFirstName( java.lang.String firstName )
{
this.firstName = firstName;
firstNameHasBeenSet = true;
}
public boolean firstNameHasBeenSet(){
return firstNameHasBeenSet;
}
public java.lang.String getPhone()
{
return this.phone;
}
public void setPhone( java.lang.String phone )
{
this.phone = phone;
phoneHasBeenSet = true;
}
public boolean phoneHasBeenSet(){
return phoneHasBeenSet;
}
public java.lang.String getFax()
{
return this.fax;
}
public void setFax( java.lang.String fax )
{
this.fax = fax;
faxHasBeenSet = true;
}
public boolean faxHasBeenSet(){
return faxHasBeenSet;
}
protected java.util.Collection addedAccountViews = wrapCollection(new java.util.ArrayList());
protected java.util.Collection onceAddedAccountViews = wrapCollection(new java.util.ArrayList());
protected java.util.Collection removedAccountViews = wrapCollection(new java.util.ArrayList());
protected java.util.Collection updatedAccountViews = wrapCollection(new java.util.ArrayList());
/**
* Important: This method returns an unmodifiable collection.
*/
public java.util.Collection getAddedAccountViews() { return wrapReadOnly(addedAccountViews); }
/**
* Important: This method returns an unmodifiable collection.
*/
public java.util.Collection getOnceAddedAccountViews() { return wrapReadOnly(onceAddedAccountViews); }
/**
* Important: This method returns an unmodifiable collection.
*/
public java.util.Collection getRemovedAccountViews() { return wrapReadOnly(removedAccountViews); }
/**
* Important: This method returns an unmodifiable collection.
*/
public java.util.Collection getUpdatedAccountViews() { return wrapReadOnly(updatedAccountViews); }
/**
* Important: This method returns an unmodifiable collection.
*/
public java.util.Collection getAccountViewCollection() { return wrapReadOnly(AccountViews); }
/**
* This will set the contents of the underlying collection to the contents of the
* given collection. This means that any unmodifiable collections given out will
* also change. The collections are guaranteed to be consistent, but not correct.
* In this case, it is possible to see a collection in the process of changing,
* it might appear to be empty for an instant, but it will behave correctly.
* Also, the update will be atomic with respect to the input collection
* if the input collection is a synchronized collection.
*
* This method has been deprecated, as it strains the imagination to conceive of
* a reason for outsiders to modify these collections, which are really for our
* own internal bookkeeping.
*
* @deprecated
*/
public void setAddedAccountViews(java.util.Collection addedAccountViews)
{
//This operation is atomic if the input collection is synchronized.
java.util.List tempList = java.util.Arrays.asList(addedAccountViews.toArray());
this.addedAccountViews.clear();
this.addedAccountViews.addAll(tempList);
}
/**
* This will set the contents of the underlying collection to the contents of the
* given collection. This means that any unmodifiable collections given out will
* also change. The collections are guaranteed to be consistent, but not correct.
* In this case, it is p
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
xdoclet 用于生成*.hbm.xml (1731个子文件)
CustomerValue.class 16KB
CustomerNormalValue.class 15KB
CustomerBMPBMP.class 13KB
CustomerCMP.class 11KB
AllTypesEntityData.class 10KB
SimpleI18NBeanBeanInfo.class 7KB
AccountValue.class 7KB
CustomerLightValue.class 6KB
SimpleBeanBeanInfo.class 6KB
CustomerData.class 6KB
EmployeeValue.class 6KB
AddressValue.class 5KB
AllTypesEntityUtil.class 5KB
AccountData.class 5KB
StatefulUtil.class 5KB
AccountUtil.class 5KB
TellerUtil.class 5KB
EmployeeAddressValue.class 5KB
CustomerBMPUtil.class 4KB
CustomerUtil.class 4KB
EmployeeAddressUtil.class 4KB
LanguageCodeUtil.class 4KB
SubscriberUtil.class 4KB
AddressUtil.class 4KB
MagazineUtil.class 4KB
EmployeeUtil.class 4KB
LanguageUtil.class 4KB
CountryUtil.class 4KB
FileUtil.class 4KB
CityUtil.class 4KB
QueueBeanUtil.class 4KB
AddressData.class 4KB
AccountCMP.class 4KB
PersonData.class 4KB
CustomerValue$ReadOnlyCustomerValue.class 4KB
AllTypesEntityCMP.class 4KB
CustomerNormalValue$ReadOnlyCustomerNormalValue.class 3KB
CustomerBean.class 3KB
PersonFullForm.class 3KB
EmployeeCMP.class 3KB
FileData.class 3KB
EmployeeAddressData.class 3KB
EmployeeData.class 3KB
AccountBean.class 3KB
LanguageData.class 3KB
CountryData.class 3KB
CityData.class 3KB
SubscriberBean.class 2KB
AddressCMP.class 2KB
MagazineBean.class 2KB
EmployeeAddressCMP.class 2KB
SecurityOfficerBean.class 2KB
LanguageCodeData.class 2KB
AccountValue$ReadOnlyAccountValue.class 2KB
AllTypesEntityBean.class 2KB
CustomerLightValue$ReadOnlyCustomerLightValue.class 2KB
EmployeeValue$ReadOnlyEmployeeValue.class 2KB
MagazineData.class 2KB
LanguageBean.class 2KB
JBossXMLExample.class 2KB
CountryBean.class 2KB
FileCMP.class 2KB
AddressValue$ReadOnlyAddressValue.class 2KB
EmployeeAddressValue$ReadOnlyEmployeeAddressValue.class 2KB
LanguageCodeBean.class 2KB
AllTypesEntity.class 2KB
AllTypesEntityPK.class 2KB
PersonBean.class 2KB
LanguageCMP.class 2KB
TimerFilter.class 2KB
SimpleListener.class 2KB
CountryCMP.class 2KB
CityBean.class 2KB
MagazineCMP.class 2KB
CityCMP.class 2KB
FileBean.class 2KB
CompositeId.class 2KB
LanguageCodeCMP.class 2KB
PersonNamesForm.class 2KB
SubscriberCMP.class 2KB
SubscriberData.class 2KB
Transaction.class 2KB
PersonContactForm.class 1KB
AccountPK.class 1KB
Product.class 1KB
AllTypesEntityLocal.class 1KB
SimpleTag.class 1KB
CustomerPK.class 1KB
Order.class 1KB
CustomerExampleDAO.class 1KB
CustomerBMPBean.class 1KB
QueueBean.class 1KB
BaseEntityBean.class 1KB
Address.class 1KB
SimpleBean.class 1KB
Name.class 1KB
TellerBean.class 1KB
Error.class 1KB
AddressBean.class 1KB
Customer.class 1KB
共 1731 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18
axu20
- 粉丝: 17
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页