public final class ImmutableGenericValue
extends org.ofbiz.core.entity.GenericValue
All mutative operations will throw UnsupportedOperationException
Constructor and Description |
---|
ImmutableGenericValue(org.ofbiz.core.entity.GenericDelegator delegator,
String entityName,
Map fields) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Object |
put(String key,
Object value) |
void |
putAll(Map map) |
void |
refresh() |
void |
remove() |
Object |
remove(Object key) |
void |
removeRelated(String relationName) |
Object |
set(String name,
Object value,
boolean setIfNull) |
void |
setDelegator(org.ofbiz.core.entity.GenericDelegator internalDelegator) |
void |
setFields(Map keyValuePairs) |
void |
setPKFields(Map fields,
boolean setIfEmpty) |
void |
setString(String name,
String value) |
void |
store() |
clone, copyOriginalDbValues, create, getOriginalDbValue, getRelated, getRelated, getRelatedByAnd, getRelatedByAndCache, getRelatedByAndEmbeddedCache, getRelatedCache, getRelatedCache, getRelatedDummyPK, getRelatedDummyPK, getRelatedEmbeddedCache, getRelatedEmbeddedCache, getRelatedMulti, getRelatedMulti, getRelatedOne, getRelatedOneCache, getRelatedOneEmbeddedCache, getRelatedOrderBy, getRelatedOrderByCache, getRelatedOrderByEmbeddedCache, originalDbValuesAvailable
addToXmlDocument, compareTo, containsKey, containsPrimaryKey, containsValue, dangerousGetNoCheckButFast, dangerousSetNoCheckButFast, entrySet, equals, get, get, getAllFields, getAllKeys, getBoolean, getBytes, getDate, getDelegator, getDouble, getEntityName, getFields, getFloat, getInteger, getLong, getModelEntity, getPrimaryKey, getString, getTime, getTimestamp, hashCode, isEmpty, isModified, isPrimaryKey, keySet, lockEnabled, makeXmlDocument, makeXmlElement, makeXmlElement, matchesFields, set, setBytes, setNonPKFields, setNonPKFields, setPKFields, size, toString, values, writeXmlText
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public void store() throws org.ofbiz.core.entity.GenericEntityException
store
in class org.ofbiz.core.entity.GenericValue
org.ofbiz.core.entity.GenericEntityException
public void refresh() throws org.ofbiz.core.entity.GenericEntityException
refresh
in class org.ofbiz.core.entity.GenericValue
org.ofbiz.core.entity.GenericEntityException
public void remove() throws org.ofbiz.core.entity.GenericEntityException
remove
in class org.ofbiz.core.entity.GenericValue
org.ofbiz.core.entity.GenericEntityException
public void removeRelated(String relationName) throws org.ofbiz.core.entity.GenericEntityException
removeRelated
in class org.ofbiz.core.entity.GenericValue
org.ofbiz.core.entity.GenericEntityException
public void clear()
public void putAll(Map map)
public Object set(String name, Object value, boolean setIfNull)
set
in class org.ofbiz.core.entity.GenericEntity
public void setString(String name, String value)
setString
in class org.ofbiz.core.entity.GenericEntity
public void setFields(Map keyValuePairs)
setFields
in class org.ofbiz.core.entity.GenericEntity
public void setPKFields(Map fields, boolean setIfEmpty)
setPKFields
in class org.ofbiz.core.entity.GenericEntity
public void setDelegator(org.ofbiz.core.entity.GenericDelegator internalDelegator)
setDelegator
in class org.ofbiz.core.entity.GenericEntity
Copyright © 2002-2021 Atlassian. All Rights Reserved.