Class FileSchemaFactory

  • All Implemented Interfaces:
    SchemaFactory

    public class FileSchemaFactory
    extends Object
    implements SchemaFactory
    Factory that creates a FileSchema.

    Allows a custom schema to be included in a model.json file. See File adapter.

    • Field Detail

      • INSTANCE

        public static final FileSchemaFactory INSTANCE
        Public singleton, per factory contract.
    • Method Detail

      • create

        public Schema create​(SchemaPlus parentSchema,
                             String name,
                             Map<String,​Object> operand)
        Description copied from interface: SchemaFactory
        Creates a Schema.
        Specified by:
        create in interface SchemaFactory
        Parameters:
        parentSchema - Parent schema
        name - Name of this schema
        operand - The "operand" JSON property
        Returns:
        Created schema