All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.beans.tools.dataFormatWizard.OptionAttribute

public interface interface OptionAttribute
extends PropertyChangeAnnouncer
The OptionAttribute interface is used by schema items whose instances can be optional. An optional instance is not read from the input stream unless a specified condition is met.

See Also:
SchemaItem

Variable Index

 o OPTION_ALWAYS
Indicates an unspecified value for the option test for this schema item.
 o OPTION_TEST_PROPERTY
Indicates changes in the option test for this schema item.

Method Index

 o getOptionTest()
Gets the option test for this schema item.
 o setOptionTest(String)
Sets the option test for this schema item.

Variables

 o OPTION_TEST_PROPERTY
 public static final String OPTION_TEST_PROPERTY
Indicates changes in the option test for this schema item.

 o OPTION_ALWAYS
 public static final String OPTION_ALWAYS
Indicates an unspecified value for the option test for this schema item.

Methods

 o getOptionTest
 public abstract String getOptionTest()
Gets the option test for this schema item.

If the option test is null (the default), this schema item is always expected to appear in the data stream. If the option test is not null, it specifies when the item is expected.

The option test must be a valid Java boolean expression. It may use constants or values of other schema items.

Returns:
The option test for this schema item.
 o setOptionTest
 public abstract void setOptionTest(String newTest)
Sets the option test for this schema item.

Parameters:
newTest - The new option test for this schema item.

All Packages  Class Hierarchy  This Package  Previous  Next  Index