FileDocCategorySizeDatePackage
CustomerLocal.javaAPI DocExample964Sat Feb 17 14:13:38 GMT 2001com.titan.customer

CustomerLocal.java

package com.titan.customer;

import com.titan.address.*;

import javax.ejb.CreateException;
import javax.naming.NamingException;
import java.util.Date;
import java.util.Vector;
import java.util.Collection;

public interface CustomerLocal extends javax.ejb.EJBLocalObject {

    public Name getName();
    public void setName(Name name);

	public boolean getHasGoodCredit();
	public void setHasGoodCredit(boolean flag);

	public void addPhoneNumber(Integer id,String number, byte type)
		throws NamingException, CreateException;
	public void removePhoneNumber(byte typeToRemove);
	public void updatePhoneNumber(String number, byte typeToUpdate);

	public Vector getPhoneList();

    public AddressLocal getHomeAddress();
    public void setHomeAddress(AddressLocal address);

	public CreditCardLocal getCreditCard();
	public void setCreditCard(CreditCardLocal card);

    public Collection getPhoneNumbers( );
    public void setPhoneNumbers(Collection phones);

}