public abstract class ExternalRecordHolderBase extends RecordHolderBase<ExternalValue> implements RecordHolder
RecordHolder
which wants to be
plugged to the holder system, must extend this class.NO_PROPERTY_MSG
Modifier | Constructor and Description |
---|---|
protected |
ExternalRecordHolderBase(ExternalValue val,
ModelProvider modelProvider)
Creates new instance of
ExternalRecordHolderBase . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected ExternalRecordEntityAdapter |
getAdapter()
Returns adapter.
|
protected RecordEntityAdapter |
getAdapterInternal()
Returns adapter.
|
String |
getIdentificationString()
Returns identification string (string form of primary key)
|
Object |
getJavaIdentification()
Returns identification in plain java form.
|
Long |
getVersion()
Returns version in string format.
|
int |
hashCode() |
void |
remove(boolean isCascaded)
Removes record.
|
protected void |
setAdapter(RecordEntityAdapter adapter)
Sets adapter.
|
asMap, clearRuntimeValues, createChangeProxy, createPropertyProxy, executeMethod, getBaseLevelHolder, getCompiled, getEvaluationLevel, getJavaObject, getNamespace, getOriginalRecord, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, isUpdateNecessary, mergeChanges, setCompiled, setThisSideOfAssociation
getBaseLevelEntityId, getConverter, getEvaluationConverter, getHandle, getId, getModelInstance, getModelProvider, getNotCompiledValueHolder, getProcessModel, getVal, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asMap, createChangeProxy, createPropertyProxy, executeMethod, getBaseLevelEntityId, getBaseLevelHolder, getCompiled, getEvaluationLevel, getJavaObject, getNamespace, getOriginalRecord, getProperty, getProxiedRecord, getProxyLevel, getProxySet, getRecordOnProxyLevel, getType, hasOptimisticLockRelevantChanges, isProxy, isRemoved, mergeChanges, setCompiled, setProperty
getId, getNotCompiledValueHolder
isUpdateNecessary, setThisSideOfAssociation
protected ExternalRecordHolderBase(ExternalValue val, ModelProvider modelProvider)
ExternalRecordHolderBase
.val
- modelProvider
- NullPointerException
- if val
or modelProvider
is nullprotected void setAdapter(RecordEntityAdapter adapter)
adapter
- protected ExternalRecordEntityAdapter getAdapter()
RecordHolderBase
getAdapter
in class RecordHolderBase<ExternalValue>
protected RecordEntityAdapter getAdapterInternal()
public String getIdentificationString()
RecordHolder
getIdentificationString
in interface RecordHolder
public Long getVersion()
RecordHolder
getVersion
in interface RecordHolder
public Object getJavaIdentification()
RecordHolder
getJavaIdentification
in interface RecordHolder
public int hashCode()
hashCode
in class HolderImpl<ExternalValue>
public boolean equals(Object obj)
equals
in class HolderImpl<ExternalValue>
public void remove(boolean isCascaded)
RecordHolder
remove
in interface RecordHolder
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.