public class EntityMap
extends java.lang.Object
implements java.util.Map<java.lang.String,java.lang.Object>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTANCE_NAME_KEY |
Constructor and Description |
---|
EntityMap(com.haulmont.cuba.core.entity.Entity entity) |
EntityMap(com.haulmont.cuba.core.entity.Entity entity,
com.haulmont.cuba.core.global.View loadedAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
com.haulmont.chile.core.model.Instance |
getInstance() |
com.haulmont.cuba.core.global.View |
getView() |
boolean |
isEmpty() |
java.util.Set<java.lang.String> |
keySet() |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.String,?> m) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<java.lang.Object> |
values() |
public static final java.lang.String INSTANCE_NAME_KEY
public EntityMap(com.haulmont.cuba.core.entity.Entity entity)
public EntityMap(com.haulmont.cuba.core.entity.Entity entity, com.haulmont.cuba.core.global.View loadedAttributes)
public int size()
size
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,java.lang.Object>
public void putAll(@Nonnull java.util.Map<? extends java.lang.String,?> m)
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
public void clear()
clear
in interface java.util.Map<java.lang.String,java.lang.Object>
@Nonnull public java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,java.lang.Object>
@Nonnull public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.String,java.lang.Object>
@Nonnull public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>
public com.haulmont.chile.core.model.Instance getInstance()
public com.haulmont.cuba.core.global.View getView()