com.javelin.fpml.ird
Class BulletPaymentBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.shared.ProductBean
              |
              +--com.javelin.fpml.ird.BulletPaymentBean
All Implemented Interfaces:
BulletPayment, java.lang.Cloneable, Product, java.io.Serializable

public class BulletPaymentBean
extends ProductBean
implements BulletPayment

BulletPaymentBean.java

null

Author:
Javelin Software
See Also:
BulletPayment, Serialized Form

Field Summary
protected  java.lang.Integer bulletPaymentKey
           
protected  Payment payment
           
protected  ProductId productId
           
protected  ProductType productType
           
protected  BulletPaymentValidator validator
           
 
Fields inherited from class com.javelin.fpml.shared.ProductBean
productKey, productProductIds
 
Constructor Summary
BulletPaymentBean()
          Construct the Default BulletPaymentBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getBulletPaymentKey()
          Get the Bullet Payment Key.
protected  BulletPaymentValidator getBulletPaymentValidator()
           
 java.lang.Class getInterface()
           
 Payment getPayment()
          Get the Payment.
 ProductId getProductId()
          Get the Product Id.
 ProductType getProductType()
          Get the Product Type.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setBulletPaymentKey(java.lang.Integer bulletPaymentKey)
          Set the Bullet Payment Key.
 void setPayment(Payment payment)
          Set the Payment.
 void setProductId(ProductId productId)
          Set the Product Id.
 void setProductType(ProductType productType)
          Set the Product Type.
 java.lang.String toString()
           
 
Methods inherited from class com.javelin.fpml.shared.ProductBean
addProductProductId, getProductKey, getProductProductIds, getProductValidator, removeProductProductId, removeProductProductIds, setProductKey, setProductProductIds
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.javelin.fpml.shared.Product
addProductProductId, getProductKey, getProductProductIds, removeProductProductId, removeProductProductIds, setProductKey, setProductProductIds
 

Field Detail

bulletPaymentKey

protected java.lang.Integer bulletPaymentKey

productType

protected transient ProductType productType

productId

protected transient ProductId productId

payment

protected transient Payment payment

validator

protected BulletPaymentValidator validator
Constructor Detail

BulletPaymentBean

public BulletPaymentBean()
Construct the Default BulletPaymentBean.

Method Detail

getInterface

public java.lang.Class getInterface()
Overrides:
getInterface in class ProductBean
See Also:
com.javelin.beans.Bean.getInterface()

getBulletPaymentKey

public java.lang.Integer getBulletPaymentKey()
Description copied from interface: BulletPayment
Get the Bullet Payment Key.

Specified by:
getBulletPaymentKey in interface BulletPayment
Returns:
Integer or null if it has not been set.
See Also:
BulletPayment.getBulletPaymentKey()

setBulletPaymentKey

public void setBulletPaymentKey(java.lang.Integer bulletPaymentKey)
                         throws ValidationException
Description copied from interface: BulletPayment
Set the Bullet Payment Key.

Specified by:
setBulletPaymentKey in interface BulletPayment
Parameters:
bulletPaymentKey - The value to set.
ValidationException
See Also:
BulletPayment.setBulletPaymentKey( java.lang.Integer bulletPaymentKey )

getProductType

public ProductType getProductType()
Description copied from interface: BulletPayment
Get the Product Type.

Specified by:
getProductType in interface BulletPayment
Overrides:
getProductType in class ProductBean
Returns:
ProductType or a default value of null if it has not been set.
See Also:
BulletPayment.getProductType()

setProductType

public void setProductType(ProductType productType)
                    throws ValidationException
Description copied from interface: BulletPayment
Set the Product Type.

Specified by:
setProductType in interface BulletPayment
Overrides:
setProductType in class ProductBean
Parameters:
productType - The value to set.
ValidationException
See Also:
BulletPayment.setProductType( ProductType productType )

getProductId

public ProductId getProductId()
Description copied from interface: BulletPayment
Get the Product Id.

Specified by:
getProductId in interface BulletPayment
Returns:
ProductId or a default value of null if it has not been set.
See Also:
BulletPayment.getProductId()

setProductId

public void setProductId(ProductId productId)
                  throws ValidationException
Description copied from interface: BulletPayment
Set the Product Id.

Specified by:
setProductId in interface BulletPayment
Parameters:
productId - The value to set.
ValidationException
See Also:
BulletPayment.setProductId( ProductId productId )

getPayment

public Payment getPayment()
Description copied from interface: BulletPayment
Get the Payment.

Specified by:
getPayment in interface BulletPayment
Returns:
Payment or a default value of null if it has not been set.
See Also:
BulletPayment.getPayment()

setPayment

public void setPayment(Payment payment)
                throws ValidationException
Description copied from interface: BulletPayment
Set the Payment.

Specified by:
setPayment in interface BulletPayment
Parameters:
payment - The value to set.
ValidationException
See Also:
BulletPayment.setPayment( Payment payment )

getBulletPaymentValidator

protected BulletPaymentValidator getBulletPaymentValidator()

toString

public java.lang.String toString()
Overrides:
toString in class ProductBean
See Also:
Object.toString()

listRelations

public void listRelations(java.util.Vector list,
                          int type)
                   throws ValidationException
List the related beans.

Overrides:
listRelations in class ProductBean
ValidationException

detach

public void detach()
            throws ValidationException
Overrides:
detach in class ProductBean
ValidationException
See Also:
com.javelin.beans.Beane#detach()

clone

public java.lang.Object clone()
Clone dependent beans.

Specified by:
clone in interface BulletPayment
Overrides:
clone in class ProductBean