Class DataModelProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.nuxeo.ecm.automation.core.util.Properties
org.nuxeo.ecm.automation.core.util.DataModelProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
Initialize a
Properties
object from one or more DataModel
s.
This object can then be passed to any operation accepting Properties
.
- Since:
- 5.7
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.core.util.Properties
IS_PROPERTY_VALUE_TRIMMED_KEY, multiLineEscape, PROPERTIES_MULTILINE_ESCAPE
-
Constructor Summary
ConstructorDescriptionDataModelProperties
(List<DataModel> dms) DataModelProperties
(List<DataModel> dms, boolean onlyDirtyProperties) DataModelProperties
(DataModel dm, boolean onlyDirtyProperties) -
Method Summary
Methods inherited from class org.nuxeo.ecm.automation.core.util.Properties
isPropertyValueTrimmed, loadProperties, loadProperties
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
onlyDirtyProperties
protected boolean onlyDirtyProperties -
properties
-
-
Constructor Details
-
DataModelProperties
public DataModelProperties() -
DataModelProperties
- Throws:
PropertyException
-
DataModelProperties
public DataModelProperties(List<DataModel> dms, boolean onlyDirtyProperties) throws PropertyException - Throws:
PropertyException
-
DataModelProperties
- Throws:
PropertyException
-
DataModelProperties
- Throws:
PropertyException
-
-
Method Details
-
addDataModel
- Throws:
PropertyException
-
getMap
-
toString
- Overrides:
toString
in classAbstractMap<String,
String>
-
hashCode
public int hashCode() -
equals
-