| java.lang.Object | |||
| ↳ | java.util.AbstractMap<K, V> | ||
| ↳ | java.util.HashMap<K, V> | ||
| ↳ | com.atlassian.jira.ofbiz.FieldMap | ||
@PublicApi
Clients of @PublicApi can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi as per each product's API policy as long as the client does not implement/extend
@PublicApi interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi are safe to extend/implement).
Convenience class to use for field maps in OfBizDelegator
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds the given key-value pair to the Map, and returns
this in order to allow fluent syntax. | |||||||||||
Adds all of the key-value pairs from the supplied map to this Map and returns
this in order to allow fluent syntax. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.HashMap
| |||||||||||||||||||||||||||||||||||||||||||
From class
java.util.AbstractMap
| |||||||||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||||||||||||
From interface
java.util.Map
| |||||||||||||||||||||||||||||||||||||||||||
Adds the given key-value pair to the Map, and returns this in order to allow fluent syntax.
This method allows you to write code like the following:
FieldMap fieldMap = new FieldMap("id", 12L).add("name", "Fred");
| key | key with which the specified value is to be associated. |
|---|---|
| value | value to be associated with the specified key. |
Adds all of the key-value pairs from the supplied map to this Map and returns
this in order to allow fluent syntax.
This method allows you to write code like the following:
FieldMap defaults = new FieldMap("name", "Fred").add("description", "Fred's stuff");
FieldMap fieldMap = new FieldMap("id", 12L).addAll(defaults);
| map | the map of values to add |
|---|
