Package org.ivoa.dm.executionbroker
Class NameValueMap
java.lang.Object
org.ivoa.dm.executionbroker.NameValueMap
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="execbroker:NameValueMap",
role=dataType)
public class NameValueMap
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
A map of name->value properties. See https://swagger.io/docs/specification/data-models/dictionaries/.
dataType: NameValueMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for NameValueMap, mainly for use in the functional builder pattern. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new NameValueMapNameValueMap(NameValueMap other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic NameValueMapcreate a NameValueMap in functional builder style.voidvoidupdateUsing(NameValueMap other) Update this object with the content of the given object.
-
Constructor Details
-
NameValueMap
public NameValueMap()Creates a new NameValueMap -
NameValueMap
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
-
Method Details
-
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
createNameValueMap
create a NameValueMap in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
-