Interface AQSchemaCompareItem


  • public interface AQSchemaCompareItem
    This object represents one item in the schema comparison results.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDiffCount()
      Returns the number of lines by which two CREATE scripts are different.
      javax.swing.ImageIcon getIcon()
      Returns the icon corresponding to the object type.
      AQServerObject getLeftObject()
      Returns left side schema object, or null for "added" items.
      java.lang.String getLeftScript()
      Returns CREATE script for the left side schema object, or null for "added" items.
      java.lang.String getName()
      Returns the item name.
      AQServerObject getRightObject()
      Returns right side schema object, or null for "deleted" items.
      java.lang.String getRightScript()
      Returns CREATE script for the right side schema object, or null for "deleted" items.
      java.lang.String getTypeName()
      Returns the name of the underlying object type.
      boolean isAdded()
      Returns true if the right side was added.
      boolean isDeleted()
      Returns true if the right side was deleted.
      boolean isModified()
      Returns true if the right side item differs from the left side item.
      boolean isUnchanged()
      Returns true if the right item is considered equal to the left side according to the comparison criteria.
    • Method Detail

      • isAdded

        boolean isAdded()
        Returns true if the right side was added.
        Returns:
        TRUE if it is added
      • isDeleted

        boolean isDeleted()
        Returns true if the right side was deleted.
        Returns:
        TRUE if it is deleted
      • isModified

        boolean isModified()
        Returns true if the right side item differs from the left side item.
        Returns:
        TRUE if it is modified
      • isUnchanged

        boolean isUnchanged()
        Returns true if the right item is considered equal to the left side according to the comparison criteria.
        Returns:
        TRUE if it is unchanged
      • getLeftObject

        AQServerObject getLeftObject()
        Returns left side schema object, or null for "added" items.
        Returns:
        the left object
      • getRightObject

        AQServerObject getRightObject()
        Returns right side schema object, or null for "deleted" items.
        Returns:
        the right object
      • getLeftScript

        java.lang.String getLeftScript()
        Returns CREATE script for the left side schema object, or null for "added" items.
        Returns:
        the left script
      • getRightScript

        java.lang.String getRightScript()
        Returns CREATE script for the right side schema object, or null for "deleted" items.
        Returns:
        the right script
      • getTypeName

        java.lang.String getTypeName()
        Returns the name of the underlying object type.
        Returns:
        the type name
      • getIcon

        javax.swing.ImageIcon getIcon()
        Returns the icon corresponding to the object type.
        Returns:
        the icon
      • getName

        java.lang.String getName()
        Returns the item name.
        Returns:
        the name
      • getDiffCount

        int getDiffCount()
        Returns the number of lines by which two CREATE scripts are different.
        Returns:
        the diff count