diff --git a/domain/src/main/java/org/acegisecurity/domain/impl/PersistableEntityLong.java b/domain/src/main/java/org/acegisecurity/domain/impl/PersistableEntityLong.java index 31055eecf9..d8f1e38706 100644 --- a/domain/src/main/java/org/acegisecurity/domain/impl/PersistableEntityLong.java +++ b/domain/src/main/java/org/acegisecurity/domain/impl/PersistableEntityLong.java @@ -30,6 +30,21 @@ public abstract class PersistableEntityLong extends AbstractPersistableEntity { //~ Methods ================================================================ + + /** + * DO NOT USE DIRECTLY. + * + *

+ * Typically only used by the persistence layer, but provided with public + * visibility to not limit flexibility. + *

+ * + * @param id the new instance identity + */ + public void setId(Long id) { + this.id = id; + } + /** * Obtains the persistence identity of this instance. */