@MappedSuperclass public abstract class BaseDbGeneratedIdEntity<K extends java.lang.Number> extends BaseGenericIdEntity<IdProxy<K>>
Modifier and Type | Field and Description |
---|---|
protected IdProxy<K> |
idProxy |
__securityState, __state, dynamicAttributes
__propertyChangeListeners, _persistence_cacheKey, _persistence_fetchGroup, _persistence_href, _persistence_links, _persistence_listener, _persistence_primaryKey, _persistence_relationshipInfo, _persistence_session, _persistence_shouldRefreshFetchGroup, PROPERTY_CHANGE_LISTENERS_INITIAL_CAPACITY
Constructor and Description |
---|
BaseDbGeneratedIdEntity() |
Modifier and Type | Method and Description |
---|---|
protected void |
copySystemState(BaseGenericIdEntity src)
Copies the state which is not related to attributes registered in metadata.
|
protected abstract K |
getDbGeneratedId() |
IdProxy<K> |
getId() |
protected abstract void |
setDbGeneratedId(K dbId) |
void |
setId(IdProxy<K> idProxy) |
equals, getDynamicAttributes, getMetaClass, getValue, hashCode, setDynamicAttributes, setValue, toString
_persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getHref, _persistence_getId, _persistence_getLinks, _persistence_getPropertyChangeListener, _persistence_getRelationships, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setHref, _persistence_setId, _persistence_setLinks, _persistence_setPropertyChangeListener, _persistence_setRelationships, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, addPropertyChangeListener, getInstanceName, getMethodsCache, getValueEx, getValueEx, propertyChanged, removeAllListeners, removePropertyChangeListener, setValue, setValueEx, setValueEx
public void setId(IdProxy<K> idProxy)
setId
in class BaseGenericIdEntity<IdProxy<K extends java.lang.Number>>
protected abstract void setDbGeneratedId(K dbId)
protected abstract K getDbGeneratedId()
protected void copySystemState(BaseGenericIdEntity src)
BaseGenericIdEntity
copySystemState
in class BaseGenericIdEntity<IdProxy<K extends java.lang.Number>>