Class TentackleWurbletsModel

  • All Implemented Interfaces:
    org.tentackle.model.Model

    @Service(org.tentackle.model.Model.class)
    public class TentackleWurbletsModel
    extends org.tentackle.model.impl.ModelImpl
    Extended model aware of heap-files and global loading exception.

    Heap files are files with names starting with a dot.

    Author:
    harald
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.io.Reader createReader​(java.lang.String name)  
      org.wurbelizer.wurbel.WurbelException getLoadingException()
      Gets the exception that occurred during the initial loading of the model.
      void setLoadingException​(org.wurbelizer.wurbel.WurbelException loadingException)
      Sets the exception that occurred during the initial loading of the model.
      • Methods inherited from class org.tentackle.model.impl.ModelImpl

        addModelEntity, applyTableAlias, clearModel, createEntityFactory, createModelDirectory, createModelEntity, getAllEntitites, getByClassId, getByEntityName, getByFilePath, getEntityFactory, getForeignKeys, isSchemaNameMapped, isValidTableAlias, loadByFilePath, loadByFilePath, loadModel, parseEntity, refreshModel, setSchemaNameMapped, translateAlias, updateCompositePath, updateRelations, updateRelations, validateComponents, validateInheritanceHierarchy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TentackleWurbletsModel

        public TentackleWurbletsModel()
        Creates a model.
    • Method Detail

      • createReader

        protected java.io.Reader createReader​(java.lang.String name)
                                       throws org.tentackle.model.ModelException
        Overrides:
        createReader in class org.tentackle.model.impl.ModelImpl
        Throws:
        org.tentackle.model.ModelException
      • getLoadingException

        public org.wurbelizer.wurbel.WurbelException getLoadingException()
        Gets the exception that occurred during the initial loading of the model.
        Returns:
        the exception, null if none
      • setLoadingException

        public void setLoadingException​(org.wurbelizer.wurbel.WurbelException loadingException)
        Sets the exception that occurred during the initial loading of the model.
        Parameters:
        loadingException - the exception, null if none