From: Erik Brakkee Date: Mon, 26 Jul 2010 17:20:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.7~174 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=e897c0b96075ff833db4bb42c6bb267275376c7c;p=utils --- diff --git a/support/general/src/main/java/org/wamblee/persistence/Detachable.java b/support/general/src/main/java/org/wamblee/persistence/Detachable.java index 0d681d0c..ea5adfe6 100644 --- a/support/general/src/main/java/org/wamblee/persistence/Detachable.java +++ b/support/general/src/main/java/org/wamblee/persistence/Detachable.java @@ -18,22 +18,23 @@ package org.wamblee.persistence; import java.io.Serializable; /** - * Represents a detachable object. It represent a reference to a persistent object. - * The object is detachable in that the memory footprint can be reduced by not keeping - * a reference to the complete java object, but only to its identify in persistent - * storage. This is typically the primary key in a relational database. + * Represents a detachable object. It represent a reference to a persistent + * object. The object is detachable in that the memory footprint can be reduced + * by not keeping a reference to the complete java object, but only to its + * identify in persistent storage. This is typically the primary key in a + * relational database. */ public interface Detachable extends Serializable { - - /** - * Detaches the object. - */ - void detach(); - - /** - * Gets the object, attaching it if needed. - * @return - */ - T get(); + /** + * Detaches the object. + */ + void detach(); + + /** + * Gets the object, attaching it if needed. + * + * @return + */ + T get(); }