Add missing javadoc.
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / wot / Identity.java
index 6df6447..6364b6f 100644 (file)
@@ -83,4 +83,16 @@ public interface Identity {
         */
        public String getProperty(String name);
 
+       /**
+        * Retrieves the trust that this identity receives from the given own
+        * identity.
+        *
+        * @param ownIdentity
+        *            The own identity to get the trust for
+        * @return The trust assigned to this identity
+        * @throws WebOfTrustException
+        *             if an error occurs retrieving the trust
+        */
+       public Trust getTrust(OwnIdentity ownIdentity) throws WebOfTrustException;
+
 }