OpenAPI 1.0

com.aquafold.openapi.compare
Interface AQSchemaCompareItem


public interface AQSchemaCompareItem

This object represents one item in the schema comparison results.


Method Summary
 int getDiffCount()
          Returns the number of lines by which two CREATE scripts are different.
 ImageIcon getIcon()
          Returns the icon corresponding to the object type.
 AQServerObject getLeftObject()
          Returns left side schema object, or null for "added" items.
 String getLeftScript()
          Returns CREATE script for the left side schema object, or null for "added" items.
 String getName()
          Returns the item name.
 AQServerObject getRightObject()
          Returns right side schema object, or null for "deleted" items.
 String getRightScript()
          Returns CREATE script for the right side schema object, or null for "deleted" items.
 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.


isDeleted

boolean isDeleted()
Returns true if the right side was deleted.


isModified

boolean isModified()
Returns true if the right side item differs from the left side item.


isUnchanged

boolean isUnchanged()
Returns true if the right item is considered equal to the left side according to the comparison criteria.


getLeftObject

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


getRightObject

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


getLeftScript

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


getRightScript

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


getTypeName

String getTypeName()
Returns the name of the underlying object type.


getIcon

ImageIcon getIcon()
Returns the icon corresponding to the object type.


getName

String getName()
Returns the item name.


getDiffCount

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


OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.