Package com.im.df.impl.db
Class SchemaErrorInfo
- java.lang.Object
- 
- com.im.df.impl.db.SchemaErrorInfo
 
- 
 public abstract class SchemaErrorInfo extends Object Schema error description which also contains possible fix, implemented in fix() method.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSchemaErrorInfo.TypeItem type.
 - 
Constructor SummaryConstructors Constructor Description SchemaErrorInfo(com.chemaxon.dif.db.api.schema.DBSchemaImpl schema, SchemaErrorInfo.Type type, String parentId, String itemId, String itemName)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidfix()Calling this method will fix the schema error.StringgetItemId()StringgetItemName()com.chemaxon.dif.db.api.schema.DBSchemaImplgetSchema()SchemaErrorInfo.TypegetType()abstract booleanisDelete()Returns true if the fix delete the item.abstract booleanisFixed()Returns true if the problem was already fixed by calling fix() method.
 
- 
- 
- 
Field Detail- 
schemaprotected final com.chemaxon.dif.db.api.schema.DBSchemaImpl schema 
 - 
typeprotected final SchemaErrorInfo.Type type 
 - 
parentIdprotected final String parentId 
 - 
itemIdprotected final String itemId 
 - 
itemNameprotected final String itemName 
 
- 
 - 
Constructor Detail- 
SchemaErrorInfopublic SchemaErrorInfo(com.chemaxon.dif.db.api.schema.DBSchemaImpl schema, SchemaErrorInfo.Type type, String parentId, String itemId, String itemName)
 
- 
 - 
Method Detail- 
getTypepublic SchemaErrorInfo.Type getType() 
 - 
getItemIdpublic String getItemId() 
 - 
getItemNamepublic String getItemName() 
 - 
getSchemapublic com.chemaxon.dif.db.api.schema.DBSchemaImpl getSchema() 
 - 
fixpublic abstract void fix() Calling this method will fix the schema error. Should be called after user confirms it. User interaction can be implement inSchemaErrorLogger
 - 
isDeletepublic abstract boolean isDelete() Returns true if the fix delete the item.- Returns:
 
 - 
isFixedpublic abstract boolean isFixed() Returns true if the problem was already fixed by calling fix() method.- Returns:
 
 
- 
 
-