FileDocCategorySizeDatePackage
ExternalTransaction.javaAPI DocExample3178Sun Dec 14 22:47:30 GMT 2003oreilly.hcj.bankdata

ExternalTransaction

public class ExternalTransaction extends Transaction
A transaction desined for an account outside the bank.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

Fields Summary
public static final oreilly.hcj.datamodeling.constraints.StringConstraint
ACCOUNT_CONSTRAINT
Constraint for the property account.
public static final oreilly.hcj.datamodeling.constraints.StringConstraint
INSTITUTION_CONSTRAINT
Constraint for the property institution.
public static final oreilly.hcj.datamodeling.constraints.StringConstraint
ROUTING_CONSTRAINT
Constraint for the property routing.
private String
account
The account name or number destination.
private String
institution
The institution name where the account is located.
private String
routing
The routing code for the institution.
Constructors Summary
Methods Summary
public java.lang.StringgetAccount()
Getter for property account.

return
Value of property account.

		return account;
	
public java.lang.StringgetInstitution()
Getter for property institution.

return
Value of property institution.

		return institution;
	
public java.lang.StringgetRouting()
Getter for property routing.

return
Value of property routing.

		return routing;
	
public voidsetAccount(java.lang.String account)
Setter for property account.

param
account New value of property account.


	            	 
	     
		ACCOUNT_CONSTRAINT.validate(account);
		final String oldAccount = this.account;
		this.account = account;
		propertyChangeSupport.firePropertyChange("account", oldAccount, this.account);
	
public voidsetInstitution(java.lang.String institution)
Setter for property institution.

param
institution New value of property institution.

		INSTITUTION_CONSTRAINT.validate(institution);
		final String oldInstitution = this.institution;
		this.institution = institution;
		propertyChangeSupport.firePropertyChange("institution", oldInstitution,
		                                         this.institution);
	
public voidsetRouting(java.lang.String routing)
Setter for property routing.

param
routing New value of property routing.

		ROUTING_CONSTRAINT.validate(routing);
		final String oldRouting = this.routing;
		this.routing = routing;
		propertyChangeSupport.firePropertyChange("routing", oldRouting, this.routing);