FileDocCategorySizeDatePackage
BankOfficer.javaAPI DocExample1818Sun Dec 14 22:47:38 GMT 2003oreilly.hcj.bankdata

BankOfficer

public class BankOfficer extends Employee
An officer in the bank.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

Fields Summary
public static final oreilly.hcj.datamodeling.constraints.NumericConstraint
OFFICER_CODE_CONSTRAINT
Constraint for the property officerCode.
private Integer
officerCode
The administrative code assigned to each officer. This is a six digit number corresponding to their seniority code.
Constructors Summary
Methods Summary
public java.lang.IntegergetOfficerCode()
Getter for property officerCode.

return
Value of property officerCode.

		return officerCode;
	
public voidsetOfficerCode(java.lang.Integer officerCode)
Setter for property officerCode.

param
officerCode New value of property officerCode.


	            	 
	     
		OFFICER_CODE_CONSTRAINT.validate(officerCode);
		final Integer oldOfficerCode = this.officerCode;
		this.officerCode = officerCode;
		propertyChangeSupport.firePropertyChange("officerCode", oldOfficerCode,
		                                         this.officerCode);