|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable org.ofbiz.core.entity.GenericEntity org.ofbiz.core.entity.GenericValue com.atlassian.jira.util.ofbiz.ImmutableGenericValue
public final class ImmutableGenericValue
Class that providess guarantees about the usgae of this GenericValue, in particular it should never be used for mutative operations, only for reading state.
All mutative operations will throw UnsupportedOperationException
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class org.ofbiz.core.entity.GenericValue |
---|
originalDbValues, relatedCache, relatedOneCache |
Fields inherited from class org.ofbiz.core.entity.GenericEntity |
---|
delegatorName, entityName, fields, internalDelegator, modelEntity, modified |
Constructor Summary | |
---|---|
ImmutableGenericValue(org.ofbiz.core.entity.GenericDelegator delegator,
String entityName,
Map fields)
|
Method Summary | |
---|---|
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 |
store()
|
Methods inherited from class org.ofbiz.core.entity.GenericValue |
---|
clone, copyOriginalDbValues, create, getOriginalDbValue, getRelated, getRelated, getRelatedByAnd, getRelatedByAndCache, getRelatedByAndEmbeddedCache, getRelatedCache, getRelatedCache, getRelatedDummyPK, getRelatedDummyPK, getRelatedEmbeddedCache, getRelatedEmbeddedCache, getRelatedMulti, getRelatedMulti, getRelatedOne, getRelatedOneCache, getRelatedOneEmbeddedCache, getRelatedOrderBy, getRelatedOrderByCache, getRelatedOrderByEmbeddedCache, originalDbValuesAvailable |
Methods inherited from class org.ofbiz.core.entity.GenericEntity |
---|
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, setString, size, toString, values, writeXmlText |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImmutableGenericValue(org.ofbiz.core.entity.GenericDelegator delegator, String entityName, Map fields)
Method Detail |
---|
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 Object remove(Object key)
remove
in interface Map<String,Object>
remove
in class org.ofbiz.core.entity.GenericEntity
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()
clear
in interface Map<String,Object>
clear
in class org.ofbiz.core.entity.GenericEntity
public Object put(String key, Object value)
put
in interface Map<String,Object>
put
in class org.ofbiz.core.entity.GenericEntity
public void putAll(Map map)
putAll
in interface Map<String,Object>
putAll
in class org.ofbiz.core.entity.GenericEntity
public Object set(String name, Object value, boolean setIfNull)
set
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |