public class AssociatedKeyedReference<K,T> extends MAKeyedReferenceImpl<K,T> implements AssociatedEndpoint
key, keyedValueListenervalueListenercomparator, validator, value| Constructor and Description |
|---|
AssociatedKeyedReference(ObjectModel objectModel,
int propertyId) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
ModelProperty |
getAssociationProperty() |
K |
getKey() |
K |
getKey(boolean absolute) |
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(KeyedValueEvent<K,T> e) |
T |
set(K key,
T value) |
T |
set(T value) |
K |
setKey(K key) |
addKeyedValueListener, containsKey, containsKey, executeModified, executeModified, executeModifying, executeModifying, get, keyComparator, onModified, onModified, onModifying, raiseModified, raiseModified, raiseModifying, raiseModifying, removeKeyedValueListeneraddValueListener, removeValueListener, setRawaddValidator, comparator, contains, contains, equals, get, hashCode, removeValidator, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitequals, hashCodeaddValidator, comparator, contains, contains, get, removeValidator, validateaddValueListener, removeValueListenerpublic AssociatedKeyedReference(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 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.DisablityManageablepublic K getKey()
getKey in interface KeyedReference<K,T>getKey in class MAKeyedReferenceImpl<K,T>public K getKey(boolean absolute)
getKey in interface KeyedReference<K,T>getKey in class MAKeyedReferenceImpl<K,T>public K setKey(K key)
setKey in interface KeyedReference<K,T>setKey in class MAKeyedReferenceImpl<K,T>public T set(K key, T value)
set in interface KeyedReference<K,T>set in class MAKeyedReferenceImpl<K,T>protected boolean isLoadedValue(T value)
protected boolean isAbandonableValue(T value)
protected void loadValue(T value)
protected void onModifying(KeyedValueEvent<K,T> e) throws Throwable
onModifying in class MAKeyedReferenceImpl<K,T>ThrowableCopyright © 2016. All rights reserved.