@MappedSuperclass public abstract class BaseGenericIdEntity<T> extends AbstractInstance implements Entity<T>
StandardEntity.Instance.BeanPropertyPath, Instance.PropertyChangeEvent, Instance.PropertyChangeListener| Modifier and Type | Field and Description |
|---|---|
protected SecurityState |
__securityState |
protected byte |
__state |
protected java.util.Map<java.lang.String,CategoryAttributeValue> |
dynamicAttributes |
__propertyChangeListeners, 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() |
MetaClass |
getMetaClass() |
<V> V |
getValue(java.lang.String property)
Get an attribute value.
|
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)
Set value to property in instance
For internal use only.
|
java.lang.String |
toString() |
addPropertyChangeListener, getInstanceName, getMethodsCache, getValueEx, getValueEx, propertyChanged, removeAllListeners, removePropertyChangeListener, setValue, setValueEx, setValueExclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, getInstanceName, getValueEx, getValueEx, 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 MetaClass getMetaClass()
getMetaClass in interface Instancepublic void setValue(java.lang.String property,
java.lang.Object newValue,
boolean checkEquals)
AbstractInstanceAbstractInstance.setValue(String, Object)setValue in class AbstractInstanceproperty - property namenewValue - valuecheckEquals - check equals for previous and new value.
If flag is true and objects equals, then setter will not be invokedpublic <V> V getValue(java.lang.String property)
InstancegetValue in interface InstancegetValue in class AbstractInstanceproperty - attribute name according to JavaBeans notationpublic 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