All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.tools.dataFormatWizard.SchemaField
java.lang.Object
|
+----com.ibm.beans.tools.dataFormatWizard.SchemaItem
|
+----com.ibm.beans.tools.dataFormatWizard.SchemaField
- public abstract class SchemaField
- extends SchemaItem
The SchemaField class is an abstract superclass for fields used
in a file schema.
-
SchemaField()
-
-
insertNewItem(SchemaItem)
- Inserts a new item into the schema.
If this field has a valid schema record for its parent item,
the new item will be inserted into the sub-items collection of
the parent record, immediately following this field.
-
isSchemaField(Object)
- Checks whether a given object is a SchemaField object.
-
removeItem(SchemaItem)
- Removes a SchemaItem object from this field.
SchemaField
public SchemaField()
insertNewItem
public void insertNewItem(SchemaItem newItem)
- Inserts a new item into the schema.
If this field has a valid schema record for its parent item,
the new item will be inserted into the sub-items collection of
the parent record, immediately following this field. Otherwise,
the new item will be discarded.
- Parameters:
- newItem - The new item to be added to the schema.
- Overrides:
- insertNewItem in class SchemaItem
removeItem
public void removeItem(SchemaItem removeItem)
- Removes a SchemaItem object from this field. Does nothing, since
fields cannot contain sub-items.
- Parameters:
- removeItem - The SchemaItem to be removed.
- Overrides:
- removeItem in class SchemaItem
isSchemaField
public static boolean isSchemaField(Object candidate)
- Checks whether a given object is a SchemaField object.
- Parameters:
- candidate - The object to be tested.
- Returns:
- true if the candidate object is a SchemaField
object; false otherwise.
All Packages Class Hierarchy This Package Previous Next Index