Class ModelAssembler

    • Constructor Detail

      • ModelAssembler

        public ModelAssembler()
    • Method Detail

      • open

        public java.lang.Object open​(Assembler a,
                                     Resource root,
                                     Mode mode)
        Description copied from interface: Assembler
        The core operation: answer a new object constructed according to the object description hanging from root, using the assembler a for any sub-objects. Use mode to decide if persistent objects are to be re-used or created; this mode is passed down to all sub-object construction.
        Specified by:
        open in interface Assembler
        Specified by:
        open in class AssemblerBase
      • openModel

        public Model openModel​(Resource root,
                               Mode mode)
        Description copied from interface: Assembler
        Answer (Model) open( this, root, mode ), unless the result cannot be or is not a Model, in which case throw an exception.
        Specified by:
        openModel in interface Assembler
        openModel in class AssemblerBase