public class AssociatedReference<T> extends MAReferenceImpl<T> implements AssociatedEndpoint
valueListenercomparator, validator, value| Constructor and Description |
|---|
AssociatedReference(ObjectModel objectModel,
int propertyId) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
T |
get(boolean absolute) |
ModelProperty |
getAssociationProperty() |
AssociatedEndpoint |
getOppositeEndpoint(Object opposite) |
Object |
getOwner() |
protected boolean |
isAbandonableValue(T value) |
boolean |
isDisabled() |
boolean |
isLoadable() |
boolean |
isLoaded() |
protected boolean |
isLoadedValue(T value) |
boolean |
isSuspended() |
void |
load() |
protected void |
loadValue(T value) |
protected void |
onModifying(ValueEvent<T> e) |
T |
set(T value) |
addValueListener, executeModified, executeModifying, onModified, raiseModified, raiseModifying, removeValueListener, setRawaddValidator, comparator, contains, contains, equals, get, hashCode, removeValidator, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddValidator, comparator, contains, contains, equals, get, hashCode, removeValidator, validatepublic AssociatedReference(ObjectModel objectModel, int propertyId)
public final Object getOwner()
getOwner in interface AssociatedEndpointpublic ModelProperty getAssociationProperty()
getAssociationProperty in interface AssociatedEndpointpublic final boolean isSuspended()
isSuspended in interface AssociatedEndpointpublic AssociatedEndpoint getOppositeEndpoint(Object opposite)
getOppositeEndpoint in interface AssociatedEndpointpublic boolean isLoaded()
isLoaded in interface org.babyfish.data.LazinessManageablepublic boolean isLoadable()
isLoadable in interface org.babyfish.data.LazinessManageablepublic void load()
load in interface org.babyfish.data.LazinessManageablepublic T get(boolean absolute)
public final boolean isDisabled()
isDisabled in interface org.babyfish.data.DisablityManageablepublic final void disable()
disable in interface org.babyfish.data.DisablityManageablepublic final void enable()
enable in interface org.babyfish.data.DisablityManageableprotected boolean isLoadedValue(T value)
protected boolean isAbandonableValue(T value)
protected void loadValue(T value)
protected void onModifying(ValueEvent<T> e) throws Throwable
onModifying in class MAReferenceImpl<T>ThrowableCopyright © 2016. All rights reserved.