Add method to return the Sone of a Profile.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Dec 2011 15:04:09 +0000 (16:04 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Dec 2011 15:04:09 +0000 (16:04 +0100)
src/main/java/net/pterodactylus/sone/data/Profile.java

index aa6ff46..6c0b435 100644 (file)
@@ -92,6 +92,15 @@ public class Profile implements Fingerprintable {
        //
 
        /**
+        * Returns the Sone this profile belongs to.
+        *
+        * @return The Sone this profile belongs to
+        */
+       public Sone getSone() {
+               return sone;
+       }
+
+       /**
         * Returns the first name.
         *
         * @return The first name