FileDocCategorySizeDatePackage
MoneyHolder.javaAPI DocExample777Thu Nov 08 00:23:40 GMT 2001com.ora.rmibook.chapter23.corbaaccounts

MoneyHolder.java

package com.ora.rmibook.chapter23.corbaaccounts;


/**
 * MoneyHolder.java
 * Generated by the IDL-to-Java compiler (portable), version "3.0"
 * from Account.idl
 * Saturday, December 16, 2000 10:18:17 PM PST
 */

public final class MoneyHolder implements org.omg.CORBA.portable.Streamable {
    public Money value = null;

    public MoneyHolder () {
    }

    public MoneyHolder (Money initialValue) {
        value = initialValue;
    }

    public void _read(org.omg.CORBA.portable.InputStream i) {
        value = MoneyHelper.read(i);
    }

    public void _write(org.omg.CORBA.portable.OutputStream o) {
        MoneyHelper.write(o, value);
    }

    public org.omg.CORBA.TypeCode _type() {
        return MoneyHelper.type();
    }

}