Return to Snippet

Revision: 66515
at May 18, 2014 09:37 by Therita


Initial Code
/*
     ============================================================================
     MANAGING NOTIFICATIONS
     ============================================================================     
     */
    private class BloodBankNote extends BloodBank {

        protected int notifier;

        BloodBankNote(int iD, BloodBank bB) {
            super(bB, bB.getCapacity());
            this.increaseBloodLoad(bB.getBloodLoad());
            this.notifier = iD;
        }

        int getNotifier() {
            return notifier;
        }

        void setNotifier(int iD) {
            notifier = iD;
        }

    } // end BloodBankNote class 

    private class DonorNote extends Donor {

        protected int notifier = 0;

        DonorNote(int iD, Donor d) {
            super(d);
            this.notifier = iD;
        }

        int getNotifier() {
            return notifier;
        }

        void setNotifier(int iD) {
            notifier = iD;
        }
    } // end DonorNote class

Initial URL


Initial Description
heres a comment

Initial Title
MANAGING NOTIFICATIONS

Initial Tags


Initial Language
Java