ThresholdEnums.java Sample
This topic inludes the source code for the ThresholdEnums.java Sample.
Sample Location
This sample is located in the following directory in your WebLogic Workshop installation:
BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/xmlBeans/schema/
Sample Source Code
01 package xmlBeans.schema;
02
03 import com.bea.control.Control;
04
05 /**
06 * The Java control interface for the ThresholdEnums
07 * control.
08 */
09 public interface ThresholdEnums extends Control
10 {
11
12 /**
13 * Simpler code to provide a list of the enumerations defined in the threshold attribute of the price-summary element. The schema in use here is PriceSummary.xsd, in the Schemas project of the SamplesApp application.
14 */
15 java.lang.String[] getThresholdValuesSimple();
16
17 /**
18 * Provides a list of the enumerations defined in the threshold attribute of the price-summary element. The schema in use here is PriceSummary.xsd, in the Schemas project of the SamplesApp application. <br/><br/> This code is overly complex to show some of the things you can do to access a schema type system. There's a simpler version in the getThresholdValuesSimple method.
19 */
20 java.lang.String[] getThresholdValues();
21 }
|