diff options
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/Ice/Object.java | 4 | ||||
-rw-r--r-- | java/src/Ice/ObjectImpl.java | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/java/src/Ice/Object.java b/java/src/Ice/Object.java index 854324b273c..edcb4233322 100644 --- a/java/src/Ice/Object.java +++ b/java/src/Ice/Object.java @@ -17,12 +17,16 @@ public interface Object int ice_hash(); + boolean ice_isA(String s); boolean ice_isA(String s, Current current); + void ice_ping(); void ice_ping(Current current); + String[] ice_ids(); String[] ice_ids(Current current); + String ice_id(); String ice_id(Current current); void ice_preMarshal(); diff --git a/java/src/Ice/ObjectImpl.java b/java/src/Ice/ObjectImpl.java index 179f9d5cf65..4cb030d2dc6 100644 --- a/java/src/Ice/ObjectImpl.java +++ b/java/src/Ice/ObjectImpl.java @@ -35,6 +35,12 @@ public class ObjectImpl implements Object, java.lang.Cloneable }; public boolean + ice_isA(String s) + { + return s.equals(__ids[0]); + } + + public boolean ice_isA(String s, Current current) { return s.equals(__ids[0]); @@ -52,6 +58,12 @@ public class ObjectImpl implements Object, java.lang.Cloneable } public void + ice_ping() + { + // Nothing to do. + } + + public void ice_ping(Current current) { // Nothing to do. @@ -65,6 +77,12 @@ public class ObjectImpl implements Object, java.lang.Cloneable } public String[] + ice_ids() + { + return __ids; + } + + public String[] ice_ids(Current current) { return __ids; @@ -80,6 +98,12 @@ public class ObjectImpl implements Object, java.lang.Cloneable } public String + ice_id() + { + return __ids[0]; + } + + public String ice_id(Current current) { return __ids[0]; |