From: David ‘Bombe’ Roden Date: Wed, 7 Dec 2011 15:04:09 +0000 (+0100) Subject: Add method to return the Sone of a Profile. X-Git-Tag: 0.7.6^2~1^2~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1b0275c46e9d9434c6d9c9bad62c2de8026e3297;p=Sone.git Add method to return the Sone of a Profile. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Profile.java b/src/main/java/net/pterodactylus/sone/data/Profile.java index aa6ff46..6c0b435 100644 --- a/src/main/java/net/pterodactylus/sone/data/Profile.java +++ b/src/main/java/net/pterodactylus/sone/data/Profile.java @@ -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