# CustomerData.java Sample

This topic inludes the source code for the CustomerData.java Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/ControlFeatures/propEditor/

## Sample Source Code

`01 package propEditor; 02 03 import com.bea.control.*; 04 05 public interface CustomerData extends Control 06 { 07 08 /** 09 * Returns the customer's company name using the nested Database control. 10 * @common:operation 11 */ 12 java.lang.String getCustomerName(); 13 14 /** 15 * Returns a list of items the customer has ordered. The database includes tables for customers, items, items by order, and customers by order. This is method nests queries against these tables to produce joined results. 16 * @common:operation 17 */ 18 java.util.ArrayList getItemsOrdered(); 19 }`