summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/interface
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2009-08-17 13:00:35 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2009-08-17 13:00:35 +0000
commitf54d9acc1df87cd5de5984066bdebe4d1f5c7df3 (patch)
treeea94cb76bb5e21aa2e8ba27cf404fd88a062e323 /java/sca/modules/interface
parenta026d2b6897ce267238a99e4f185c104ecf2f5f5 (diff)
Make interface isEqual() method available from interface contract mapper
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@804960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/interface')
-rw-r--r--java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java b/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java
index ad16aa671e..8dfeb29833 100644
--- a/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java
+++ b/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/InterfaceContractMapper.java
@@ -73,6 +73,15 @@ public interface InterfaceContractMapper {
boolean isEqual(InterfaceContract source, InterfaceContract target);
/**
+ * Check that two interfaces are equal. The interfaces are equal if the two interfaces have the
+ * same set of operations, with each operation having the same signature.
+ * @param source an interface
+ * @param target a second interface
+ * @return true if the two interfaces are equal, otherwise return false
+ */
+ public boolean isEqual(Interface source, Interface target);
+
+ /**
* @param source
* @param target
* @param ignoreCallback