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
-
OPTION_ALWAYS
- Indicates an unspecified value for the option test for this schema
item.
-
OPTION_TEST_PROPERTY
- Indicates changes in the option test for this schema item.
-
getOptionTest()
- Gets the option test for this schema item.
-
setOptionTest(String)
- Sets the option test for this schema item.
OPTION_TEST_PROPERTY
public static final String OPTION_TEST_PROPERTY
- Indicates changes in the option test for this schema item.
OPTION_ALWAYS
public static final String OPTION_ALWAYS
- Indicates an unspecified value for the option test for this schema
item.
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.
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