From 1b0275c46e9d9434c6d9c9bad62c2de8026e3297 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 7 Dec 2011 16:04:09 +0100 Subject: [PATCH] Add method to return the Sone of a Profile. --- src/main/java/net/pterodactylus/sone/data/Profile.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.7.4