Class Extension
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
Represents an extension to a domain object. An extension is a set of name-value pairs.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forExtension
objects.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Extension.ExtensionBuilder
builder()
Returns a builder for extension builder.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
Extension
public Extension()Default constructor. -
Extension
Copy constructor.- Parameters:
m
- the map to initialize the object with
-
-
Method Details
-
builder
Returns a builder for extension builder.- Returns:
- a builder
-