Interface SchemaSerializer

  • All Superinterfaces:
    MetaDataSerializer
    All Known Implementing Classes:
    XMLSchemaSerializer

    public interface SchemaSerializer
    extends MetaDataSerializer
    Interface for schema serializers. Serializers work at the fine-grained fine-grained table level to allow you to split schemas among multiple files.
    Author:
    Abe White
    • Method Detail

      • getTables

        Table[] getTables()
        Return the set of tables that will be serialized.
      • addTable

        void addTable​(Table table)
        Add the given table to the set of tables that will be serialized.
      • removeTable

        boolean removeTable​(Table table)
        Remove the given table from the set to be serialized.
        Returns:
        true if table was removed, false if not in set
      • addAll

        void addAll​(Schema schema)
        Add the given schema's objects to the set of objects that will be serialized.
      • addAll

        void addAll​(SchemaGroup group)
        Add all the objects in the given group to the set of objects that will be serialized.
      • removeAll

        boolean removeAll​(Schema schema)
        Remove the given schema's objects from the set to be serialized.
        Returns:
        true if any objects in schema removed, false if none in set
      • removeAll

        boolean removeAll​(SchemaGroup group)
        Remove all schemas in the given group from the set to be serialized.
        Returns:
        true if any objects in the group were removed, false if none in set
      • clear

        void clear()
        Clear the set of objects to be serialized.