| java.lang.Object org.netbeans.modules.dbschema.nodes.DefaultDBFactory
DefaultDBFactory | public class DefaultDBFactory implements DBElementNodeFactory,IconStrings(Code) | | The default implementation of the db nodes factory.
Uses the standard node implementations in this package.
|
Inner Class :static class ElementCategoryNode extends AbstractNode | |
Constructor Summary | |
public | DefaultDBFactory(boolean writeable) Create a new factory. |
CATEGORY_ICONS | final static String[] CATEGORY_ICONS(Code) | | Array of the icons used for category nodes
|
FILTERS | final static int[][] FILTERS(Code) | | Filters under each category node
|
NAMES | final static String[] NAMES(Code) | | The names of the category nodes
|
READ_ONLY | final public static DefaultDBFactory READ_ONLY(Code) | | Default instance of the factory with read-only properties.
|
READ_WRITE | final public static DefaultDBFactory READ_WRITE(Code) | | Default instance of the factory with read-write properties.
|
DefaultDBFactory | public DefaultDBFactory(boolean writeable)(Code) | | Create a new factory.
Parameters: writeable - true if the produced nodesshould have writable properties See Also: DBElementNode.writeable |
createErrorNode | public Node createErrorNode()(Code) | | |
createForeignKeyChildren | protected Children createForeignKeyChildren(ForeignKeyElement element)(Code) | | Create children for an index node.
Could be subclassed to customize, e.g., the ordering of children.
The default implementation used
IndexChildren .
Parameters: element - a index element children for the index element |
createForeignKeyChildren | final protected Children createForeignKeyChildren(ForeignKeyElement element, DBElementNodeFactory factory)(Code) | | Create children for a index node, with specified factory.
The default implementation used
IndexChildren .
Parameters: element - a index element Parameters: factory - the factory which will be used to create children children for the index element |
createForeignKeyNode | public Node createForeignKeyNode(ForeignKeyElement element)(Code) | | Make a node representing a foreign key.
Parameters: element - the foreign key a foreign key node instance |
createIndexChildren | protected Children createIndexChildren(IndexElement element)(Code) | | Create children for an index node.
Could be subclassed to customize, e.g., the ordering of children.
The default implementation used
IndexChildren .
Parameters: element - a index element children for the index element |
createIndexChildren | final protected Children createIndexChildren(IndexElement element, DBElementNodeFactory factory)(Code) | | Create children for a index node, with specified factory.
The default implementation used
IndexChildren .
Parameters: element - a index element Parameters: factory - the factory which will be used to create children children for the index element |
createIndexNode | public Node createIndexNode(IndexElement element)(Code) | | Make a node representing an index.
Parameters: element - the index an index node instance |
createSchemaChildren | protected Children createSchemaChildren(SchemaElement element)(Code) | | Create children for a schema node.
Could be subclassed to customize, e.g., the ordering of children.
The default implementation used
SchemaChildren .
Parameters: element - a schema element children for the schema element |
createSchemaChildren | final protected Children createSchemaChildren(SchemaElement element, DBElementNodeFactory factory)(Code) | | Create children for a schema node, with specified factory.
The default implementation used
SchemaChildren .
Parameters: element - a schema element Parameters: factory - the factory which will be used to create children children for the schema element |
createTableChildren | protected Children createTableChildren(TableElement element)(Code) | | Create children for a table node.
Could be subclassed to customize, e.g., the ordering of children.
The default implementation used
TableChildren .
Parameters: element - a table element children for the table element |
createTableChildren | final protected Children createTableChildren(TableElement element, DBElementNodeFactory factory)(Code) | | Create children for a table node, with specified factory.
The default implementation used
TableChildren .
Parameters: element - a table element Parameters: factory - the factory which will be used to create children children for the table element |
createWaitNode | public Node createWaitNode()(Code) | | |
isWriteable | public boolean isWriteable()(Code) | | |
|
|