@MappedSuperclass public abstract class BaseGenericIdEntity<T> extends com.haulmont.chile.core.model.impl.AbstractInstance implements Entity<T>
StandardEntity.| Modifier and Type | Field and Description |
|---|---|
protected SecurityState |
__securityState |
protected byte |
__state |
protected java.util.Map<java.lang.String,CategoryAttributeValue> |
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 |
|---|
BaseGenericIdEntity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copySystemState(BaseGenericIdEntity src)
Copies the state which is not related to attributes registered in metadata.
|
boolean |
equals(java.lang.Object other) |
java.util.Map<java.lang.String,CategoryAttributeValue> |
getDynamicAttributes() |
com.haulmont.chile.core.model.MetaClass |
getMetaClass() |
<V> V |
getValue(java.lang.String property) |
int |
hashCode() |
void |
setDynamicAttributes(java.util.Map<java.lang.String,CategoryAttributeValue> dynamicAttributes) |
abstract void |
setId(T id) |
void |
setValue(java.lang.String property,
java.lang.Object newValue,
boolean checkEquals) |
java.lang.String |
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, setValueExprotected byte __state
protected SecurityState __securityState
protected java.util.Map<java.lang.String,CategoryAttributeValue> dynamicAttributes
public abstract void setId(T id)
protected void copySystemState(BaseGenericIdEntity src)
public com.haulmont.chile.core.model.MetaClass getMetaClass()
getMetaClass in interface com.haulmont.chile.core.model.Instancepublic void setValue(java.lang.String property,
java.lang.Object newValue,
boolean checkEquals)
setValue in class com.haulmont.chile.core.model.impl.AbstractInstancepublic <V> V getValue(java.lang.String property)
getValue in interface com.haulmont.chile.core.model.InstancegetValue in class com.haulmont.chile.core.model.impl.AbstractInstancepublic void setDynamicAttributes(java.util.Map<java.lang.String,CategoryAttributeValue> dynamicAttributes)
@Nullable public java.util.Map<java.lang.String,CategoryAttributeValue> getDynamicAttributes()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object