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, originalDbValuesAvailableaddToXmlDocument, 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, writeXmlTextaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void store()
throws org.ofbiz.core.entity.GenericEntityException
store in class org.ofbiz.core.entity.GenericValueorg.ofbiz.core.entity.GenericEntityExceptionpublic void refresh()
throws org.ofbiz.core.entity.GenericEntityException
refresh in class org.ofbiz.core.entity.GenericValueorg.ofbiz.core.entity.GenericEntityExceptionpublic void remove()
throws org.ofbiz.core.entity.GenericEntityException
remove in class org.ofbiz.core.entity.GenericValueorg.ofbiz.core.entity.GenericEntityExceptionpublic void removeRelated(String relationName) throws org.ofbiz.core.entity.GenericEntityException
removeRelated in class org.ofbiz.core.entity.GenericValueorg.ofbiz.core.entity.GenericEntityExceptionpublic void clear()
public void putAll(Map map)
public Object set(String name, Object value, boolean setIfNull)
set in class org.ofbiz.core.entity.GenericEntitypublic void setString(String name, String value)
setString in class org.ofbiz.core.entity.GenericEntitypublic void setFields(Map keyValuePairs)
setFields in class org.ofbiz.core.entity.GenericEntitypublic void setPKFields(Map fields, boolean setIfEmpty)
setPKFields in class org.ofbiz.core.entity.GenericEntitypublic void setDelegator(org.ofbiz.core.entity.GenericDelegator internalDelegator)
setDelegator in class org.ofbiz.core.entity.GenericEntityCopyright © 2002-2019 Atlassian. All Rights Reserved.