public abstract class AbstractObjectModelImpl extends Object implements ObjectModel, Serializable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractObjectModelImpl.EmbeddedScalarListenerImpl |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
executing |
protected boolean |
loading |
protected Object |
owner |
protected ScalarLoader |
scalarLoader |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObjectModelImpl(ModelClass modelClass,
Object owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScalarListener(ScalarListener listener) |
void |
batchLoad(Iterable<ObjectModel> objectModels,
int[] propertyIds) |
protected void |
executeModified(ScalarEvent e) |
protected void |
executeModifying(ScalarEvent e) |
protected abstract FrozenContext<?> |
getEmbeddedFrozenContext(int embeddedScalarPropertyId) |
ModelClass |
getModelClass() |
Object |
getOwner() |
ScalarLoader |
getScalarLoader() |
void |
load(int... propertyIds) |
void |
load(int propertyId) |
void |
removeScalarListener(ScalarListener listener) |
void |
setScalarLoader(ScalarLoader scalarLoader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareScalar, disable, enable, equalsScalar, freezeScalar, get, getAssociatedEndpoint, hashCodeScalar, isDisabled, isEnabed, isLoaded, isUnloaded, loadScalars, set, unfreezeScalar, unloadprotected Object owner
protected transient ScalarLoader scalarLoader
protected transient boolean loading
protected transient boolean executing
protected AbstractObjectModelImpl(ModelClass modelClass, Object owner)
public ModelClass getModelClass()
getModelClass in interface ObjectModelpublic Object getOwner()
getOwner in interface ObjectModelpublic ScalarLoader getScalarLoader()
getScalarLoader in interface ObjectModelpublic void setScalarLoader(ScalarLoader scalarLoader)
setScalarLoader in interface ObjectModelpublic void addScalarListener(ScalarListener listener)
addScalarListener in interface ScalarModificationAwarepublic void removeScalarListener(ScalarListener listener)
removeScalarListener in interface ScalarModificationAwarepublic void load(int propertyId)
load in interface ObjectModelpublic void load(int... propertyIds)
load in interface ObjectModelpublic void batchLoad(Iterable<ObjectModel> objectModels, int[] propertyIds)
batchLoad in interface ObjectModelprotected void executeModifying(ScalarEvent e)
protected void executeModified(ScalarEvent e)
protected abstract FrozenContext<?> getEmbeddedFrozenContext(int embeddedScalarPropertyId)
Copyright © 2016. All rights reserved.