public class DynamicAttributesEntity extends java.lang.Object implements Entity
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,CategoryAttribute> |
attributesMap |
protected java.util.UUID |
id |
protected BaseGenericIdEntity |
mainItem |
Constructor and Description |
---|
DynamicAttributesEntity(BaseGenericIdEntity mainItem,
java.util.Collection<CategoryAttribute> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(com.haulmont.chile.core.model.Instance.PropertyChangeListener listener) |
java.util.UUID |
getId() |
java.lang.String |
getInstanceName() |
com.haulmont.chile.core.model.MetaClass |
getMetaClass() |
<T> T |
getValue(java.lang.String name) |
<T> T |
getValueEx(com.haulmont.chile.core.model.Instance.BeanPropertyPath propertyPath) |
<T> T |
getValueEx(java.lang.String propertyPath) |
void |
removeAllListeners() |
void |
removePropertyChangeListener(com.haulmont.chile.core.model.Instance.PropertyChangeListener listener) |
void |
setValue(java.lang.String name,
java.lang.Object value) |
void |
setValueEx(com.haulmont.chile.core.model.Instance.BeanPropertyPath propertyPath,
java.lang.Object value) |
void |
setValueEx(java.lang.String propertyPath,
java.lang.Object value) |
protected BaseGenericIdEntity mainItem
protected java.util.UUID id
protected java.util.Map<java.lang.String,CategoryAttribute> attributesMap
public DynamicAttributesEntity(BaseGenericIdEntity mainItem, java.util.Collection<CategoryAttribute> attributes)
public com.haulmont.chile.core.model.MetaClass getMetaClass()
getMetaClass
in interface com.haulmont.chile.core.model.Instance
public java.lang.String getInstanceName()
getInstanceName
in interface com.haulmont.chile.core.model.Instance
public void addPropertyChangeListener(com.haulmont.chile.core.model.Instance.PropertyChangeListener listener)
addPropertyChangeListener
in interface com.haulmont.chile.core.model.Instance
public void removePropertyChangeListener(com.haulmont.chile.core.model.Instance.PropertyChangeListener listener)
removePropertyChangeListener
in interface com.haulmont.chile.core.model.Instance
public void removeAllListeners()
removeAllListeners
in interface com.haulmont.chile.core.model.Instance
public <T> T getValue(java.lang.String name)
getValue
in interface com.haulmont.chile.core.model.Instance
public void setValue(java.lang.String name, java.lang.Object value)
setValue
in interface com.haulmont.chile.core.model.Instance
public <T> T getValueEx(java.lang.String propertyPath)
getValueEx
in interface com.haulmont.chile.core.model.Instance
public void setValueEx(java.lang.String propertyPath, java.lang.Object value)
setValueEx
in interface com.haulmont.chile.core.model.Instance
@Nullable public <T> T getValueEx(com.haulmont.chile.core.model.Instance.BeanPropertyPath propertyPath)
getValueEx
in interface com.haulmont.chile.core.model.Instance
public void setValueEx(com.haulmont.chile.core.model.Instance.BeanPropertyPath propertyPath, java.lang.Object value)
setValueEx
in interface com.haulmont.chile.core.model.Instance