public abstract class AbstractSerializableProxy
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
AbstractSerializableProxy()
For serialization
|
protected |
AbstractSerializableProxy(java.lang.String entityName,
java.io.Serializable id,
java.lang.Boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getEntityName() |
protected java.io.Serializable |
getId() |
protected void |
setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer li)
Set the read-only/modifiable setting from this object in an AbstractLazyInitializer.
|
protected AbstractSerializableProxy()
protected AbstractSerializableProxy(java.lang.String entityName, java.io.Serializable id, java.lang.Boolean readOnly)
protected java.lang.String getEntityName()
protected java.io.Serializable getId()
protected void setReadOnlyBeforeAttachedToSession(AbstractLazyInitializer li)
li
- the read-only/modifiable setting to use when
associated with a session; null indicates that the default should be used.java.lang.IllegalStateException
- if isReadOnlySettingAvailable() == trueCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.