Class SchemaErrorInfo


  • public abstract class SchemaErrorInfo
    extends Object
    Schema error description which also contains possible fix, implemented in fix() method.
    • Field Detail

      • schema

        protected final com.chemaxon.dif.db.api.schema.DBSchemaImpl schema
      • parentId

        protected final String parentId
      • itemId

        protected final String itemId
      • itemName

        protected final String itemName
    • Method Detail

      • getItemId

        public String getItemId()
      • getItemName

        public String getItemName()
      • getSchema

        public com.chemaxon.dif.db.api.schema.DBSchemaImpl getSchema()
      • fix

        public abstract void fix()
        Calling this method will fix the schema error. Should be called after user confirms it. User interaction can be implement in SchemaErrorLogger
      • isDelete

        public abstract boolean isDelete()
        Returns true if the fix delete the item.
        Returns:
      • isFixed

        public abstract boolean isFixed()
        Returns true if the problem was already fixed by calling fix() method.
        Returns: